mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-01-19 04:02:13 +00:00
boost_unordered_flat_map_fil-c
boost::unordered_(flat|node)_map benchmarks
Automated benchmarks of boost::unordered_flat_map and boost::unordered_node_map against absl::flat_hash_map, absl::node_hash_map and boost::unordered_map.
Benchmarks
running_insertion.cpp: insertion of n random entries into a map of (uint64_t,uint64_t) pairs, n ranging from 10,000 to 10M.running_erasure.cpp: traversal of a map withnelements filled as before and erasure of entries with odd key (50% on average).scattered_lookup.cpp- Successful: lookup of the
nkeys of the container in the same order as inserted. - Unsuccesful: lookup of
nrandom keys not related to those inserted (and thus not present in the container with probabilty ~100%).
- Successful: lookup of the
How to read the results
Folder
clang-x64: Clang 18, x64clang-asan-x64: Clang 18 with ASAN enabled, x64fil-c-x64: Fil-C 0.674, x64
Excel file
Running insertion.xlsx: results ofrunning_insertion.cppRunning erasure.xlsx: results ofrunning_erasure.cppScattered successful looukp.xlsx: results ofscattered_lookup.cpp, successful caseScattered unsuccessful looukp.xlsx: results ofscattered_lookup.cpp, unsuccessful case
Graphs
Clang 18, x64
| Running insertion | Running erasure | Successful lookup | Unsuccessful lookup |
Clang 18 with ASAN enabled, x64
| Running insertion | Running erasure | Successful lookup | Unsuccessful lookup |
Fil-C 0.674, x64
| Running insertion | Running erasure | Successful lookup | Unsuccessful lookup |
Description