mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-20 14:42:13 +00:00
updated benchmark results
This commit is contained in:
@@ -1,168 +1,168 @@
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 944639
|
||||
enwik8: 14480868 words, 6955 ms
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 971913
|
||||
enwik8: 14480868 words, 6882 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 629 ms (s=14480868, size=354032)
|
||||
Word count: 634 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 441 ms (s=7961072, size=354032)
|
||||
Contains: 451 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1071 ms
|
||||
Total: 1085 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 890 ms (s=14480868, size=354032)
|
||||
Word count: 871 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 605 ms (s=7961072, size=354032)
|
||||
Contains: 614 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1496 ms
|
||||
Total: 1486 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 650 ms (s=14480868, size=354032)
|
||||
Word count: 661 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 476 ms (s=7961072, size=354032)
|
||||
Contains: 485 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1126 ms
|
||||
Total: 1147 ms
|
||||
|
||||
concurrent_foa, single threaded:
|
||||
|
||||
Word count: 840 ms (s=14480868, size=354032)
|
||||
Word count: 822 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 548 ms (s=7961072, size=354032)
|
||||
Contains: 544 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1388 ms
|
||||
Total: 1366 ms
|
||||
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 833 ms (s=14480868, size=354032)
|
||||
Word count: 817 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 550 ms (s=7961072, size=354032)
|
||||
Contains: 563 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1383 ms
|
||||
Total: 1381 ms
|
||||
|
||||
concurrent_foa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 988 ms (s=14480868, size=354032)
|
||||
Word count: 967 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 692 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1680 ms
|
||||
Total: 1659 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 1499 ms (s=14480868, size=354032)
|
||||
Word count: 1490 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 835 ms (s=7961072, size=354032)
|
||||
Contains: 852 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 2335 ms
|
||||
Total: 2342 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 477 ms (s=14480868, size=354032)
|
||||
Word count: 470 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 261 ms (s=7961072, size=354032)
|
||||
Contains: 271 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 738 ms
|
||||
Total: 742 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 647 ms (s=14480868, size=354032)
|
||||
Word count: 654 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 268 ms (s=7961072, size=354032)
|
||||
Contains: 267 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 916 ms
|
||||
Total: 922 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 511 ms (s=14480868, size=354032)
|
||||
Word count: 570 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 183 ms (s=7961072, size=354032)
|
||||
Contains: 192 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 695 ms
|
||||
Total: 762 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 401 ms (s=14480868, size=354032)
|
||||
Word count: 430 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 387 ms (s=7961072, size=354032)
|
||||
Contains: 397 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 789 ms
|
||||
Total: 828 ms
|
||||
|
||||
concurrent foa:
|
||||
|
||||
Word count: 384 ms (s=14480868, size=354032)
|
||||
Word count: 428 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 175 ms (s=7961072, size=354032)
|
||||
Contains: 195 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 560 ms
|
||||
Total: 623 ms
|
||||
|
||||
concurrent foa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 385 ms (s=14480868, size=354032)
|
||||
Word count: 425 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 190 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 576 ms
|
||||
Total: 615 ms
|
||||
|
||||
concurrent foa, std::shared_mutex:
|
||||
|
||||
Word count: 386 ms (s=14480868, size=354032)
|
||||
Word count: 499 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 182 ms (s=7961072, size=354032)
|
||||
Contains: 215 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 568 ms
|
||||
Total: 715 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 637 ms (s=14480868, size=354032)
|
||||
Word count: 634 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 212 ms (s=7961072, size=354032)
|
||||
Contains: 208 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 850 ms
|
||||
Total: 843 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 620 ms (s=14480868, size=354032)
|
||||
Word count: 632 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 407 ms (s=7961072, size=354032)
|
||||
Contains: 394 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1028 ms
|
||||
Total: 1027 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 1769 ms (s=14480868, size=354032)
|
||||
Word count: 1138 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 321 ms (s=7961072, size=354032)
|
||||
Contains: 319 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 2090 ms
|
||||
Total: 1458 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 772 ms (s=14480868, size=354032)
|
||||
Word count: 476 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 368 ms (s=7961072, size=354032)
|
||||
Contains: 360 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1141 ms
|
||||
Total: 837 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 16
|
||||
boost::unordered_flat_map, single threaded: 1071 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 1496 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 1126 ms
|
||||
concurrent_foa, single threaded: 1388 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 1680 ms
|
||||
tbb::concurrent_hash_map, single threaded: 2335 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 738 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 916 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 695 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 789 ms
|
||||
concurrent foa: 560 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 576 ms
|
||||
concurrent foa, std::shared_mutex: 568 ms
|
||||
tbb::concurrent_hash_map: 850 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 1028 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 2090 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 1141 ms
|
||||
boost::unordered_flat_map, single threaded: 1085 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 1486 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 1147 ms
|
||||
concurrent_foa, single threaded: 1366 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 1659 ms
|
||||
tbb::concurrent_hash_map, single threaded: 2342 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 742 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 922 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 762 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 828 ms
|
||||
concurrent foa: 623 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 615 ms
|
||||
concurrent foa, std::shared_mutex: 715 ms
|
||||
tbb::concurrent_hash_map: 843 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 1027 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 1458 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 837 ms
|
||||
|
||||
Reference in New Issue
Block a user