Skip to content

Commit

Permalink
Merge pull request #35 from yegor256/create-pull-request/patch
Browse files Browse the repository at this point in the history
New results of benchmarking
  • Loading branch information
yegor256 committed Apr 22, 2023
2 parents 5d25bc4 + 74678e2 commit 8e64a84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ gain, while numbers below 1.0 demonstrate performance loss.

| | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `hashbrown::HashMap` | 2M | 26K | 3.86 | 2.33 | 1.16 | 0.53 | 0.22 | 0.12 |
| `nohash_hasher::BuildNoHashHasher` | 2M | 20K | 4.03 | 2.83 | 0.95 | 0.46 | 0.21 | 0.11 |
| `rustc_hash::FxHashMap` | 1M | 20K | 3.76 | 2.29 | 1.26 | 0.47 | 0.22 | 0.12 |
| `std::collections::HashMap` | 2M | 32K | 6.69 | 4.04 | 2.20 | 1.19 | 0.48 | 0.26 |
| `tinymap::array_map::ArrayMap` | 134K | 1K | 2.43 | 2.21 | 2.12 | 2.27 | 1.98 | 2.04 |
| `hashbrown::HashMap` | 34K | 33K | 5.49 | 2.75 | 1.53 | 0.63 | 0.32 | 0.15 |
| `nohash_hasher::BuildNoHashHasher` | 20K | 21K | 5.30 | 3.35 | 1.33 | 0.60 | 0.32 | 0.15 |
| `rustc_hash::FxHashMap` | 20K | 20K | 5.02 | 2.73 | 1.71 | 0.55 | 0.30 | 0.15 |
| `std::collections::HashMap` | 34K | 34K | 8.36 | 4.29 | 2.69 | 1.31 | 0.69 | 0.33 |
| `tinymap::array_map::ArrayMap` | 1K | 1K | 2.40 | 2.12 | 2.26 | 2.35 | 2.84 | 2.77 |


<!-- benchmark -->
Expand Down

0 comments on commit 8e64a84

Please sign in to comment.