updated benchmark results

This commit is contained in:
joaquintides
2023-01-21 04:02:36 -05:00
parent a52dcf38c7
commit 76fe30aaaa

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 764177
enwik9: 141176630 words, 59729 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 851960
enwik9: 141176630 words, 59899 ms
boost::unordered_flat_map, single threaded:
Word count: 5284 ms (s=141176630, size=1418655)
Word count: 5282 ms (s=141176630, size=1418655)
Contains: 3966 ms (s=97891799, size=1418655)
Contains: 3960 ms (s=97891799, size=1418655)
Total: 9251 ms
Total: 9242 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7583 ms (s=141176630, size=1418655)
Word count: 7598 ms (s=141176630, size=1418655)
Contains: 5436 ms (s=97891799, size=1418655)
Contains: 5433 ms (s=97891799, size=1418655)
Total: 13020 ms
Total: 13032 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 6011 ms (s=141176630, size=1418655)
Word count: 5999 ms (s=141176630, size=1418655)
Contains: 4338 ms (s=97891799, size=1418655)
Contains: 4327 ms (s=97891799, size=1418655)
Total: 10349 ms
Total: 10326 ms
concurrent_foa, single threaded:
Word count: 7342 ms (s=141176630, size=1418655)
Word count: 7320 ms (s=141176630, size=1418655)
Contains: 5302 ms (s=97891799, size=1418655)
Contains: 5273 ms (s=97891799, size=1418655)
Total: 12645 ms
Total: 12594 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7371 ms (s=141176630, size=1418655)
Word count: 7356 ms (s=141176630, size=1418655)
Contains: 5222 ms (s=97891799, size=1418655)
Contains: 5212 ms (s=97891799, size=1418655)
Total: 12593 ms
Total: 12568 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8567 ms (s=141176630, size=1418655)
Word count: 8560 ms (s=141176630, size=1418655)
Contains: 6194 ms (s=97891799, size=1418655)
Contains: 6225 ms (s=97891799, size=1418655)
Total: 14762 ms
Total: 14785 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14915 ms (s=141176630, size=1418655)
Word count: 14893 ms (s=141176630, size=1418655)
Contains: 8426 ms (s=97891799, size=1418655)
Contains: 8417 ms (s=97891799, size=1418655)
Total: 23342 ms
Total: 23310 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4343 ms (s=141176630, size=1418655)
Word count: 4242 ms (s=141176630, size=1418655)
Contains: 2301 ms (s=97891799, size=1418655)
Contains: 2363 ms (s=97891799, size=1418655)
Total: 6645 ms
Total: 6606 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12131 ms (s=141176630, size=1418655)
Word count: 11305 ms (s=141176630, size=1418655)
Contains: 2160 ms (s=97891799, size=1418655)
Contains: 2166 ms (s=97891799, size=1418655)
Total: 14292 ms
Total: 13472 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5708 ms (s=141176630, size=1418655)
Word count: 5810 ms (s=141176630, size=1418655)
Contains: 1758 ms (s=97891799, size=1418655)
Contains: 1780 ms (s=97891799, size=1418655)
Total: 7467 ms
Total: 7591 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 4081 ms (s=141176630, size=1418655)
Word count: 3964 ms (s=141176630, size=1418655)
Contains: 3549 ms (s=97891799, size=1418655)
Contains: 3408 ms (s=97891799, size=1418655)
Total: 7630 ms
Total: 7372 ms
concurrent foa:
Word count: 3063 ms (s=141176630, size=1418655)
Word count: 3175 ms (s=141176630, size=1418655)
Contains: 1658 ms (s=97891799, size=1418655)
Contains: 1656 ms (s=97891799, size=1418655)
Total: 4721 ms
Total: 4832 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3228 ms (s=141176630, size=1418655)
Word count: 2961 ms (s=141176630, size=1418655)
Contains: 1650 ms (s=97891799, size=1418655)
Contains: 1636 ms (s=97891799, size=1418655)
Total: 4878 ms
Total: 4597 ms
concurrent foa, std::shared_mutex:
Word count: 3300 ms (s=141176630, size=1418655)
Word count: 3139 ms (s=141176630, size=1418655)
Contains: 1869 ms (s=97891799, size=1418655)
Contains: 1923 ms (s=97891799, size=1418655)
Total: 5169 ms
Total: 5063 ms
tbb::concurrent_hash_map:
Word count: 5540 ms (s=141176630, size=1418655)
Word count: 5698 ms (s=141176630, size=1418655)
Contains: 1976 ms (s=97891799, size=1418655)
Contains: 1968 ms (s=97891799, size=1418655)
Total: 7516 ms
Total: 7666 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5524 ms (s=141176630, size=1418655)
Word count: 5454 ms (s=141176630, size=1418655)
Contains: 2774 ms (s=97891799, size=1418655)
Contains: 2777 ms (s=97891799, size=1418655)
Total: 8299 ms
Total: 8231 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 16483 ms (s=141176630, size=1418655)
Word count: 21140 ms (s=141176630, size=1418655)
Contains: 2734 ms (s=97891799, size=1418655)
Contains: 2826 ms (s=97891799, size=1418655)
Total: 19218 ms
Total: 23967 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 8060 ms (s=141176630, size=1418655)
Word count: 7591 ms (s=141176630, size=1418655)
Contains: 4306 ms (s=97891799, size=1418655)
Contains: 4278 ms (s=97891799, size=1418655)
Total: 12366 ms
Total: 11869 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9251 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13020 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10349 ms
concurrent_foa, single threaded: 12645 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12593 ms
concurrent_foa, std::shared_mutex, single threaded: 14762 ms
tbb::concurrent_hash_map, single threaded: 23342 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6645 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14292 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7467 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7630 ms
concurrent foa: 4721 ms
concurrent foa, tbb::spin_rw_mutex: 4878 ms
concurrent foa, std::shared_mutex: 5169 ms
tbb::concurrent_hash_map: 7516 ms
gtl::parallel_flat_hash_map<std::mutex>: 8299 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 19218 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12366 ms
boost::unordered_flat_map, single threaded: 9242 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13032 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10326 ms
concurrent_foa, single threaded: 12594 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12568 ms
concurrent_foa, std::shared_mutex, single threaded: 14785 ms
tbb::concurrent_hash_map, single threaded: 23310 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6606 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13472 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7591 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7372 ms
concurrent foa: 4832 ms
concurrent foa, tbb::spin_rw_mutex: 4597 ms
concurrent foa, std::shared_mutex: 5063 ms
tbb::concurrent_hash_map: 7666 ms
gtl::parallel_flat_hash_map<std::mutex>: 8231 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 23967 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11869 ms