Skip to content

Commit 7d0bcd4

Browse files
new benchmark results
1 parent e421964 commit 7d0bcd4

File tree

2 files changed

+30
-18
lines changed

2 files changed

+30
-18
lines changed

Cargo.lock

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ while the numbers below 1.0 demonstrate performance loss.
6666
<!-- benchmark -->
6767
| | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
6868
| --- | --: | --: | --: | --: | --: | --: | --: |
69-
| `flurry::HashMap` | 272.58 | 78.01 | 40.57 | 15.21 | 11.63 | 5.51 | 3.23 |
70-
| `hashbrown::HashMap` | 20.85 | 10.05 | 6.48 | 2.35 | 1.60 | 0.67 | 0.35 |
71-
| `heapless::LinearMap` | 1.19 | 1.31 | 1.14 | 0.83 | 1.18 | 1.18 | 1.34 |
72-
| `indexmap::IndexMap` | 16.56 | 13.61 | 9.21 | 6.06 | 2.96 | 1.29 | 0.77 |
73-
| `linear_map::LinearMap` | 1.79 | 1.34 | 1.02 | 0.67 | 1.10 | 1.00 | 1.07 |
74-
| `linked_hash_map::LinkedHashMap` | 27.09 | 18.32 | 11.71 | 4.67 | 3.44 | 1.58 | 0.79 |
75-
| `litemap::LiteMap` | 1.61 | 1.91 | 5.70 | 2.48 | 2.11 | 1.01 | 0.61 |
69+
| `flurry::HashMap` | 305.63 | 77.15 | 38.02 | 19.10 | 7.69 | 5.57 | 2.69 |
70+
| `hashbrown::HashMap` | 21.22 | 10.76 | 5.90 | 2.91 | 1.09 | 0.81 | 0.32 |
71+
| `heapless::LinearMap` | 1.42 | 1.58 | 1.10 | 1.06 | 1.04 | 1.15 | 1.00 |
72+
| `indexmap::IndexMap` | 12.46 | 10.67 | 6.87 | 3.74 | 1.46 | 1.12 | 0.48 |
73+
| `linear_map::LinearMap` | 1.67 | 1.38 | 1.01 | 0.79 | 0.64 | 1.05 | 1.10 |
74+
| `linked_hash_map::LinkedHashMap` | 27.07 | 19.14 | 10.92 | 5.73 | 2.27 | 1.57 | 0.76 |
75+
| `litemap::LiteMap` | 1.58 | 2.19 | 4.51 | 3.48 | 1.28 | 1.02 | 0.60 |
7676
| `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
77-
| `nohash_hasher::BuildNoHashHasher` | 20.17 | 10.20 | 7.34 | 2.07 | 1.54 | 0.69 | 0.36 |
78-
| `rustc_hash::FxHashMap` | 21.36 | 10.08 | 6.39 | 2.02 | 1.28 | 0.64 | 0.33 |
79-
| `std::collections::BTreeMap` | 20.68 | 8.24 | 5.13 | 2.75 | 2.48 | 1.18 | 0.72 |
80-
| `std::collections::HashMap` | 20.83 | 12.85 | 8.01 | 3.17 | 2.61 | 1.14 | 0.58 |
81-
| `tinymap::array_map::ArrayMap` | 1.64 | 3.84 | 3.94 | 2.93 | 4.95 | 4.85 | 4.79 |
77+
| `nohash_hasher::BuildNoHashHasher` | 20.28 | 10.87 | 6.58 | 2.68 | 1.02 | 0.71 | 0.37 |
78+
| `rustc_hash::FxHashMap` | 20.61 | 10.76 | 5.93 | 2.66 | 0.93 | 0.65 | 0.32 |
79+
| `std::collections::BTreeMap` | 20.93 | 14.12 | 8.85 | 5.45 | 1.95 | 1.40 | 0.78 |
80+
| `std::collections::HashMap` | 21.35 | 12.98 | 7.66 | 3.91 | 1.74 | 1.15 | 0.55 |
81+
| `tinymap::array_map::ArrayMap` | 1.99 | 3.89 | 3.83 | 3.69 | 3.04 | 4.81 | 4.55 |
8282

83-
The experiment [was performed][action] on 21-07-2025.
83+
The experiment [was performed][action] on 04-09-2025.
8484
There were 1000000 repetitions.
85-
The entire benchmark took 283s.
85+
The entire benchmark took 275s.
8686
Uname: 'Linux'.
8787

8888
<!-- benchmark -->

0 commit comments

Comments
 (0)