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

187 lines
4.5 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 1472210
enwik9: 141176630 words, 58220 ms
boost::unordered_flat_map, single threaded:
Word count: 4501 ms (s=141176630, size=1418655)
Contains: 3245 ms (s=97891799, size=1418655)
Total: 7747 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6851 ms (s=141176630, size=1418655)
Contains: 4832 ms (s=97891799, size=1418655)
Total: 11683 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5535 ms (s=141176630, size=1418655)
Contains: 3752 ms (s=97891799, size=1418655)
Total: 9287 ms
cfoa, single threaded:
Word count: 7899 ms (s=141176630, size=1418655)
Contains: 4747 ms (s=97891799, size=1418655)
Total: 12646 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7666 ms (s=141176630, size=1418655)
Contains: 4803 ms (s=97891799, size=1418655)
Total: 12469 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8577 ms (s=141176630, size=1418655)
Contains: 5704 ms (s=97891799, size=1418655)
Total: 14281 ms
foa::concurrent_table, single threaded:
Word count: 7454 ms (s=141176630, size=1418655)
Contains: 4793 ms (s=97891799, size=1418655)
Total: 12248 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13890 ms (s=141176630, size=1418655)
Contains: 8048 ms (s=97891799, size=1418655)
Total: 21939 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4150 ms (s=141176630, size=1418655)
Contains: 2376 ms (s=97891799, size=1418655)
Total: 6527 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 16399 ms (s=141176630, size=1418655)
Contains: 2034 ms (s=97891799, size=1418655)
Total: 18433 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5353 ms (s=141176630, size=1418655)
Contains: 1784 ms (s=97891799, size=1418655)
Total: 7137 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3091 ms (s=141176630, size=1418655)
Contains: 2734 ms (s=97891799, size=1418655)
Total: 5825 ms
cfoa:
Word count: 3162 ms (s=141176630, size=1418655)
Contains: 1645 ms (s=97891799, size=1418655)
Total: 4808 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3136 ms (s=141176630, size=1418655)
Contains: 1598 ms (s=97891799, size=1418655)
Total: 4735 ms
cfoa, std::shared_mutex:
Word count: 3021 ms (s=141176630, size=1418655)
Contains: 1849 ms (s=97891799, size=1418655)
Total: 4870 ms
foa::concurrent_table:
Word count: 3207 ms (s=141176630, size=1418655)
Contains: 1618 ms (s=97891799, size=1418655)
Total: 4826 ms
tbb::concurrent_hash_map:
Word count: 5569 ms (s=141176630, size=1418655)
Contains: 1958 ms (s=97891799, size=1418655)
Total: 7528 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5109 ms (s=141176630, size=1418655)
Contains: 2707 ms (s=97891799, size=1418655)
Total: 7817 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 14636 ms (s=141176630, size=1418655)
Contains: 2139 ms (s=97891799, size=1418655)
Total: 16775 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7370 ms (s=141176630, size=1418655)
Contains: 3406 ms (s=97891799, size=1418655)
Total: 10776 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7747 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11683 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9287 ms
cfoa, single threaded: 12646 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12469 ms
cfoa, std::shared_mutex, single threaded: 14281 ms
foa::concurrent_table, single threaded: 12248 ms
tbb::concurrent_hash_map, single threaded: 21939 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6527 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18433 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7137 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5825 ms
cfoa: 4808 ms
cfoa, tbb::spin_rw_mutex: 4735 ms
cfoa, std::shared_mutex: 4870 ms
foa::concurrent_table: 4826 ms
tbb::concurrent_hash_map: 7528 ms
gtl::parallel_flat_hash_map<std::mutex>: 7817 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 16775 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10776 ms