Files
boost_unordered_benchmarks/gcc-x64/main.cpp.txt
2023-03-21 15:01:54 -04:00

187 lines
4.5 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 2054505
enwik9: 141176630 words, 58925 ms
boost::unordered_flat_map, single threaded:
Word count: 4719 ms (s=141176630, size=1418655)
Contains: 3291 ms (s=97891799, size=1418655)
Total: 8010 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7067 ms (s=141176630, size=1418655)
Contains: 4886 ms (s=97891799, size=1418655)
Total: 11953 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5749 ms (s=141176630, size=1418655)
Contains: 3826 ms (s=97891799, size=1418655)
Total: 9575 ms
cfoa, single threaded:
Word count: 8138 ms (s=141176630, size=1418655)
Contains: 4861 ms (s=97891799, size=1418655)
Total: 12999 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7946 ms (s=141176630, size=1418655)
Contains: 4819 ms (s=97891799, size=1418655)
Total: 12765 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8937 ms (s=141176630, size=1418655)
Contains: 5738 ms (s=97891799, size=1418655)
Total: 14676 ms
foa::concurrent_table, single threaded:
Word count: 7598 ms (s=141176630, size=1418655)
Contains: 4705 ms (s=97891799, size=1418655)
Total: 12303 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14261 ms (s=141176630, size=1418655)
Contains: 8233 ms (s=97891799, size=1418655)
Total: 22494 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4122 ms (s=141176630, size=1418655)
Contains: 2408 ms (s=97891799, size=1418655)
Total: 6530 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 16234 ms (s=141176630, size=1418655)
Contains: 2062 ms (s=97891799, size=1418655)
Total: 18297 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5309 ms (s=141176630, size=1418655)
Contains: 1772 ms (s=97891799, size=1418655)
Total: 7081 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3137 ms (s=141176630, size=1418655)
Contains: 2733 ms (s=97891799, size=1418655)
Total: 5871 ms
cfoa:
Word count: 3259 ms (s=141176630, size=1418655)
Contains: 1612 ms (s=97891799, size=1418655)
Total: 4872 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3476 ms (s=141176630, size=1418655)
Contains: 1609 ms (s=97891799, size=1418655)
Total: 5086 ms
cfoa, std::shared_mutex:
Word count: 3124 ms (s=141176630, size=1418655)
Contains: 1846 ms (s=97891799, size=1418655)
Total: 4971 ms
foa::concurrent_table:
Word count: 3024 ms (s=141176630, size=1418655)
Contains: 1447 ms (s=97891799, size=1418655)
Total: 4471 ms
tbb::concurrent_hash_map:
Word count: 5371 ms (s=141176630, size=1418655)
Contains: 1936 ms (s=97891799, size=1418655)
Total: 7308 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5069 ms (s=141176630, size=1418655)
Contains: 2656 ms (s=97891799, size=1418655)
Total: 7726 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 13241 ms (s=141176630, size=1418655)
Contains: 2129 ms (s=97891799, size=1418655)
Total: 15371 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6806 ms (s=141176630, size=1418655)
Contains: 3297 ms (s=97891799, size=1418655)
Total: 10103 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 8010 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11953 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9575 ms
cfoa, single threaded: 12999 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12765 ms
cfoa, std::shared_mutex, single threaded: 14676 ms
foa::concurrent_table, single threaded: 12303 ms
tbb::concurrent_hash_map, single threaded: 22494 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6530 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18297 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7081 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5871 ms
cfoa: 4872 ms
cfoa, tbb::spin_rw_mutex: 5086 ms
cfoa, std::shared_mutex: 4971 ms
foa::concurrent_table: 4471 ms
tbb::concurrent_hash_map: 7308 ms
gtl::parallel_flat_hash_map<std::mutex>: 7726 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 15371 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10103 ms