Files
boost_unordered_benchmarks/vs-x64/main.cpp.txt
2023-03-18 07:43:49 -04:00

186 lines
4.4 KiB
Plaintext

enwik9: 141176630 words, 83752 ms
boost::unordered_flat_map, single threaded:
Word count: 12820 ms (s=141176630, size=1418655)
Contains: 8916 ms (s=97891799, size=1418655)
Total: 21737 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 15381 ms (s=141176630, size=1418655)
Contains: 9859 ms (s=97891799, size=1418655)
Total: 25241 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 14190 ms (s=141176630, size=1418655)
Contains: 9739 ms (s=97891799, size=1418655)
Total: 23930 ms
cfoa, single threaded:
Word count: 15637 ms (s=141176630, size=1418655)
Contains: 9255 ms (s=97891799, size=1418655)
Total: 24893 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 15040 ms (s=141176630, size=1418655)
Contains: 9730 ms (s=97891799, size=1418655)
Total: 24770 ms
cfoa, std::shared_mutex, single threaded:
Word count: 15482 ms (s=141176630, size=1418655)
Contains: 10177 ms (s=97891799, size=1418655)
Total: 25659 ms
foa::concurrent_table, single threaded:
Word count: 16105 ms (s=141176630, size=1418655)
Contains: 9666 ms (s=97891799, size=1418655)
Total: 25772 ms
tbb::concurrent_hash_map, single threaded:
Word count: 29017 ms (s=141176630, size=1418655)
Contains: 13850 ms (s=97891799, size=1418655)
Total: 42867 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 5920 ms (s=141176630, size=1418655)
Contains: 4929 ms (s=97891799, size=1418655)
Total: 10850 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 5244 ms (s=141176630, size=1418655)
Contains: 3843 ms (s=97891799, size=1418655)
Total: 9088 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5961 ms (s=141176630, size=1418655)
Contains: 3808 ms (s=97891799, size=1418655)
Total: 9770 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 5470 ms (s=141176630, size=1418655)
Contains: 5028 ms (s=97891799, size=1418655)
Total: 10498 ms
cfoa:
Word count: 5260 ms (s=141176630, size=1418655)
Contains: 3308 ms (s=97891799, size=1418655)
Total: 8569 ms
cfoa, tbb::spin_rw_mutex:
Word count: 5536 ms (s=141176630, size=1418655)
Contains: 3388 ms (s=97891799, size=1418655)
Total: 8924 ms
cfoa, std::shared_mutex:
Word count: 5608 ms (s=141176630, size=1418655)
Contains: 3715 ms (s=97891799, size=1418655)
Total: 9323 ms
foa::concurrent_table:
Word count: 6017 ms (s=141176630, size=1418655)
Contains: 3070 ms (s=97891799, size=1418655)
Total: 9087 ms
tbb::concurrent_hash_map:
Word count: 10397 ms (s=141176630, size=1418655)
Contains: 4691 ms (s=97891799, size=1418655)
Total: 15089 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 6578 ms (s=141176630, size=1418655)
Contains: 5450 ms (s=97891799, size=1418655)
Total: 12028 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 6400 ms (s=141176630, size=1418655)
Contains: 4492 ms (s=97891799, size=1418655)
Total: 10892 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7713 ms (s=141176630, size=1418655)
Contains: 4290 ms (s=97891799, size=1418655)
Total: 12004 ms
---
Number of threads: 4
boost::unordered_flat_map, single threaded: 21737 ms
boost::unordered_flat_map, single threaded, shared_mutex: 25241 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 23930 ms
cfoa, single threaded: 24893 ms
cfoa, tbb::spin_rw_mutex, single threaded: 24770 ms
cfoa, std::shared_mutex, single threaded: 25659 ms
foa::concurrent_table, single threaded: 25772 ms
tbb::concurrent_hash_map, single threaded: 42867 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 10850 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9088 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9770 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10498 ms
cfoa: 8569 ms
cfoa, tbb::spin_rw_mutex: 8924 ms
cfoa, std::shared_mutex: 9323 ms
foa::concurrent_table: 9087 ms
tbb::concurrent_hash_map: 15089 ms
gtl::parallel_flat_hash_map<std::mutex>: 12028 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10892 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12004 ms