summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts14
1 files changed, 6 insertions, 8 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 564a7a073..0ad070469 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -8,14 +8,12 @@ declare namespace Deno {
fn: () => void | Promise<void>;
name: string;
ignore?: boolean;
- /** Specify number of iterations benchmark should perform. Defaults to 1000. */
- n?: number;
- /** Specify number of warmup iterations benchmark should perform. Defaults
- * to 1000.
- *
- * These iterations are not measured. It allows the code to be optimized
- * by JIT compiler before measuring its performance. */
- warmup?: number;
+ /** Group name for the benchmark.
+ * Grouped benchmarks produce a time summary */
+ group?: string;
+ /** 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 */
+ baseline?: boolean;
/** If at least one bench has `only` set to true, only run benches that have
* `only` set to true and fail the bench suite. */
only?: boolean;