Files
boost_unordered_benchmarks/vs-x64/main.cpp.txt
2023-03-22 15:36:09 -04:00

186 lines
4.4 KiB
Plaintext

enwik9: 141176630 words, 81387 ms
boost::unordered_flat_map, single threaded:
Word count: 12403 ms (s=141176630, size=1418655)
Contains: 8604 ms (s=97891799, size=1418655)
Total: 21007 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 15027 ms (s=141176630, size=1418655)
Contains: 9748 ms (s=97891799, size=1418655)
Total: 24776 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 14240 ms (s=141176630, size=1418655)
Contains: 9555 ms (s=97891799, size=1418655)
Total: 23795 ms
cfoa, single threaded:
Word count: 15228 ms (s=141176630, size=1418655)
Contains: 9485 ms (s=97891799, size=1418655)
Total: 24714 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 15444 ms (s=141176630, size=1418655)
Contains: 10032 ms (s=97891799, size=1418655)
Total: 25477 ms
cfoa, std::shared_mutex, single threaded:
Word count: 15505 ms (s=141176630, size=1418655)
Contains: 9565 ms (s=97891799, size=1418655)
Total: 25070 ms
foa::concurrent_table, single threaded:
Word count: 15682 ms (s=141176630, size=1418655)
Contains: 10014 ms (s=97891799, size=1418655)
Total: 25697 ms
tbb::concurrent_hash_map, single threaded:
Word count: 29168 ms (s=141176630, size=1418655)
Contains: 13427 ms (s=97891799, size=1418655)
Total: 42596 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 7017 ms (s=141176630, size=1418655)
Contains: 4847 ms (s=97891799, size=1418655)
Total: 11864 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 5350 ms (s=141176630, size=1418655)
Contains: 3752 ms (s=97891799, size=1418655)
Total: 9103 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 6032 ms (s=141176630, size=1418655)
Contains: 3530 ms (s=97891799, size=1418655)
Total: 9563 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 5246 ms (s=141176630, size=1418655)
Contains: 5315 ms (s=97891799, size=1418655)
Total: 10561 ms
cfoa:
Word count: 5667 ms (s=141176630, size=1418655)
Contains: 3068 ms (s=97891799, size=1418655)
Total: 8736 ms
cfoa, tbb::spin_rw_mutex:
Word count: 5489 ms (s=141176630, size=1418655)
Contains: 3566 ms (s=97891799, size=1418655)
Total: 9056 ms
cfoa, std::shared_mutex:
Word count: 5886 ms (s=141176630, size=1418655)
Contains: 3452 ms (s=97891799, size=1418655)
Total: 9338 ms
foa::concurrent_table:
Word count: 5783 ms (s=141176630, size=1418655)
Contains: 3984 ms (s=97891799, size=1418655)
Total: 9768 ms
tbb::concurrent_hash_map:
Word count: 10170 ms (s=141176630, size=1418655)
Contains: 4376 ms (s=97891799, size=1418655)
Total: 14547 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 6909 ms (s=141176630, size=1418655)
Contains: 5208 ms (s=97891799, size=1418655)
Total: 12118 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 6356 ms (s=141176630, size=1418655)
Contains: 3955 ms (s=97891799, size=1418655)
Total: 10312 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7782 ms (s=141176630, size=1418655)
Contains: 4151 ms (s=97891799, size=1418655)
Total: 11934 ms
---
Number of threads: 4
boost::unordered_flat_map, single threaded: 21007 ms
boost::unordered_flat_map, single threaded, shared_mutex: 24776 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 23795 ms
cfoa, single threaded: 24714 ms
cfoa, tbb::spin_rw_mutex, single threaded: 25477 ms
cfoa, std::shared_mutex, single threaded: 25070 ms
foa::concurrent_table, single threaded: 25697 ms
tbb::concurrent_hash_map, single threaded: 42596 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 11864 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9103 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9563 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10561 ms
cfoa: 8736 ms
cfoa, tbb::spin_rw_mutex: 9056 ms
cfoa, std::shared_mutex: 9338 ms
foa::concurrent_table: 9768 ms
tbb::concurrent_hash_map: 14547 ms
gtl::parallel_flat_hash_map<std::mutex>: 12118 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10312 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11934 ms