From dfd32ad2342c43f19fc9ecf9227d83dd8f5b62bf Mon Sep 17 00:00:00 2001 From: rultor <8086956+rultor@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:39:18 +0000 Subject: [PATCH] new benchmark results --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 381e218..ab1148f 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.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 | +| `hashbrown::HashMap` | 21.12 | 12.17 | 6.41 | 3.61 | 1.26 | 0.62 | 0.29 | +| `heapless::LinearMap` | 1.18 | 1.55 | 1.22 | 1.38 | 0.84 | 1.01 | 0.90 | +| `indexmap::IndexMap` | 12.96 | 12.46 | 7.40 | 4.85 | 1.65 | 0.98 | 0.46 | +| `linear_map::LinearMap` | 1.67 | 1.60 | 1.09 | 1.11 | 0.74 | 1.23 | 0.86 | +| `linked_hash_map::LinkedHashMap` | 25.89 | 22.07 | 12.24 | 7.91 | 2.82 | 1.48 | 0.76 | +| `litemap::LiteMap` | 1.67 | 2.27 | 6.32 | 4.57 | 1.69 | 0.90 | 0.55 | | `micromap::Map` 👍 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | -| `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 | +| `nohash_hasher::BuildNoHashHasher` | 20.71 | 12.59 | 7.95 | 3.34 | 1.18 | 0.66 | 0.32 | +| `rustc_hash::FxHashMap` | 21.02 | 12.56 | 6.51 | 4.12 | 1.01 | 0.55 | 0.27 | +| `std::collections::BTreeMap` | 20.19 | 9.03 | 5.23 | 4.61 | 2.17 | 1.16 | 0.68 | +| `std::collections::HashMap` | 21.26 | 14.96 | 8.64 | 5.36 | 1.90 | 1.02 | 0.51 | +| `tinymap::array_map::ArrayMap` | 1.99 | 4.81 | 4.56 | 5.18 | 3.57 | 4.40 | 4.12 | -The experiment [was performed][action] on 05-11-2024. +The experiment [was performed][action] on 11-11-2024. There were 1000000 repetition cycles. -The entire benchmark took 197s. +The entire benchmark took 186s. Uname: 'Linux'.