Skip to content

Commit

Permalink
new benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 3, 2023
1 parent 63f294c commit d1020a2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@ while the numbers below 1.0 demonstrate performance loss.
<!-- benchmark -->
| | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
| --- | --: | --: | --: | --: | --: | --: | --: |
| `hashbrown::HashMap` | 26.92 | 8.40 | 3.82 | 2.07 | 0.83 | 0.43 | 0.21 |
| `indexmap::IndexMap` | 19.76 | 12.05 | 5.83 | 3.23 | 1.48 | 0.78 | 0.39 |
| `linear_map::LinearMap` | 3.32 | 1.20 | 0.87 | 0.88 | 0.75 | 0.70 | 0.92 |
| `linked_hash_map::LinkedHashMap` | 32.82 | 17.14 | 7.36 | 4.34 | 2.27 | 1.11 | 0.55 |
| `litemap::LiteMap` | 5.77 | 2.34 | 1.37 | 1.02 | 0.61 | 0.42 | 0.27 |
| `hashbrown::HashMap` | 15.21 | 5.23 | 2.92 | 1.55 | 0.59 | 0.28 | 0.14 |
| `indexmap::IndexMap` | 13.42 | 8.78 | 5.12 | 2.75 | 1.26 | 0.57 | 0.29 |
| `linear_map::LinearMap` | 2.24 | 1.01 | 0.77 | 0.82 | 0.61 | 0.63 | 0.73 |
| `linked_hash_map::LinkedHashMap` | 26.03 | 11.80 | 6.71 | 3.71 | 1.69 | 0.79 | 0.41 |
| `litemap::LiteMap` | 4.28 | 2.17 | 1.43 | 0.95 | 0.56 | 0.33 | 0.24 |
| `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| `nohash_hasher::BuildNoHashHasher` | 18.36 | 7.94 | 4.44 | 1.78 | 0.78 | 0.42 | 0.20 |
| `rustc_hash::FxHashMap` | 18.74 | 7.55 | 3.73 | 2.25 | 0.78 | 0.39 | 0.19 |
| `std::collections::BTreeMap` | 27.51 | 8.43 | 4.25 | 3.31 | 1.72 | 0.76 | 0.44 |
| `std::collections::HashMap` | 29.21 | 11.99 | 5.82 | 3.50 | 1.61 | 0.90 | 0.42 |
| `tinymap::array_map::ArrayMap` | 1.66 | 3.54 | 2.89 | 2.94 | 2.95 | 3.56 | 3.53 |
| `nohash_hasher::BuildNoHashHasher` | 12.11 | 5.43 | 3.44 | 1.26 | 0.56 | 0.26 | 0.14 |
| `rustc_hash::FxHashMap` | 12.06 | 5.05 | 2.86 | 1.70 | 0.63 | 0.27 | 0.14 |
| `std::collections::BTreeMap` | 21.40 | 6.24 | 3.75 | 2.93 | 1.26 | 0.58 | 0.36 |
| `std::collections::HashMap` | 18.66 | 8.50 | 4.91 | 2.83 | 1.28 | 0.61 | 0.31 |
| `tinymap::array_map::ArrayMap` | 2.40 | 3.47 | 2.95 | 2.70 | 2.67 | 2.45 | 2.39 |

The experiment [was performed](https://github.com/yegor256/micromap/actions/workflows/benchmark.yml) on 30-04-2023.
The experiment [was performed](https://github.com/yegor256/micromap/actions/workflows/benchmark.yml) on 03-05-2023.
There were 1000000 repetition cycles.
The entire benchmark took 297s.
The entire benchmark took 368s.

<!-- benchmark -->

Expand Down

0 comments on commit d1020a2

Please sign in to comment.