Files
boost_unordered_benchmarks/clang-x64/main.cpp.txt
2023-01-14 04:23:56 -05:00

177 lines
4.3 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 3596845
enwik9: 141176630 words, 59463 ms
boost::unordered_flat_map, single threaded:
Word count: 5510 ms (s=141176630, size=1418655)
Contains: 4039 ms (s=97891799, size=1418655)
Total: 9550 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7754 ms (s=141176630, size=1418655)
Contains: 5506 ms (s=97891799, size=1418655)
Total: 13261 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 6202 ms (s=141176630, size=1418655)
Contains: 4365 ms (s=97891799, size=1418655)
Total: 10568 ms
concurrent_foa, single threaded:
Word count: 7816 ms (s=141176630, size=1418655)
Contains: 5461 ms (s=97891799, size=1418655)
Total: 13277 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7834 ms (s=141176630, size=1418655)
Contains: 5442 ms (s=97891799, size=1418655)
Total: 13277 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8946 ms (s=141176630, size=1418655)
Contains: 6472 ms (s=97891799, size=1418655)
Total: 15418 ms
tbb::concurrent_hash_map, single threaded:
Word count: 15350 ms (s=141176630, size=1418655)
Contains: 8701 ms (s=97891799, size=1418655)
Total: 24052 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4296 ms (s=141176630, size=1418655)
Contains: 2341 ms (s=97891799, size=1418655)
Total: 6638 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 14394 ms (s=141176630, size=1418655)
Contains: 2126 ms (s=97891799, size=1418655)
Total: 16520 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5436 ms (s=141176630, size=1418655)
Contains: 1748 ms (s=97891799, size=1418655)
Total: 7184 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3988 ms (s=141176630, size=1418655)
Contains: 3705 ms (s=97891799, size=1418655)
Total: 7693 ms
concurrent foa:
Word count: 3103 ms (s=141176630, size=1418655)
Contains: 1565 ms (s=97891799, size=1418655)
Total: 4669 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3017 ms (s=141176630, size=1418655)
Contains: 1543 ms (s=97891799, size=1418655)
Total: 4560 ms
concurrent foa, std::shared_mutex:
Word count: 3392 ms (s=141176630, size=1418655)
Contains: 1835 ms (s=97891799, size=1418655)
Total: 5228 ms
libcuckoo::cuckoohash_map:
Word count: 12361 ms (s=141176630, size=1418655)
Contains: 13640 ms (s=97891799, size=1418655)
Total: 26002 ms
tbb::concurrent_hash_map:
Word count: 5533 ms (s=141176630, size=1418655)
Contains: 1979 ms (s=97891799, size=1418655)
Total: 7512 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5443 ms (s=141176630, size=1418655)
Contains: 2765 ms (s=97891799, size=1418655)
Total: 8209 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 19726 ms (s=141176630, size=1418655)
Contains: 2813 ms (s=97891799, size=1418655)
Total: 22539 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7555 ms (s=141176630, size=1418655)
Contains: 4039 ms (s=97891799, size=1418655)
Total: 11594 ms
---
boost::unordered_flat_map, single threaded: 9550 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13261 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10568 ms
concurrent_foa, single threaded: 13277 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13277 ms
concurrent_foa, std::shared_mutex, single threaded: 15418 ms
tbb::concurrent_hash_map, single threaded: 24052 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6638 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16520 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7184 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms
concurrent foa: 4669 ms
concurrent foa, tbb::spin_rw_mutex: 4560 ms
concurrent foa, std::shared_mutex: 5228 ms
libcuckoo::cuckoohash_map: 26002 ms
tbb::concurrent_hash_map: 7512 ms
gtl::parallel_flat_hash_map<std::mutex>: 8209 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 22539 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11594 ms