Files
boost_unordered_benchmarks/gcc-x86/main.cpp.txt
2023-03-18 14:59:29 -04:00

187 lines
4.3 KiB
Plaintext

cset: --> last message, executed args into cpuset "/user", new pid is: 1659911
enwik8: 14480868 words, 6918 ms
boost::unordered_flat_map, single threaded:
Word count: 686 ms (s=14480868, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 1055 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 935 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 716 ms (s=14480868, size=354032)
Contains: 424 ms (s=7961072, size=354032)
Total: 1140 ms
cfoa, single threaded:
Word count: 980 ms (s=14480868, size=354032)
Contains: 534 ms (s=7961072, size=354032)
Total: 1515 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 986 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1531 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1143 ms (s=14480868, size=354032)
Contains: 649 ms (s=7961072, size=354032)
Total: 1792 ms
foa::concurrent_table, single threaded:
Word count: 970 ms (s=14480868, size=354032)
Contains: 538 ms (s=7961072, size=354032)
Total: 1509 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1478 ms (s=14480868, size=354032)
Contains: 770 ms (s=7961072, size=354032)
Total: 2249 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 477 ms (s=14480868, size=354032)
Contains: 286 ms (s=7961072, size=354032)
Total: 763 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1127 ms (s=14480868, size=354032)
Contains: 282 ms (s=7961072, size=354032)
Total: 1409 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 406 ms (s=14480868, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Total: 613 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 422 ms (s=14480868, size=354032)
Contains: 340 ms (s=7961072, size=354032)
Total: 763 ms
cfoa:
Word count: 621 ms (s=14480868, size=354032)
Contains: 185 ms (s=7961072, size=354032)
Total: 806 ms
cfoa, tbb::spin_rw_mutex:
Word count: 818 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Total: 1009 ms
cfoa, std::shared_mutex:
Word count: 597 ms (s=14480868, size=354032)
Contains: 218 ms (s=7961072, size=354032)
Total: 816 ms
foa::concurrent_table:
Word count: 651 ms (s=14480868, size=354032)
Contains: 168 ms (s=7961072, size=354032)
Total: 820 ms
tbb::concurrent_hash_map:
Word count: 646 ms (s=14480868, size=354032)
Contains: 216 ms (s=7961072, size=354032)
Total: 862 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 735 ms (s=14480868, size=354032)
Contains: 362 ms (s=7961072, size=354032)
Total: 1098 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1677 ms (s=14480868, size=354032)
Contains: 304 ms (s=7961072, size=354032)
Total: 1982 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 543 ms (s=14480868, size=354032)
Contains: 577 ms (s=7961072, size=354032)
Total: 1121 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1055 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1140 ms
cfoa, single threaded: 1515 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1531 ms
cfoa, std::shared_mutex, single threaded: 1792 ms
foa::concurrent_table, single threaded: 1509 ms
tbb::concurrent_hash_map, single threaded: 2249 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 763 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1409 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 613 ms
boost::unordered_flat_map, sharded isolated, prehashed: 763 ms
cfoa: 806 ms
cfoa, tbb::spin_rw_mutex: 1009 ms
cfoa, std::shared_mutex: 816 ms
foa::concurrent_table: 820 ms
tbb::concurrent_hash_map: 862 ms
gtl::parallel_flat_hash_map<std::mutex>: 1098 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1982 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1121 ms