Files
boost_unordered_benchmarks/gcc-x86/main.cpp.txt
2023-03-15 13:57:24 -04:00

187 lines
4.3 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 959654
enwik8: 14480868 words, 6921 ms
boost::unordered_flat_map, single threaded:
Word count: 676 ms (s=14480868, size=354032)
Contains: 367 ms (s=7961072, size=354032)
Total: 1044 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 930 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1475 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 712 ms (s=14480868, size=354032)
Contains: 415 ms (s=7961072, size=354032)
Total: 1127 ms
cfoa, single threaded:
Word count: 949 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Total: 1486 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 967 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Total: 1509 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1111 ms (s=14480868, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Total: 1764 ms
foa::concurrent_table, single threaded:
Word count: 949 ms (s=14480868, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Total: 1489 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1458 ms (s=14480868, size=354032)
Contains: 777 ms (s=7961072, size=354032)
Total: 2236 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 464 ms (s=14480868, size=354032)
Contains: 287 ms (s=7961072, size=354032)
Total: 752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 827 ms (s=14480868, size=354032)
Contains: 278 ms (s=7961072, size=354032)
Total: 1105 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 470 ms (s=14480868, size=354032)
Contains: 209 ms (s=7961072, size=354032)
Total: 680 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 405 ms (s=14480868, size=354032)
Contains: 348 ms (s=7961072, size=354032)
Total: 753 ms
cfoa:
Word count: 479 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 661 ms
cfoa, tbb::spin_rw_mutex:
Word count: 508 ms (s=14480868, size=354032)
Contains: 179 ms (s=7961072, size=354032)
Total: 687 ms
cfoa, std::shared_mutex:
Word count: 505 ms (s=14480868, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Total: 716 ms
foa::concurrent_table:
Word count: 678 ms (s=14480868, size=354032)
Contains: 189 ms (s=7961072, size=354032)
Total: 867 ms
tbb::concurrent_hash_map:
Word count: 648 ms (s=14480868, size=354032)
Contains: 227 ms (s=7961072, size=354032)
Total: 876 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 737 ms (s=14480868, size=354032)
Contains: 375 ms (s=7961072, size=354032)
Total: 1113 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 2876 ms (s=14480868, size=354032)
Contains: 322 ms (s=7961072, size=354032)
Total: 3199 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 537 ms (s=14480868, size=354032)
Contains: 449 ms (s=7961072, size=354032)
Total: 986 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1044 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1475 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1127 ms
cfoa, single threaded: 1486 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1509 ms
cfoa, std::shared_mutex, single threaded: 1764 ms
foa::concurrent_table, single threaded: 1489 ms
tbb::concurrent_hash_map, single threaded: 2236 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1105 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 680 ms
boost::unordered_flat_map, sharded isolated, prehashed: 753 ms
cfoa: 661 ms
cfoa, tbb::spin_rw_mutex: 687 ms
cfoa, std::shared_mutex: 716 ms
foa::concurrent_table: 867 ms
tbb::concurrent_hash_map: 876 ms
gtl::parallel_flat_hash_map<std::mutex>: 1113 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3199 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 986 ms