Files
boost_unordered_benchmarks/gcc-x64/main.cpp.txt
2023-03-25 08:05:31 -04:00

187 lines
4.5 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 2680943
enwik9: 141176630 words, 59153 ms
boost::unordered_flat_map, single threaded:
Word count: 4494 ms (s=141176630, size=1418655)
Contains: 3256 ms (s=97891799, size=1418655)
Total: 7750 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6843 ms (s=141176630, size=1418655)
Contains: 4851 ms (s=97891799, size=1418655)
Total: 11694 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5507 ms (s=141176630, size=1418655)
Contains: 3770 ms (s=97891799, size=1418655)
Total: 9277 ms
cfoa, single threaded:
Word count: 7903 ms (s=141176630, size=1418655)
Contains: 4794 ms (s=97891799, size=1418655)
Total: 12698 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7747 ms (s=141176630, size=1418655)
Contains: 4799 ms (s=97891799, size=1418655)
Total: 12547 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8809 ms (s=141176630, size=1418655)
Contains: 5699 ms (s=97891799, size=1418655)
Total: 14509 ms
foa::concurrent_table, single threaded:
Word count: 6810 ms (s=141176630, size=1418655)
Contains: 4676 ms (s=97891799, size=1418655)
Total: 11486 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13903 ms (s=141176630, size=1418655)
Contains: 8027 ms (s=97891799, size=1418655)
Total: 21931 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4103 ms (s=141176630, size=1418655)
Contains: 2378 ms (s=97891799, size=1418655)
Total: 6481 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 14143 ms (s=141176630, size=1418655)
Contains: 2077 ms (s=97891799, size=1418655)
Total: 16220 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5379 ms (s=141176630, size=1418655)
Contains: 1759 ms (s=97891799, size=1418655)
Total: 7139 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3043 ms (s=141176630, size=1418655)
Contains: 2785 ms (s=97891799, size=1418655)
Total: 5829 ms
cfoa:
Word count: 3164 ms (s=141176630, size=1418655)
Contains: 1577 ms (s=97891799, size=1418655)
Total: 4742 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3231 ms (s=141176630, size=1418655)
Contains: 1586 ms (s=97891799, size=1418655)
Total: 4818 ms
cfoa, std::shared_mutex:
Word count: 3080 ms (s=141176630, size=1418655)
Contains: 1796 ms (s=97891799, size=1418655)
Total: 4876 ms
foa::concurrent_table:
Word count: 4375 ms (s=141176630, size=1418655)
Contains: 1445 ms (s=97891799, size=1418655)
Total: 5821 ms
tbb::concurrent_hash_map:
Word count: 5627 ms (s=141176630, size=1418655)
Contains: 1988 ms (s=97891799, size=1418655)
Total: 7616 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5127 ms (s=141176630, size=1418655)
Contains: 2635 ms (s=97891799, size=1418655)
Total: 7763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 16878 ms (s=141176630, size=1418655)
Contains: 2230 ms (s=97891799, size=1418655)
Total: 19108 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6724 ms (s=141176630, size=1418655)
Contains: 3540 ms (s=97891799, size=1418655)
Total: 10264 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7750 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11694 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9277 ms
cfoa, single threaded: 12698 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12547 ms
cfoa, std::shared_mutex, single threaded: 14509 ms
foa::concurrent_table, single threaded: 11486 ms
tbb::concurrent_hash_map, single threaded: 21931 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6481 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16220 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7139 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5829 ms
cfoa: 4742 ms
cfoa, tbb::spin_rw_mutex: 4818 ms
cfoa, std::shared_mutex: 4876 ms
foa::concurrent_table: 5821 ms
tbb::concurrent_hash_map: 7616 ms
gtl::parallel_flat_hash_map<std::mutex>: 7763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 19108 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10264 ms