mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
updated benchmark results
This commit is contained in:
@@ -1,185 +1,185 @@
|
||||
enwik9: 141176630 words, 32789 ms
|
||||
enwik9: 141176630 words, 32672 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 4140 ms (s=141176630, size=1418655)
|
||||
Word count: 4114 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2317 ms (s=97891799, size=1418655)
|
||||
Contains: 2306 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6457 ms
|
||||
Total: 6420 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 5764 ms (s=141176630, size=1418655)
|
||||
Word count: 5767 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4400 ms (s=97891799, size=1418655)
|
||||
Contains: 4376 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 10164 ms
|
||||
Total: 10144 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 3545 ms (s=141176630, size=1418655)
|
||||
Word count: 3499 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2504 ms (s=97891799, size=1418655)
|
||||
Contains: 2485 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6049 ms
|
||||
Total: 5985 ms
|
||||
|
||||
cfoa, single threaded:
|
||||
|
||||
Word count: 4420 ms (s=141176630, size=1418655)
|
||||
Word count: 4442 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3128 ms (s=97891799, size=1418655)
|
||||
Contains: 3126 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7549 ms
|
||||
Total: 7569 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 4373 ms (s=141176630, size=1418655)
|
||||
Word count: 4419 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3165 ms (s=97891799, size=1418655)
|
||||
Contains: 3170 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7539 ms
|
||||
Total: 7589 ms
|
||||
|
||||
cfoa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 6450 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5180 ms (s=97891799, size=1418655)
|
||||
Contains: 5212 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11630 ms
|
||||
Total: 11662 ms
|
||||
|
||||
foa::concurrent_table, single threaded:
|
||||
|
||||
Word count: 4297 ms (s=141176630, size=1418655)
|
||||
Word count: 4290 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3129 ms (s=97891799, size=1418655)
|
||||
Contains: 3133 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7427 ms
|
||||
Total: 7424 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 11902 ms (s=141176630, size=1418655)
|
||||
Word count: 11945 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5506 ms (s=97891799, size=1418655)
|
||||
Contains: 5528 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 17409 ms
|
||||
Total: 17474 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 3172 ms (s=141176630, size=1418655)
|
||||
Word count: 3274 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2155 ms (s=97891799, size=1418655)
|
||||
Contains: 2118 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5328 ms
|
||||
Total: 5393 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 7879 ms (s=141176630, size=1418655)
|
||||
Word count: 7899 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3328 ms (s=97891799, size=1418655)
|
||||
Contains: 3387 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11208 ms
|
||||
Total: 11287 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 2100 ms (s=141176630, size=1418655)
|
||||
Word count: 2153 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1325 ms (s=97891799, size=1418655)
|
||||
Contains: 1308 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3426 ms
|
||||
Total: 3462 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 2323 ms (s=141176630, size=1418655)
|
||||
Word count: 2379 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2125 ms (s=97891799, size=1418655)
|
||||
Contains: 2165 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4449 ms
|
||||
Total: 4545 ms
|
||||
|
||||
cfoa:
|
||||
|
||||
Word count: 2347 ms (s=141176630, size=1418655)
|
||||
Word count: 2260 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1507 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3855 ms
|
||||
Total: 3768 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 2408 ms (s=141176630, size=1418655)
|
||||
Word count: 2237 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1447 ms (s=97891799, size=1418655)
|
||||
Contains: 1490 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3855 ms
|
||||
Total: 3727 ms
|
||||
|
||||
cfoa, std::shared_mutex:
|
||||
|
||||
Word count: 2769 ms (s=141176630, size=1418655)
|
||||
Word count: 2776 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1995 ms (s=97891799, size=1418655)
|
||||
Contains: 1835 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4764 ms
|
||||
Total: 4611 ms
|
||||
|
||||
foa::concurrent_table:
|
||||
|
||||
Word count: 2195 ms (s=141176630, size=1418655)
|
||||
Word count: 2242 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1486 ms (s=97891799, size=1418655)
|
||||
Contains: 1470 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3681 ms
|
||||
Total: 3713 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 3822 ms (s=141176630, size=1418655)
|
||||
Word count: 3885 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1539 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5362 ms
|
||||
Total: 5425 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 3629 ms (s=141176630, size=1418655)
|
||||
Word count: 3582 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2874 ms (s=97891799, size=1418655)
|
||||
Contains: 2638 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6504 ms
|
||||
Total: 6220 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 7717 ms (s=141176630, size=1418655)
|
||||
Word count: 7789 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3634 ms (s=97891799, size=1418655)
|
||||
Contains: 3640 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11352 ms
|
||||
Total: 11430 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 2321 ms (s=141176630, size=1418655)
|
||||
Word count: 2247 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1574 ms (s=97891799, size=1418655)
|
||||
Contains: 1523 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3895 ms
|
||||
Total: 3770 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 8
|
||||
boost::unordered_flat_map, single threaded: 6457 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10164 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6049 ms
|
||||
cfoa, single threaded: 7549 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7539 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11630 ms
|
||||
foa::concurrent_table, single threaded: 7427 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17409 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5328 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11208 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3426 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4449 ms
|
||||
cfoa: 3855 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3855 ms
|
||||
cfoa, std::shared_mutex: 4764 ms
|
||||
foa::concurrent_table: 3681 ms
|
||||
tbb::concurrent_hash_map: 5362 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6504 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11352 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3895 ms
|
||||
boost::unordered_flat_map, single threaded: 6420 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10144 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 5985 ms
|
||||
cfoa, single threaded: 7569 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7589 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11662 ms
|
||||
foa::concurrent_table, single threaded: 7424 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17474 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5393 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11287 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3462 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4545 ms
|
||||
cfoa: 3768 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3727 ms
|
||||
cfoa, std::shared_mutex: 4611 ms
|
||||
foa::concurrent_table: 3713 ms
|
||||
tbb::concurrent_hash_map: 5425 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6220 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11430 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3770 ms
|
||||
|
||||
Reference in New Issue
Block a user