summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/tests/integration/bench_tests.rs2
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/bench_tests.rs b/cli/tests/integration/bench_tests.rs
index 214dfaa50..6e61cd7f2 100644
--- a/cli/tests/integration/bench_tests.rs
+++ b/cli/tests/integration/bench_tests.rs
@@ -187,7 +187,7 @@ itest!(bench_explicit_start_end {
exit_code: 1,
});
-itest!(bench_explicit_start_end_low_precision {
+itest_flaky!(bench_explicit_start_end_low_precision {
args: "bench --quiet -A bench/explicit_start_and_end_low_precision.ts",
output: "bench/explicit_start_and_end_low_precision.out",
});
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