Files
boost_unordered_benchmarks/gcc-x86/main.cpp.txt
2023-01-21 06:00:50 -05:00

169 lines
4.0 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 960516
enwik8: 14480868 words, 7021 ms
boost::unordered_flat_map, single threaded:
Word count: 582 ms (s=14480868, size=354032)
Contains: 377 ms (s=7961072, size=354032)
Total: 960 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 839 ms (s=14480868, size=354032)
Contains: 559 ms (s=7961072, size=354032)
Total: 1399 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 712 ms (s=14480868, size=354032)
Contains: 435 ms (s=7961072, size=354032)
Total: 1148 ms
concurrent_foa, single threaded:
Word count: 940 ms (s=14480868, size=354032)
Contains: 555 ms (s=7961072, size=354032)
Total: 1495 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 950 ms (s=14480868, size=354032)
Contains: 554 ms (s=7961072, size=354032)
Total: 1505 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 1125 ms (s=14480868, size=354032)
Contains: 661 ms (s=7961072, size=354032)
Total: 1786 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1456 ms (s=14480868, size=354032)
Contains: 793 ms (s=7961072, size=354032)
Total: 2250 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 566 ms (s=14480868, size=354032)
Contains: 275 ms (s=7961072, size=354032)
Total: 841 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 582 ms (s=14480868, size=354032)
Contains: 269 ms (s=7961072, size=354032)
Total: 852 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 434 ms (s=14480868, size=354032)
Contains: 208 ms (s=7961072, size=354032)
Total: 643 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 446 ms (s=14480868, size=354032)
Contains: 374 ms (s=7961072, size=354032)
Total: 821 ms
concurrent foa:
Word count: 423 ms (s=14480868, size=354032)
Contains: 170 ms (s=7961072, size=354032)
Total: 594 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 402 ms (s=14480868, size=354032)
Contains: 164 ms (s=7961072, size=354032)
Total: 567 ms
concurrent foa, std::shared_mutex:
Word count: 407 ms (s=14480868, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Total: 586 ms
tbb::concurrent_hash_map:
Word count: 627 ms (s=14480868, size=354032)
Contains: 223 ms (s=7961072, size=354032)
Total: 851 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 685 ms (s=14480868, size=354032)
Contains: 454 ms (s=7961072, size=354032)
Total: 1139 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 971 ms (s=14480868, size=354032)
Contains: 323 ms (s=7961072, size=354032)
Total: 1294 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 494 ms (s=14480868, size=354032)
Contains: 298 ms (s=7961072, size=354032)
Total: 792 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 960 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1399 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1148 ms
concurrent_foa, single threaded: 1495 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1505 ms
concurrent_foa, std::shared_mutex, single threaded: 1786 ms
tbb::concurrent_hash_map, single threaded: 2250 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 841 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 852 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 643 ms
boost::unordered_flat_map, sharded isolated, prehashed: 821 ms
concurrent foa: 594 ms
concurrent foa, tbb::spin_rw_mutex: 567 ms
concurrent foa, std::shared_mutex: 586 ms
tbb::concurrent_hash_map: 851 ms
gtl::parallel_flat_hash_map<std::mutex>: 1139 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1294 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 792 ms