updated benchmark results

This commit is contained in:
joaquintides
2023-01-14 11:38:03 -05:00
parent a25da7ac1b
commit 6ac2edb341

View File

@@ -1,176 +1,176 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 3652706
enwik9: 141176630 words, 59052 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 3702425
enwik9: 141176630 words, 61688 ms
boost::unordered_flat_map, single threaded:
Word count: 4916 ms (s=141176630, size=1418655)
Word count: 4960 ms (s=141176630, size=1418655)
Contains: 3614 ms (s=97891799, size=1418655)
Contains: 3608 ms (s=97891799, size=1418655)
Total: 8531 ms
Total: 8568 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7395 ms (s=141176630, size=1418655)
Word count: 7394 ms (s=141176630, size=1418655)
Contains: 5249 ms (s=97891799, size=1418655)
Contains: 5241 ms (s=97891799, size=1418655)
Total: 12644 ms
Total: 12635 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5466 ms (s=141176630, size=1418655)
Word count: 5475 ms (s=141176630, size=1418655)
Contains: 4006 ms (s=97891799, size=1418655)
Contains: 4014 ms (s=97891799, size=1418655)
Total: 9472 ms
Total: 9489 ms
concurrent_foa, single threaded:
Word count: 8077 ms (s=141176630, size=1418655)
Word count: 8086 ms (s=141176630, size=1418655)
Contains: 5016 ms (s=97891799, size=1418655)
Contains: 5019 ms (s=97891799, size=1418655)
Total: 13093 ms
Total: 13105 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7990 ms (s=141176630, size=1418655)
Word count: 7995 ms (s=141176630, size=1418655)
Contains: 5207 ms (s=97891799, size=1418655)
Contains: 5209 ms (s=97891799, size=1418655)
Total: 13197 ms
Total: 13205 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8948 ms (s=141176630, size=1418655)
Word count: 8958 ms (s=141176630, size=1418655)
Contains: 6148 ms (s=97891799, size=1418655)
Contains: 6146 ms (s=97891799, size=1418655)
Total: 15097 ms
Total: 15105 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14433 ms (s=141176630, size=1418655)
Word count: 14451 ms (s=141176630, size=1418655)
Contains: 8337 ms (s=97891799, size=1418655)
Contains: 8338 ms (s=97891799, size=1418655)
Total: 22771 ms
Total: 22790 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4300 ms (s=141176630, size=1418655)
Word count: 4303 ms (s=141176630, size=1418655)
Contains: 2445 ms (s=97891799, size=1418655)
Contains: 2354 ms (s=97891799, size=1418655)
Total: 6746 ms
Total: 6657 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12665 ms (s=141176630, size=1418655)
Word count: 16519 ms (s=141176630, size=1418655)
Contains: 2175 ms (s=97891799, size=1418655)
Contains: 2156 ms (s=97891799, size=1418655)
Total: 14840 ms
Total: 18676 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5424 ms (s=141176630, size=1418655)
Word count: 5016 ms (s=141176630, size=1418655)
Contains: 1766 ms (s=97891799, size=1418655)
Contains: 1778 ms (s=97891799, size=1418655)
Total: 7190 ms
Total: 6794 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3992 ms (s=141176630, size=1418655)
Word count: 4161 ms (s=141176630, size=1418655)
Contains: 3788 ms (s=97891799, size=1418655)
Contains: 3683 ms (s=97891799, size=1418655)
Total: 7781 ms
Total: 7844 ms
concurrent foa:
Word count: 2987 ms (s=141176630, size=1418655)
Word count: 3116 ms (s=141176630, size=1418655)
Contains: 1469 ms (s=97891799, size=1418655)
Contains: 1478 ms (s=97891799, size=1418655)
Total: 4457 ms
Total: 4595 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3030 ms (s=141176630, size=1418655)
Word count: 2965 ms (s=141176630, size=1418655)
Contains: 1535 ms (s=97891799, size=1418655)
Total: 4566 ms
Total: 4500 ms
concurrent foa, std::shared_mutex:
Word count: 3085 ms (s=141176630, size=1418655)
Word count: 3158 ms (s=141176630, size=1418655)
Contains: 1824 ms (s=97891799, size=1418655)
Contains: 1760 ms (s=97891799, size=1418655)
Total: 4909 ms
Total: 4919 ms
libcuckoo::cuckoohash_map:
Word count: 12679 ms (s=141176630, size=1418655)
Word count: 12067 ms (s=141176630, size=1418655)
Contains: 11989 ms (s=97891799, size=1418655)
Contains: 12808 ms (s=97891799, size=1418655)
Total: 24669 ms
Total: 24875 ms
tbb::concurrent_hash_map:
Word count: 5581 ms (s=141176630, size=1418655)
Word count: 5496 ms (s=141176630, size=1418655)
Contains: 1919 ms (s=97891799, size=1418655)
Contains: 1998 ms (s=97891799, size=1418655)
Total: 7501 ms
Total: 7494 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4332 ms (s=141176630, size=1418655)
Word count: 4384 ms (s=141176630, size=1418655)
Contains: 2349 ms (s=97891799, size=1418655)
Contains: 2406 ms (s=97891799, size=1418655)
Total: 6681 ms
Total: 6790 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 26201 ms (s=141176630, size=1418655)
Word count: 29626 ms (s=141176630, size=1418655)
Contains: 2298 ms (s=97891799, size=1418655)
Contains: 2356 ms (s=97891799, size=1418655)
Total: 28499 ms
Total: 31982 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7706 ms (s=141176630, size=1418655)
Word count: 6786 ms (s=141176630, size=1418655)
Contains: 3277 ms (s=97891799, size=1418655)
Contains: 3154 ms (s=97891799, size=1418655)
Total: 10984 ms
Total: 9940 ms
---
boost::unordered_flat_map, single threaded: 8531 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12644 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9472 ms
concurrent_foa, single threaded: 13093 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13197 ms
concurrent_foa, std::shared_mutex, single threaded: 15097 ms
tbb::concurrent_hash_map, single threaded: 22771 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6746 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14840 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7190 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7781 ms
concurrent foa: 4457 ms
concurrent foa, tbb::spin_rw_mutex: 4566 ms
concurrent foa, std::shared_mutex: 4909 ms
libcuckoo::cuckoohash_map: 24669 ms
tbb::concurrent_hash_map: 7501 ms
gtl::parallel_flat_hash_map<std::mutex>: 6681 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 28499 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10984 ms
boost::unordered_flat_map, single threaded: 8568 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12635 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9489 ms
concurrent_foa, single threaded: 13105 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13205 ms
concurrent_foa, std::shared_mutex, single threaded: 15105 ms
tbb::concurrent_hash_map, single threaded: 22790 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6657 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18676 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6794 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7844 ms
concurrent foa: 4595 ms
concurrent foa, tbb::spin_rw_mutex: 4500 ms
concurrent foa, std::shared_mutex: 4919 ms
libcuckoo::cuckoohash_map: 24875 ms
tbb::concurrent_hash_map: 7494 ms
gtl::parallel_flat_hash_map<std::mutex>: 6790 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 31982 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9940 ms