Files
boost_unordered_benchmarks/gcc-x86/main.cpp.txt
2023-03-22 15:39:39 -04:00

187 lines
4.3 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 2402866
enwik8: 14480868 words, 6931 ms
boost::unordered_flat_map, single threaded:
Word count: 684 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Total: 1053 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 937 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Total: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 715 ms (s=14480868, size=354032)
Contains: 423 ms (s=7961072, size=354032)
Total: 1139 ms
cfoa, single threaded:
Word count: 978 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Total: 1516 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 989 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1533 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1147 ms (s=14480868, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Total: 1799 ms
foa::concurrent_table, single threaded:
Word count: 958 ms (s=14480868, size=354032)
Contains: 539 ms (s=7961072, size=354032)
Total: 1497 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1471 ms (s=14480868, size=354032)
Contains: 773 ms (s=7961072, size=354032)
Total: 2245 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 469 ms (s=14480868, size=354032)
Contains: 295 ms (s=7961072, size=354032)
Total: 764 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1246 ms (s=14480868, size=354032)
Contains: 281 ms (s=7961072, size=354032)
Total: 1527 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 395 ms (s=14480868, size=354032)
Contains: 214 ms (s=7961072, size=354032)
Total: 610 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 413 ms (s=14480868, size=354032)
Contains: 341 ms (s=7961072, size=354032)
Total: 754 ms
cfoa:
Word count: 630 ms (s=14480868, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Total: 817 ms
cfoa, tbb::spin_rw_mutex:
Word count: 700 ms (s=14480868, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Total: 879 ms
cfoa, std::shared_mutex:
Word count: 580 ms (s=14480868, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Total: 787 ms
foa::concurrent_table:
Word count: 511 ms (s=14480868, size=354032)
Contains: 164 ms (s=7961072, size=354032)
Total: 676 ms
tbb::concurrent_hash_map:
Word count: 631 ms (s=14480868, size=354032)
Contains: 221 ms (s=7961072, size=354032)
Total: 853 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 743 ms (s=14480868, size=354032)
Contains: 376 ms (s=7961072, size=354032)
Total: 1119 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 3872 ms (s=14480868, size=354032)
Contains: 306 ms (s=7961072, size=354032)
Total: 4179 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 659 ms (s=14480868, size=354032)
Contains: 338 ms (s=7961072, size=354032)
Total: 998 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1053 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms
cfoa, single threaded: 1516 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1533 ms
cfoa, std::shared_mutex, single threaded: 1799 ms
foa::concurrent_table, single threaded: 1497 ms
tbb::concurrent_hash_map, single threaded: 2245 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 764 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1527 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 610 ms
boost::unordered_flat_map, sharded isolated, prehashed: 754 ms
cfoa: 817 ms
cfoa, tbb::spin_rw_mutex: 879 ms
cfoa, std::shared_mutex: 787 ms
foa::concurrent_table: 676 ms
tbb::concurrent_hash_map: 853 ms
gtl::parallel_flat_hash_map<std::mutex>: 1119 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 4179 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 998 ms