Files
boost_unordered_benchmarks/gcc-x64/main.cpp.txt
2023-03-14 04:53:06 -04:00

187 lines
4.5 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 678672
enwik9: 141176630 words, 58968 ms
boost::unordered_flat_map, single threaded:
Word count: 4527 ms (s=141176630, size=1418655)
Contains: 3265 ms (s=97891799, size=1418655)
Total: 7792 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6883 ms (s=141176630, size=1418655)
Contains: 4841 ms (s=97891799, size=1418655)
Total: 11724 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5561 ms (s=141176630, size=1418655)
Contains: 3751 ms (s=97891799, size=1418655)
Total: 9313 ms
cfoa, single threaded:
Word count: 7929 ms (s=141176630, size=1418655)
Contains: 4772 ms (s=97891799, size=1418655)
Total: 12702 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7697 ms (s=141176630, size=1418655)
Contains: 4799 ms (s=97891799, size=1418655)
Total: 12496 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8584 ms (s=141176630, size=1418655)
Contains: 5705 ms (s=97891799, size=1418655)
Total: 14289 ms
foa::concurrent_table, single threaded:
Word count: 7553 ms (s=141176630, size=1418655)
Contains: 4772 ms (s=97891799, size=1418655)
Total: 12325 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13935 ms (s=141176630, size=1418655)
Contains: 8071 ms (s=97891799, size=1418655)
Total: 22007 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4195 ms (s=141176630, size=1418655)
Contains: 2360 ms (s=97891799, size=1418655)
Total: 6556 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 20758 ms (s=141176630, size=1418655)
Contains: 2068 ms (s=97891799, size=1418655)
Total: 22826 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 6110 ms (s=141176630, size=1418655)
Contains: 1763 ms (s=97891799, size=1418655)
Total: 7874 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3478 ms (s=141176630, size=1418655)
Contains: 2953 ms (s=97891799, size=1418655)
Total: 6432 ms
cfoa:
Word count: 2983 ms (s=141176630, size=1418655)
Contains: 1592 ms (s=97891799, size=1418655)
Total: 4576 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3049 ms (s=141176630, size=1418655)
Contains: 1606 ms (s=97891799, size=1418655)
Total: 4655 ms
cfoa, std::shared_mutex:
Word count: 3122 ms (s=141176630, size=1418655)
Contains: 1776 ms (s=97891799, size=1418655)
Total: 4899 ms
foa::concurrent_table:
Word count: 2997 ms (s=141176630, size=1418655)
Contains: 1570 ms (s=97891799, size=1418655)
Total: 4568 ms
tbb::concurrent_hash_map:
Word count: 5491 ms (s=141176630, size=1418655)
Contains: 1927 ms (s=97891799, size=1418655)
Total: 7418 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5076 ms (s=141176630, size=1418655)
Contains: 2684 ms (s=97891799, size=1418655)
Total: 7761 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 15448 ms (s=141176630, size=1418655)
Contains: 2280 ms (s=97891799, size=1418655)
Total: 17729 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6723 ms (s=141176630, size=1418655)
Contains: 3378 ms (s=97891799, size=1418655)
Total: 10102 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7792 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11724 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9313 ms
cfoa, single threaded: 12702 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12496 ms
cfoa, std::shared_mutex, single threaded: 14289 ms
foa::concurrent_table, single threaded: 12325 ms
tbb::concurrent_hash_map, single threaded: 22007 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6556 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 22826 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7874 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6432 ms
cfoa: 4576 ms
cfoa, tbb::spin_rw_mutex: 4655 ms
cfoa, std::shared_mutex: 4899 ms
foa::concurrent_table: 4568 ms
tbb::concurrent_hash_map: 7418 ms
gtl::parallel_flat_hash_map<std::mutex>: 7761 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 17729 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10102 ms