Deno.BenchDefinition
interface BenchDefinition {
baseline?: boolean;
fn: () => void | Promise<void>;
group?: string;
ignore?: boolean;
name: string;
only?: boolean;
permissions?: Deno.PermissionOptions;
sanitizeExit?: boolean;
}§Properties
§
baseline?: boolean
[src]Benchmark should be used as the baseline for other benchmarks If there are multiple baselines in a group, the first one is used as the baseline
§
only?: boolean
[src]If at least one bench has only
set to true, only run benches that have
only
set to true and fail the bench suite.
§
permissions?: Deno.PermissionOptions
[src]Specifies the permissions that should be used to run the bench. Set this to "inherit" to keep the calling thread's permissions. Set this to "none" to revoke all permissions.
Defaults to "inherit".