Skip to content

Commit

Permalink
Reformatting benchmarks table
Browse files Browse the repository at this point in the history
This commit re-formats the benchmark table to be easier to read.
Instead of having a list of benchmarks and having to associate their values manually,
this uses a two axis split: on one side the benchmarks, the other the tools.

This way it's much easier to compare timing values, even across multiple benchmarks
  • Loading branch information
spacekookie authored Jun 9, 2019
1 parent 29b6b1e commit 99678be
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions benches/benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
Time to walk linux's source tree on iMac (Retina 5K, 27-inch, Late 2015):

| Crate | Options | Time |
|---------|--------------------------------|-----------|
| jwalk | unsorted, parallel | 54.026 ms |
| jwalk | sorted, parallel | 55.988 ms |
| jwalk | sorted, parallel, metadata | 97.502 ms |
| jwalk | unsorted, parallel (2 threads) | 98.869 ms |
| jwalk | unsorted, serial | 170.86 ms |
| jwalk | sorted, parallel, first 100 | 9.0272 ms |
| ignore | unsorted, parallel | 68.594 ms |
| ignore | sorted, parallel | 94.374 ms |
| ignore | sorted, parallel, metadata | 131.50 ms |
| walkdir | unsorted | 162.97 ms |
| walkdir | sorted | 198.16 ms |
| walkdir | sorted, metadata | 422.49 ms |
| | jwalk | ignore | walkdir |
|--------------------------------|--------------|--------------|--------------|
| Unsorted, parallel | 54.026 ms | 68.594 ms | - |
| unsorted, parallel (2 threads) | 98.869 ms | - | - |
| sorted, parallel | 55.988 ms | 94.374 ms | - |
| sorted, parallel, metadata | 97.502 ms | 131.50 ms | - |
| unsorted, serial | 170.86 ms | - | - |
| sorted, parallel, first 100 | 9.0272 ms | - | - |
| unsorted | - | - | 162.97 ms |
| sorted | - | - | 198.16 ms |
| sorted, metadata | - | - | 422.49 ms |

0 comments on commit 99678be

Please sign in to comment.