BenchDefinition$Typings extension

on

Properties

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