Files
boost_unordered_benchmarks/gcc-x86/main.cpp.txt
2023-03-18 07:17:31 -04:00

187 lines
4.3 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 1517756
enwik8: 14480868 words, 6927 ms
boost::unordered_flat_map, single threaded:
Word count: 682 ms (s=14480868, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 1051 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 935 ms (s=14480868, size=354032)
Contains: 562 ms (s=7961072, size=354032)
Total: 1497 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 714 ms (s=14480868, size=354032)
Contains: 415 ms (s=7961072, size=354032)
Total: 1130 ms
cfoa, single threaded:
Word count: 983 ms (s=14480868, size=354032)
Contains: 536 ms (s=7961072, size=354032)
Total: 1519 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 991 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1534 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1143 ms (s=14480868, size=354032)
Contains: 651 ms (s=7961072, size=354032)
Total: 1794 ms
foa::concurrent_table, single threaded:
Word count: 971 ms (s=14480868, size=354032)
Contains: 539 ms (s=7961072, size=354032)
Total: 1511 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1459 ms (s=14480868, size=354032)
Contains: 773 ms (s=7961072, size=354032)
Total: 2232 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 495 ms (s=14480868, size=354032)
Contains: 279 ms (s=7961072, size=354032)
Total: 774 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 803 ms (s=14480868, size=354032)
Contains: 282 ms (s=7961072, size=354032)
Total: 1085 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 387 ms (s=14480868, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Total: 593 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 433 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Total: 754 ms
cfoa:
Word count: 673 ms (s=14480868, size=354032)
Contains: 194 ms (s=7961072, size=354032)
Total: 868 ms
cfoa, tbb::spin_rw_mutex:
Word count: 673 ms (s=14480868, size=354032)
Contains: 181 ms (s=7961072, size=354032)
Total: 855 ms
cfoa, std::shared_mutex:
Word count: 600 ms (s=14480868, size=354032)
Contains: 212 ms (s=7961072, size=354032)
Total: 812 ms
foa::concurrent_table:
Word count: 543 ms (s=14480868, size=354032)
Contains: 169 ms (s=7961072, size=354032)
Total: 713 ms
tbb::concurrent_hash_map:
Word count: 661 ms (s=14480868, size=354032)
Contains: 245 ms (s=7961072, size=354032)
Total: 906 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 735 ms (s=14480868, size=354032)
Contains: 371 ms (s=7961072, size=354032)
Total: 1106 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1134 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Total: 1455 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 479 ms (s=14480868, size=354032)
Contains: 373 ms (s=7961072, size=354032)
Total: 853 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1051 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1497 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1130 ms
cfoa, single threaded: 1519 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1534 ms
cfoa, std::shared_mutex, single threaded: 1794 ms
foa::concurrent_table, single threaded: 1511 ms
tbb::concurrent_hash_map, single threaded: 2232 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 774 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1085 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 593 ms
boost::unordered_flat_map, sharded isolated, prehashed: 754 ms
cfoa: 868 ms
cfoa, tbb::spin_rw_mutex: 855 ms
cfoa, std::shared_mutex: 812 ms
foa::concurrent_table: 713 ms
tbb::concurrent_hash_map: 906 ms
gtl::parallel_flat_hash_map<std::mutex>: 1106 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1455 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 853 ms