Skip to content

Commit 6d55b7b

Browse files
authored
Merge pull request #171 from yegor256/benchmark
New results of benchmarking
2 parents bcccafc + c37ba8a commit 6d55b7b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,22 @@ while the numbers below 1.0 demonstrate performance loss.
6363
<!-- benchmark -->
6464
| | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
6565
| --- | --: | --: | --: | --: | --: | --: | --: |
66-
| `hashbrown::HashMap` | 21.03 | 11.27 | 6.60 | 3.84 | 1.67 | 0.59 | 0.31 |
67-
| `heapless::LinearMap` | 1.01 | 1.46 | 1.12 | 1.32 | 1.20 | 1.21 | 0.99 |
68-
| `indexmap::IndexMap` | 12.85 | 12.73 | 7.64 | 4.79 | 2.39 | 0.88 | 0.48 |
69-
| `linear_map::LinearMap` | 2.25 | 1.56 | 1.14 | 1.13 | 1.05 | 0.95 | 0.87 |
70-
| `linked_hash_map::LinkedHashMap` | 27.13 | 20.63 | 12.25 | 7.88 | 3.90 | 1.42 | 0.80 |
71-
| `litemap::LiteMap` | 3.76 | 2.80 | 2.25 | 1.95 | 1.34 | 0.61 | 0.42 |
66+
| `hashbrown::HashMap` | 22.17 | 11.25 | 6.61 | 3.85 | 1.68 | 0.60 | 0.31 |
67+
| `heapless::LinearMap` | 1.01 | 1.45 | 1.12 | 1.33 | 1.23 | 1.21 | 0.98 |
68+
| `indexmap::IndexMap` | 12.82 | 12.27 | 7.60 | 4.80 | 2.45 | 0.87 | 0.48 |
69+
| `linear_map::LinearMap` | 2.27 | 1.56 | 1.11 | 1.14 | 1.06 | 0.97 | 0.87 |
70+
| `linked_hash_map::LinkedHashMap` | 29.58 | 20.65 | 15.60 | 7.88 | 4.06 | 1.45 | 0.80 |
71+
| `litemap::LiteMap` | 4.66 | 2.75 | 2.15 | 1.98 | 1.34 | 0.61 | 0.42 |
7272
| `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
73-
| `nohash_hasher::BuildNoHashHasher` | 21.35 | 11.58 | 7.96 | 3.43 | 1.67 | 0.62 | 0.33 |
74-
| `rustc_hash::FxHashMap` | 21.20 | 11.44 | 6.74 | 4.14 | 1.43 | 0.53 | 0.30 |
75-
| `std::collections::BTreeMap` | 18.07 | 9.32 | 8.64 | 7.77 | 3.93 | 1.14 | 0.72 |
76-
| `std::collections::HashMap` | 20.64 | 14.38 | 9.20 | 5.68 | 2.83 | 1.04 | 0.57 |
77-
| `tinymap::array_map::ArrayMap` | 2.00 | 4.44 | 4.65 | 5.06 | 5.64 | 4.38 | 5.08 |
73+
| `nohash_hasher::BuildNoHashHasher` | 21.10 | 11.58 | 7.78 | 3.43 | 1.69 | 0.62 | 0.35 |
74+
| `rustc_hash::FxHashMap` | 21.48 | 11.35 | 6.68 | 4.13 | 1.45 | 0.54 | 0.30 |
75+
| `std::collections::BTreeMap` | 18.19 | 9.36 | 9.13 | 7.76 | 4.03 | 1.14 | 0.72 |
76+
| `std::collections::HashMap` | 21.18 | 14.14 | 9.37 | 5.65 | 2.93 | 1.06 | 0.57 |
77+
| `tinymap::array_map::ArrayMap` | 2.01 | 4.41 | 4.61 | 5.08 | 5.76 | 4.37 | 5.06 |
7878

79-
The experiment [was performed](https://github.com/yegor256/micromap/actions/workflows/benchmark.yml) on 14-01-2024.
79+
The experiment [was performed](https://github.com/yegor256/micromap/actions/workflows/benchmark.yml) on 29-01-2024.
8080
There were 1000000 repetition cycles.
81-
The entire benchmark took 193s.
81+
The entire benchmark took 194s.
8282
Uname: 'Linux'.
8383

8484
<!-- benchmark -->

0 commit comments

Comments
 (0)