BenchDefinition$Typings extension
Properties
- baseline ↔ bool?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
Benchmark should be used as the baseline for other benchmarks.getter/setter pair -
fn
↔ FutureOr<
void> Function(BenchContext) -
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
The test function which will be benchmarked.getter/setter pair - group ↔ String?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
Group name for the benchmark.getter/setter pair - ignore ↔ bool?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
If truthy, the benchmark test will be ignored/skipped.getter/setter pair - name ↔ String
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
The name of the test, which will be used in displaying the results.getter/setter pair - only ↔ bool?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
If at least one bench hasonly
set to true, only run benches that haveonly
set totrue
and fail the bench suite.getter/setter pair - permissions ↔ Object?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
Specifies the permissions that should be used to run the bench.getter/setter pair - sanitizeExit ↔ bool?
-
Available on BenchDefinition, provided by the BenchDefinition$Typings extension
Ensure the bench case does not prematurely cause the process to exit, for example via a call to {@linkcode Deno.exit}.getter/setter pair