public class Benchmark extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Benchmark.Statistician
Collects statistics for a test that is run multiple times.
|
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER
Certain tests are enabled only if logging is enabled at debug level or
higher.
|
| Constructor and Description |
|---|
Benchmark(String description,
org.apache.calcite.linq4j.function.Function1<Benchmark.Statistician,Void> function,
int repeat) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
enabled()
Returns whether performance tests are enabled.
|
void |
run() |
public static final org.slf4j.Logger LOGGER
public Benchmark(String description, org.apache.calcite.linq4j.function.Function1<Benchmark.Statistician,Void> function, int repeat)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.