Created
July 1, 2022 18:22
-
-
Save pavel-odintsov/ab5a6ccaca9bf60cd21d7454c8e383aa to your computer and use it in GitHub Desktop.
AMD Ryzen 5 3600 6-Core Processor test with Absl flat_hash_map and node_hash_map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loaded 183978 IPs into memory | |
std::map big endian | |
Total lookup time is 59 seconds | |
Million of lookup ops per second: 3.11381 | |
Total scan time is 15 seconds | |
Million of full scan ops per second: 8.43543 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
std::map little endian | |
Total lookup time is 58 seconds | |
Million of lookup ops per second: 3.17993 | |
Total scan time is 16 seconds | |
Million of full scan ops per second: 8.41425 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
std::unordered_map big endian | |
Total lookup time is 7 seconds | |
Million of lookup ops per second: 25.2589 | |
Total scan time is 11 seconds | |
Million of full scan ops per second: 12.3272 | |
Bucket number: 172933 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
std::unordered_map little endian | |
Total lookup time is 7 seconds | |
Million of lookup ops per second: 26.3319 | |
Total scan time is 10 seconds | |
Million of full scan ops per second: 12.5218 | |
Bucket number: 172933 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
boost::unordered_map big endian | |
Total lookup time is 6 seconds | |
Million of lookup ops per second: 33.1351 | |
Total scan time is 3 seconds | |
Million of full scan ops per second: 34.8746 | |
Bucket number: 196613 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
boost::unordered_map little endian | |
Total lookup time is 6 seconds | |
Million of lookup ops per second: 33.8842 | |
Total scan time is 3 seconds | |
Million of full scan ops per second: 35.0709 | |
Bucket number: 196613 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
absl::flat_hash_map little endian | |
Total lookup time is 5 seconds | |
Million of lookup ops per second: 33.599 | |
Total scan time is 1 seconds | |
Million of full scan ops per second: 101.966 | |
Bucket number: 0 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
absl::flat_hash_map big endian | |
Total lookup time is 6 seconds | |
Million of lookup ops per second: 33.687 | |
Total scan time is 1 seconds | |
Million of full scan ops per second: 102.885 | |
Bucket number: 0 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
absl::node_hash_map little endian | |
Total lookup time is 5 seconds | |
Million of lookup ops per second: 38.5048 | |
Total scan time is 1 seconds | |
Million of full scan ops per second: 94.7877 | |
Bucket number: 0 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
node_hash_map big endian | |
Total lookup time is 5 seconds | |
Million of lookup ops per second: 38.5005 | |
Total scan time is 1 seconds | |
Million of full scan ops per second: 96.219 | |
Bucket number: 0 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment