updated benchmark results

This commit is contained in:
joaquintides
2023-01-16 07:44:19 -05:00
parent 274832ffb5
commit 8d34667bf7

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 4000778
enwik9: 141176630 words, 59356 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 4038982
enwik9: 141176630 words, 59329 ms
boost::unordered_flat_map, single threaded:
Word count: 5282 ms (s=141176630, size=1418655)
Word count: 5277 ms (s=141176630, size=1418655)
Contains: 4033 ms (s=97891799, size=1418655)
Contains: 4029 ms (s=97891799, size=1418655)
Total: 9316 ms
Total: 9307 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7460 ms (s=141176630, size=1418655)
Word count: 7457 ms (s=141176630, size=1418655)
Contains: 5497 ms (s=97891799, size=1418655)
Contains: 5504 ms (s=97891799, size=1418655)
Total: 12957 ms
Total: 12961 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5986 ms (s=141176630, size=1418655)
Word count: 5984 ms (s=141176630, size=1418655)
Contains: 4361 ms (s=97891799, size=1418655)
Contains: 4359 ms (s=97891799, size=1418655)
Total: 10348 ms
Total: 10344 ms
concurrent_foa, single threaded:
Word count: 7511 ms (s=141176630, size=1418655)
Word count: 7512 ms (s=141176630, size=1418655)
Contains: 5383 ms (s=97891799, size=1418655)
Contains: 5385 ms (s=97891799, size=1418655)
Total: 12895 ms
Total: 12897 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7573 ms (s=141176630, size=1418655)
Word count: 7575 ms (s=141176630, size=1418655)
Contains: 5345 ms (s=97891799, size=1418655)
Contains: 5351 ms (s=97891799, size=1418655)
Total: 12918 ms
Total: 12926 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8589 ms (s=141176630, size=1418655)
Word count: 8595 ms (s=141176630, size=1418655)
Contains: 6299 ms (s=97891799, size=1418655)
Contains: 6309 ms (s=97891799, size=1418655)
Total: 14889 ms
Total: 14904 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14810 ms (s=141176630, size=1418655)
Word count: 14811 ms (s=141176630, size=1418655)
Contains: 8368 ms (s=97891799, size=1418655)
Contains: 8367 ms (s=97891799, size=1418655)
Total: 23178 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4249 ms (s=141176630, size=1418655)
Word count: 4250 ms (s=141176630, size=1418655)
Contains: 2439 ms (s=97891799, size=1418655)
Contains: 2286 ms (s=97891799, size=1418655)
Total: 6688 ms
Total: 6537 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12430 ms (s=141176630, size=1418655)
Word count: 12897 ms (s=141176630, size=1418655)
Contains: 2150 ms (s=97891799, size=1418655)
Contains: 2156 ms (s=97891799, size=1418655)
Total: 14580 ms
Total: 15053 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5216 ms (s=141176630, size=1418655)
Word count: 6096 ms (s=141176630, size=1418655)
Contains: 1792 ms (s=97891799, size=1418655)
Contains: 1752 ms (s=97891799, size=1418655)
Total: 7008 ms
Total: 7848 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3943 ms (s=141176630, size=1418655)
Word count: 3928 ms (s=141176630, size=1418655)
Contains: 3553 ms (s=97891799, size=1418655)
Contains: 3550 ms (s=97891799, size=1418655)
Total: 7497 ms
Total: 7479 ms
concurrent foa:
Word count: 3190 ms (s=141176630, size=1418655)
Word count: 3264 ms (s=141176630, size=1418655)
Contains: 1749 ms (s=97891799, size=1418655)
Contains: 1714 ms (s=97891799, size=1418655)
Total: 4939 ms
Total: 4978 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3060 ms (s=141176630, size=1418655)
Word count: 3194 ms (s=141176630, size=1418655)
Contains: 1678 ms (s=97891799, size=1418655)
Contains: 1659 ms (s=97891799, size=1418655)
Total: 4738 ms
Total: 4853 ms
concurrent foa, std::shared_mutex:
Word count: 3263 ms (s=141176630, size=1418655)
Word count: 3087 ms (s=141176630, size=1418655)
Contains: 1965 ms (s=97891799, size=1418655)
Contains: 1956 ms (s=97891799, size=1418655)
Total: 5228 ms
Total: 5043 ms
tbb::concurrent_hash_map:
Word count: 5612 ms (s=141176630, size=1418655)
Word count: 5553 ms (s=141176630, size=1418655)
Contains: 1978 ms (s=97891799, size=1418655)
Contains: 1972 ms (s=97891799, size=1418655)
Total: 7591 ms
Total: 7526 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5493 ms (s=141176630, size=1418655)
Word count: 5460 ms (s=141176630, size=1418655)
Contains: 2849 ms (s=97891799, size=1418655)
Contains: 2864 ms (s=97891799, size=1418655)
Total: 8342 ms
Total: 8324 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 15232 ms (s=141176630, size=1418655)
Word count: 16698 ms (s=141176630, size=1418655)
Contains: 2811 ms (s=97891799, size=1418655)
Contains: 2797 ms (s=97891799, size=1418655)
Total: 18044 ms
Total: 19495 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 8578 ms (s=141176630, size=1418655)
Word count: 7803 ms (s=141176630, size=1418655)
Contains: 4029 ms (s=97891799, size=1418655)
Contains: 4205 ms (s=97891799, size=1418655)
Total: 12608 ms
Total: 12008 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9316 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12957 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10348 ms
concurrent_foa, single threaded: 12895 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12918 ms
concurrent_foa, std::shared_mutex, single threaded: 14889 ms
boost::unordered_flat_map, single threaded: 9307 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12961 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10344 ms
concurrent_foa, single threaded: 12897 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12926 ms
concurrent_foa, std::shared_mutex, single threaded: 14904 ms
tbb::concurrent_hash_map, single threaded: 23178 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6688 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14580 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7008 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7497 ms
concurrent foa: 4939 ms
concurrent foa, tbb::spin_rw_mutex: 4738 ms
concurrent foa, std::shared_mutex: 5228 ms
tbb::concurrent_hash_map: 7591 ms
gtl::parallel_flat_hash_map<std::mutex>: 8342 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 18044 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12608 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6537 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 15053 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7848 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7479 ms
concurrent foa: 4978 ms
concurrent foa, tbb::spin_rw_mutex: 4853 ms
concurrent foa, std::shared_mutex: 5043 ms
tbb::concurrent_hash_map: 7526 ms
gtl::parallel_flat_hash_map<std::mutex>: 8324 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 19495 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12008 ms