Skip to content

Commit

Permalink
new benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 authored Apr 23, 2023
1 parent e90d36c commit 7080211
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,17 @@ while the numbers below 1.0 demonstrate performance loss.
<!-- benchmark -->
| | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
| --- | --: | --: | --: | --: | --: | --: | --: | --: |
| `hashbrown::HashMap` | 16.14 | 16.14 | 3.50 | 2.38 | 1.24 | 0.53 | 0.25 | 0.12 |
| `indexmap::IndexMap` | 13.88 | 14.00 | 6.05 | 4.32 | 2.24 | 1.18 | 0.55 | 0.28 |
| `linear_map::LinearMap` | 2.28 | 2.21 | 0.67 | 0.62 | 0.56 | 0.73 | 0.61 | 0.63 |
| `linked_hash_map::LinkedHashMap` | 26.08 | 26.36 | 8.07 | 5.26 | 2.99 | 1.50 | 0.72 | 0.36 |
| `hashbrown::HashMap` | 16.22 | 16.10 | 3.46 | 2.33 | 1.24 | 0.51 | 0.25 | 0.12 |
| `indexmap::IndexMap` | 13.41 | 13.96 | 6.14 | 4.24 | 2.45 | 1.22 | 0.56 | 0.26 |
| `linear_map::LinearMap` | 2.33 | 2.22 | 0.68 | 0.60 | 0.56 | 0.48 | 0.59 | 0.49 |
| `linked_hash_map::LinkedHashMap` | 26.32 | 25.97 | 7.72 | 5.14 | 2.98 | 1.51 | 0.73 | 0.36 |
| `litemap::LiteMap` | 4.85 | 4.93 | 1.47 | 1.18 | 0.85 | 0.46 | 0.28 | 0.18 |
| `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| `nohash_hasher::BuildNoHashHasher` | 12.08 | 12.07 | 3.69 | 2.76 | 1.02 | 0.49 | 0.24 | 0.12 |
| `rustc_hash::FxHashMap` | 12.08 | 12.11 | 3.53 | 2.29 | 1.36 | 0.50 | 0.26 | 0.12 |
| `std::collections::BTreeMap` | 22.40 | 22.24 | 5.04 | 3.41 | 2.56 | 1.28 | 0.59 | 0.35 |
| `std::collections::HashMap` | 18.35 | 18.24 | 5.66 | 4.02 | 2.21 | 1.12 | 0.55 | 0.27 |
| `tinymap::array_map::ArrayMap` | 1.20 | 1.40 | 2.12 | 2.40 | 2.26 | 2.33 | 2.21 | 2.04 |
| `nohash_hasher::BuildNoHashHasher` | 12.12 | 12.09 | 3.57 | 2.71 | 1.01 | 0.48 | 0.24 | 0.12 |
| `rustc_hash::FxHashMap` | 12.10 | 12.06 | 3.34 | 2.25 | 1.37 | 0.49 | 0.25 | 0.12 |
| `std::collections::BTreeMap` | 22.63 | 22.29 | 4.97 | 3.29 | 2.49 | 1.22 | 0.59 | 0.35 |
| `std::collections::HashMap` | 18.29 | 18.33 | 5.59 | 3.91 | 2.24 | 1.10 | 0.55 | 0.26 |
| `tinymap::array_map::ArrayMap` | 1.40 | 1.99 | 2.32 | 2.14 | 2.30 | 2.28 | 2.25 | 2.01 |

The experiment was performed on 23-04-2023.
There were 1000000 repetition cycles.
Expand Down

0 comments on commit 7080211

Please sign in to comment.