summaryrefslogtreecommitdiff
path: root/tests/specs/bench/explicit_start_and_end_low_precision
diff options
context:
space:
mode:
authorArmaan Salam <38160090+ArmaanAS@users.noreply.github.com>2024-08-26 10:56:04 +0100
committerGitHub <noreply@github.com>2024-08-26 11:56:04 +0200
commit675539c7ab503e5a5bdef1d17678afb7b8dc352b (patch)
tree18a404e363c614aafbcd582dea74fed96ff568ef /tests/specs/bench/explicit_start_and_end_low_precision
parent1dad29aa044967db5f16568dc2591ba2976699b0 (diff)
fix(bench): Fix table column alignments and NO_COLOR=1 (#25190)
Fix table layout for `deno bench` command with and without color (`NO_COLOR=1`). Fixes issue in #25156
Diffstat (limited to 'tests/specs/bench/explicit_start_and_end_low_precision')
-rw-r--r--tests/specs/bench/explicit_start_and_end_low_precision/main.bench.out11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/specs/bench/explicit_start_and_end_low_precision/main.bench.out b/tests/specs/bench/explicit_start_and_end_low_precision/main.bench.out
index 516c001b1..5fbc58340 100644
--- a/tests/specs/bench/explicit_start_and_end_low_precision/main.bench.out
+++ b/tests/specs/bench/explicit_start_and_end_low_precision/main.bench.out
@@ -1,10 +1,11 @@
-cpu: [WILDCARD]
-runtime: deno [WILDCARD] ([WILDCARD])
+ CPU | [WILDCARD]
+Runtime | Deno [WILDCARD] ([WILDCARD])
[WILDCARD]/main.bench.ts
-benchmark time (avg) iter/s (min … max) p75 p99 p995
------------------------------------------------------------------------------ -----------------------------
-noop with start and end [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
+
+benchmark time/iter (avg) iter/s (min … max) p75 p99 p995
+------------------------- ----------------------------- --------------------- --------------------------
+noop with start and end [WILDCARD] [WILDCARD] [WILDCARD] ([WILDCARD] … [WILDCARD]) [WILDCARD]
Warning: start() and end() calls in "noop with start and end" are ignored because it averages less
than 10µs per iteration. Remove them for better results.