From 0de47dd3ec9220ad4fb41693b7af70249c2bc8fa Mon Sep 17 00:00:00 2001 From: yegor256 <526301+yegor256@users.noreply.github.com> Date: Tue, 5 Nov 2024 19:13:20 +0000 Subject: [PATCH] new benchmark results --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7047886..381e218 100644 --- a/README.md +++ b/README.md @@ -69,22 +69,22 @@ while the numbers below 1.0 demonstrate performance loss. | | 2 | 4 | 8 | 16 | 32 | 64 | 128 | | --- | --: | --: | --: | --: | --: | --: | --: | -| `hashbrown::HashMap` | 21.04 | 11.60 | 6.68 | 4.13 | 1.21 | 0.57 | 0.28 | -| `heapless::LinearMap` | 0.95 | 1.50 | 1.25 | 1.39 | 0.83 | 0.99 | 0.96 | -| `indexmap::IndexMap` | 12.49 | 11.99 | 7.58 | 4.84 | 1.66 | 0.89 | 0.48 | -| `linear_map::LinearMap` | 1.49 | 1.55 | 1.13 | 1.04 | 0.72 | 0.93 | 0.92 | -| `linked_hash_map::LinkedHashMap` | 25.96 | 22.74 | 12.81 | 7.75 | 2.70 | 1.46 | 0.77 | -| `litemap::LiteMap` | 1.54 | 2.08 | 1.90 | 1.45 | 0.94 | 0.83 | 0.55 | +| `hashbrown::HashMap` | 21.21 | 11.82 | 6.48 | 3.88 | 1.20 | 0.59 | 0.28 | +| `heapless::LinearMap` | 1.19 | 1.51 | 1.22 | 1.40 | 0.83 | 0.98 | 0.87 | +| `indexmap::IndexMap` | 13.03 | 12.09 | 7.49 | 4.82 | 1.68 | 0.89 | 0.45 | +| `linear_map::LinearMap` | 1.69 | 1.56 | 1.15 | 1.11 | 0.75 | 1.18 | 0.83 | +| `linked_hash_map::LinkedHashMap` | 26.05 | 21.61 | 12.48 | 7.85 | 2.69 | 1.41 | 0.76 | +| `litemap::LiteMap` | 1.68 | 2.30 | 6.61 | 4.58 | 1.69 | 0.88 | 0.56 | | `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | -| `nohash_hasher::BuildNoHashHasher` | 20.69 | 12.28 | 8.09 | 3.36 | 1.20 | 0.63 | 0.34 | -| `rustc_hash::FxHashMap` | 20.95 | 12.17 | 8.25 | 4.11 | 1.01 | 0.55 | 0.29 | -| `std::collections::BTreeMap` | 19.19 | 8.54 | 5.38 | 4.39 | 2.20 | 1.17 | 0.72 | -| `std::collections::HashMap` | 20.97 | 14.53 | 8.81 | 5.25 | 2.16 | 1.01 | 0.54 | -| `tinymap::array_map::ArrayMap` | 1.78 | 4.84 | 4.92 | 5.29 | 4.12 | 4.59 | 4.86 | +| `nohash_hasher::BuildNoHashHasher` | 20.78 | 12.19 | 8.44 | 3.38 | 1.18 | 0.65 | 0.32 | +| `rustc_hash::FxHashMap` | 20.95 | 12.19 | 6.60 | 4.10 | 1.03 | 0.54 | 0.28 | +| `std::collections::BTreeMap` | 21.02 | 8.87 | 5.34 | 4.64 | 2.18 | 1.17 | 0.68 | +| `std::collections::HashMap` | 20.86 | 14.55 | 8.84 | 5.37 | 1.91 | 1.10 | 0.51 | +| `tinymap::array_map::ArrayMap` | 1.66 | 4.65 | 4.60 | 5.20 | 3.54 | 4.34 | 4.15 | The experiment [was performed][action] on 05-11-2024. There were 1000000 repetition cycles. -The entire benchmark took 194s. +The entire benchmark took 197s. Uname: 'Linux'.