Skip to content

Commit

Permalink
new benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 23, 2023
1 parent 7eb85f3 commit 465ac76
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -67,20 +67,20 @@ while the numbers below 1.0 demonstrate performance loss.
<!-- benchmark -->
| | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
| --- | --: | --: | --: | --: | --: | --: | --: | --: |
| `hashbrown::HashMap` | 16.14 | 16.19 | 3.52 | 2.39 | 1.24 | 0.53 | 0.25 | 0.12 |
| `indexmap::IndexMap` | 13.98 | 13.68 | 6.06 | 4.35 | 2.25 | 1.19 | 0.55 | 0.28 |
| `linear_map::LinearMap` | 2.36 | 2.20 | 0.67 | 0.62 | 0.56 | 0.73 | 0.61 | 0.63 |
| `linked_hash_map::LinkedHashMap` | 26.23 | 26.33 | 7.83 | 5.28 | 2.97 | 1.49 | 0.71 | 0.36 |
| `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 |
| `micromap::Map` 馃憤 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| `nohash_hasher::BuildNoHashHasher` | 12.07 | 12.08 | 3.63 | 2.78 | 1.02 | 0.49 | 0.24 | 0.12 |
| `rustc_hash::FxHashMap` | 12.10 | 12.12 | 3.39 | 2.30 | 1.35 | 0.51 | 0.25 | 0.12 |
| `std::collections::BTreeMap` | 22.40 | 22.05 | 4.82 | 3.43 | 2.57 | 1.28 | 0.59 | 0.34 |
| `std::collections::HashMap` | 19.02 | 18.19 | 5.67 | 4.04 | 2.24 | 1.12 | 0.55 | 0.26 |
| `tinymap::array_map::ArrayMap` | 1.20 | 1.40 | 2.09 | 2.41 | 2.26 | 2.34 | 2.21 | 2.05 |
| `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 |

The experiment was performed on 23-04-2023.
There were 1000000 repetition cycles.
The entire benchmark took 303s.
The entire benchmark took 307s.

<!-- benchmark -->

Expand Down

0 comments on commit 465ac76

Please sign in to comment.