Skip to content

Commit fa3098c

Browse files
committed
Add some benchmark
1 parent 8d15f4b commit fa3098c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
2+
out.md
23
**/*.rs.bk

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ yay lsd-git
3131
*Note for `rbenv` users - In case of load error when using `lc`, please try the below patch.*
3232
3. Install the lsd package with `cargo install lsd`
3333

34+
## Benchmark
35+
36+
Result from `hyperfine --warmup 10 'lsd -la /etc/*' 'colorls -la /etc/*' --export-markdown out.md`:
37+
38+
| Command | Mean [ms] | Min…Max [ms] |
39+
|:---|---:|---:|
40+
| `lsd -la /etc/*` | 11.0 ± 0.5 | 9.9…13.0 |
41+
| `colorls -la /etc/*` | 503.3 ± 5.6 | 494.6…513.4 |
42+
3443
## TODO
3544

3645
- [x] Handle the `-l` option (used by default for now)

0 commit comments

Comments
 (0)