Files
boost_unordered_benchmarks/gcc-x64/main.cpp.txt
2023-01-21 05:57:21 -05:00

169 lines
4.1 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 952553
enwik9: 141176630 words, 59527 ms
boost::unordered_flat_map, single threaded:
Word count: 5139 ms (s=141176630, size=1418655)
Contains: 3652 ms (s=97891799, size=1418655)
Total: 8791 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7556 ms (s=141176630, size=1418655)
Contains: 5209 ms (s=97891799, size=1418655)
Total: 12765 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5649 ms (s=141176630, size=1418655)
Contains: 4044 ms (s=97891799, size=1418655)
Total: 9693 ms
concurrent_foa, single threaded:
Word count: 8472 ms (s=141176630, size=1418655)
Contains: 5093 ms (s=97891799, size=1418655)
Total: 13566 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 8392 ms (s=141176630, size=1418655)
Contains: 5220 ms (s=97891799, size=1418655)
Total: 13612 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 9211 ms (s=141176630, size=1418655)
Contains: 6244 ms (s=97891799, size=1418655)
Total: 15455 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14766 ms (s=141176630, size=1418655)
Contains: 8617 ms (s=97891799, size=1418655)
Total: 23383 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4312 ms (s=141176630, size=1418655)
Contains: 2438 ms (s=97891799, size=1418655)
Total: 6751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 11335 ms (s=141176630, size=1418655)
Contains: 2180 ms (s=97891799, size=1418655)
Total: 13515 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 4961 ms (s=141176630, size=1418655)
Contains: 1764 ms (s=97891799, size=1418655)
Total: 6725 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 4102 ms (s=141176630, size=1418655)
Contains: 3608 ms (s=97891799, size=1418655)
Total: 7710 ms
concurrent foa:
Word count: 3011 ms (s=141176630, size=1418655)
Contains: 1416 ms (s=97891799, size=1418655)
Total: 4428 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3281 ms (s=141176630, size=1418655)
Contains: 1532 ms (s=97891799, size=1418655)
Total: 4813 ms
concurrent foa, std::shared_mutex:
Word count: 3068 ms (s=141176630, size=1418655)
Contains: 1778 ms (s=97891799, size=1418655)
Total: 4846 ms
tbb::concurrent_hash_map:
Word count: 5495 ms (s=141176630, size=1418655)
Contains: 2040 ms (s=97891799, size=1418655)
Total: 7535 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4314 ms (s=141176630, size=1418655)
Contains: 2364 ms (s=97891799, size=1418655)
Total: 6678 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 20899 ms (s=141176630, size=1418655)
Contains: 2381 ms (s=97891799, size=1418655)
Total: 23280 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7601 ms (s=141176630, size=1418655)
Contains: 3328 ms (s=97891799, size=1418655)
Total: 10930 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 8791 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12765 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9693 ms
concurrent_foa, single threaded: 13566 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13612 ms
concurrent_foa, std::shared_mutex, single threaded: 15455 ms
tbb::concurrent_hash_map, single threaded: 23383 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13515 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6725 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7710 ms
concurrent foa: 4428 ms
concurrent foa, tbb::spin_rw_mutex: 4813 ms
concurrent foa, std::shared_mutex: 4846 ms
tbb::concurrent_hash_map: 7535 ms
gtl::parallel_flat_hash_map<std::mutex>: 6678 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 23280 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10930 ms