hypperfine without --show-output hard to read on windows7 cmd console
l1t1 opened this issue · 1 comments
l1t1 commented
--with --show-output is fine
D:\duckdb>\hyperfine --runs 3 "duckdb092 -c \"select count() from range(100000000)\" " --show-output
Benchmark 1: duckdb092 -c "select count() from range(100000000)"
┌──────────────┐
│ count_star() │
│ int64 │
├──────────────┤
│ 100000000 │
└──────────────┘
┌──────────────┐
│ count_star() │
│ int64 │
├──────────────┤
│ 100000000 │
└──────────────┘
┌──────────────┐
│ count_star() │
│ int64 │
├──────────────┤
│ 100000000 │
└──────────────┘
Time (mean ± σ): 316.5 ms ± 256.3 ms [User: 105.1 ms, System: 42.8 ms]
Range (min … max): 156.1 ms … 612.1 ms 3 runs
Warning: The first benchmarking run for this command was significantly slower than the rest (612.1 ms). This could be caused by (filesystem) caches that were
not filled until after the first run. You should consider using the '--warmup' option to fill those caches before the actual benchmark. Alternatively, use the '
--prepare' option to clear the caches before each timing run.
--without --show-output
D:\duckdb>\hyperfine --runs 3 "duckdb092 -c \"select count() from range(100000000)\" "
+ Measuring shell spawning time ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA 00:00:00
- Measuring shell spawning time ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA 00:00:00
x Measuring shell spawning time █████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA
| Measuring shell spawning time ████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
+ Measuring shell spawning time █████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
- Measuring shell spawning time ████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
x Measuring shell spawning time ███████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░
| Measuring shell spawning time ███████████████████████████████████████████████████████████████
+ Measuring shell spawning time ███████████████████████████████████████████████████████████████
- Measuring shell spawning time ███████████████████████████████████████████████████████████████
x Measuring shell spawning time ███████████████████████████████████████████████████████████████
| Measuring shell spawning time ███████████████████████████████████████████████████████████████
�[1mBenchmark �[0m�[1m1�[0m: duckdb092 -c "select count() from range(100000000)"
+ Initial time measurement ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA 00:00:00
- Initial time measurement ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA 00:00:00
- Initial time measurement ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ETA 00:00:00
x Initial time measurement █████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
x Current estimate: �[32m159.6 ms�[0m █████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
x Current estimate: �[32m152.0 ms�[0m ██████████████████████████████████████████████████████████
| Current estimate: �[32m152.0 ms�[0m ██████████████████████████████████████████████████████████
Time (�[1;32mmean�[0m ± �[32mσ�[0m): �[1;32m152.2 ms�[0m ± �[32m 7.5 ms�[0m [User: �[34m135.7 ms�[0m, System: �[34m31.0 ms�[0m]
Range (�[36mmin�[0m … �[35mmax�[0m): �[36m144.5 ms�[0m … �[35m159.6 ms�[0m �[2m3 runs�[0m
sharkdp commented
Please check out the --style
option
--style <TYPE>
Set output style type (default: auto). Set this to 'basic' to disable
output coloring and interactive elements. Set it to 'full' to enable
all effects even if no interactive terminal was detected. Set this to
'nocolor' to keep the interactive output without any colors. Set this
to 'color' to keep the colors without any interactive output. Set this
to 'none' to disable all the output of the tool.