diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-08-27 21:22:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-27 22:22:23 +0200 |
commit | f826574873282b65aff936e0526b5510b80c53dc (patch) | |
tree | 2961dc341bf4c27e00b440a039b654c3e826656e /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | 916ddcef6d55edbf2478cae507e49e55ef3a62ad (diff) |
test(bench): mark explicit timer test as flaky (#20304)
https://github.com/denoland/deno/actions/runs/5990043261/job/16246927846?pr=18642
The test is just `b.start(); b.end()` where the time measured between
must be less 10 μs during warmup. Can't improve it.
Also fixes doc mistake.
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 610ed1061..de14c2f51 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -1012,7 +1012,7 @@ declare namespace Deno { * after doing setup work which should not be measured. * * Warning: This method should not be used for benchmarks averaging less - * than 0.01s per iteration. In such cases it will be disabled but the call + * than 10μs per iteration. In such cases it will be disabled but the call * will still have noticeable overhead, resulting in a warning. * * ```ts @@ -1029,7 +1029,7 @@ declare namespace Deno { * before doing teardown work which should not be measured. * * Warning: This method should not be used for benchmarks averaging less - * than 0.01s per iteration. In such cases it will be disabled but the call + * than 10μs per iteration. In such cases it will be disabled but the call * will still have noticeable overhead, resulting in a warning. * * ```ts |