Skip to content

Commit c28cb68

Browse files
committed
Replace benchmarks with hyperfine benchmarks.
1 parent 366cdff commit c28cb68

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

+16-8
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,34 @@ Font Options:
5050

5151
ls
5252
```
53-
❯ time (repeat 100 { ls })
54-
0.09s user 0.13s system 90% cpu 0.240 total
53+
❯ hyperfine "ls" --warmup 5
54+
Benchmark #1: ls
55+
Time (mean ± σ): 1.6 ms ± 0.5 ms [User: 0.6 ms, System: 0.8 ms]
56+
Range (min … max): 1.0 ms … 3.3 ms 572 runs
5557
```
5658

5759
[nerd-ls](https://github.com/drn/nerd-ls)
5860
```
59-
❯ time (repeat 100 { nerd-ls })
60-
0.23s user 0.23s system 77% cpu 0.599 total
61+
❯ hyperfine "nerd-ls" --warmup 5
62+
Benchmark #1: nerd-ls
63+
Time (mean ± σ): 6.0 ms ± 0.7 ms [User: 2.4 ms, System: 2.3 ms]
64+
Range (min … max): 5.0 ms … 8.0 ms 365 runs
6165
```
6266

6367
[exa](https://github.com/ogham/exa)
6468
```
65-
❯ time (repeat 100 { exa })
66-
0.57s user 0.38s system 91% cpu 1.035 total
69+
❯ hyperfine "exa" --warmup 5
70+
Benchmark #1: exa
71+
Time (mean ± σ): 8.5 ms ± 0.7 ms [User: 4.8 ms, System: 3.0 ms]
72+
Range (min … max): 7.6 ms … 11.2 ms 252 runs
6773
```
6874

6975
[colorls](https://github.com/athityakumar/colorls)
7076
```
71-
❯ time (repeat 100 { colorls })
72-
23.72s user 10.21s system 95% cpu 35.390 total
77+
❯ hyperfine "colorls" --warmup 5
78+
Benchmark #1: colorls
79+
Time (mean ± σ): 387.6 ms ± 3.4 ms [User: 274.7 ms, System: 103.3 ms]
80+
Range (min … max): 381.6 ms … 391.0 ms 10 runs
7381
```
7482

7583
</p>

0 commit comments

Comments
 (0)