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 26, 2023
1 parent 334891a commit a1d0797
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 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` | 16.11 | 3.48 | 2.34 | 1.25 | 0.51 | 0.27 | 0.12 |
| `indexmap::IndexMap` | 13.94 | 5.71 | 4.19 | 2.27 | 1.16 | 0.58 | 0.27 |
| `linear_map::LinearMap` | 2.23 | 0.68 | 0.60 | 0.56 | 0.48 | 0.60 | 0.49 |
| `linked_hash_map::LinkedHashMap` | 26.13 | 7.69 | 5.19 | 3.21 | 1.47 | 0.74 | 0.35 |
| `litemap::LiteMap` | 5.23 | 1.48 | 1.19 | 0.86 | 0.46 | 0.29 | 0.18 |
| `hashbrown::HashMap` | 17.15 | 3.82 | 2.27 | 1.20 | 0.54 | 0.25 | 0.12 |
| `indexmap::IndexMap` | 17.19 | 8.14 | 4.94 | 2.89 | 1.42 | 0.68 | 0.33 |
| `linear_map::LinearMap` | 2.25 | 0.73 | 0.59 | 0.54 | 0.54 | 0.69 | 0.62 |
| `linked_hash_map::LinkedHashMap` | 27.18 | 8.67 | 5.09 | 2.93 | 1.53 | 0.73 | 0.35 |
| `litemap::LiteMap` | 4.53 | 1.56 | 1.10 | 0.78 | 0.54 | 0.32 | 0.20 |
| `micromap::Map` 馃憤 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| `nohash_hasher::BuildNoHashHasher` | 12.12 | 3.59 | 2.71 | 1.01 | 0.48 | 0.25 | 0.11 |
| `rustc_hash::FxHashMap` | 12.11 | 3.35 | 2.25 | 1.36 | 0.48 | 0.26 | 0.12 |
| `std::collections::BTreeMap` | 22.41 | 4.83 | 3.30 | 2.48 | 1.22 | 0.60 | 0.35 |
| `std::collections::HashMap` | 18.34 | 5.67 | 3.91 | 2.31 | 1.09 | 0.57 | 0.27 |
| `tinymap::array_map::ArrayMap` | 2.00 | 2.30 | 2.15 | 2.35 | 2.30 | 2.30 | 2.01 |
| `nohash_hasher::BuildNoHashHasher` | 12.32 | 3.95 | 2.68 | 0.98 | 0.50 | 0.24 | 0.12 |
| `rustc_hash::FxHashMap` | 12.82 | 3.68 | 2.22 | 1.31 | 0.51 | 0.24 | 0.12 |
| `std::collections::BTreeMap` | 25.04 | 5.33 | 3.23 | 2.40 | 1.27 | 0.59 | 0.33 |
| `std::collections::HashMap` | 19.07 | 6.32 | 3.91 | 2.37 | 1.17 | 0.55 | 0.27 |
| `tinymap::array_map::ArrayMap` | 2.69 | 2.17 | 2.36 | 2.15 | 2.41 | 2.21 | 2.02 |

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

<!-- benchmark -->

Expand Down

0 comments on commit a1d0797

Please sign in to comment.