updated benchmark results

This commit is contained in:
joaquintides
2023-01-16 07:02:39 -05:00
parent 33d93c9def
commit 1a3ec7a09d

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 3964950
enwik9: 141176630 words, 59709 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 4000778
enwik9: 141176630 words, 59356 ms
boost::unordered_flat_map, single threaded:
Word count: 5265 ms (s=141176630, size=1418655)
Word count: 5282 ms (s=141176630, size=1418655)
Contains: 3962 ms (s=97891799, size=1418655)
Contains: 4033 ms (s=97891799, size=1418655)
Total: 9228 ms
Total: 9316 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7579 ms (s=141176630, size=1418655)
Word count: 7460 ms (s=141176630, size=1418655)
Contains: 5439 ms (s=97891799, size=1418655)
Contains: 5497 ms (s=97891799, size=1418655)
Total: 13019 ms
Total: 12957 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5985 ms (s=141176630, size=1418655)
Word count: 5986 ms (s=141176630, size=1418655)
Contains: 4328 ms (s=97891799, size=1418655)
Contains: 4361 ms (s=97891799, size=1418655)
Total: 10313 ms
Total: 10348 ms
concurrent_foa, single threaded:
Word count: 7450 ms (s=141176630, size=1418655)
Word count: 7511 ms (s=141176630, size=1418655)
Contains: 5251 ms (s=97891799, size=1418655)
Contains: 5383 ms (s=97891799, size=1418655)
Total: 12702 ms
Total: 12895 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7449 ms (s=141176630, size=1418655)
Word count: 7573 ms (s=141176630, size=1418655)
Contains: 5242 ms (s=97891799, size=1418655)
Contains: 5345 ms (s=97891799, size=1418655)
Total: 12692 ms
Total: 12918 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8579 ms (s=141176630, size=1418655)
Word count: 8589 ms (s=141176630, size=1418655)
Contains: 6169 ms (s=97891799, size=1418655)
Contains: 6299 ms (s=97891799, size=1418655)
Total: 14748 ms
Total: 14889 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14833 ms (s=141176630, size=1418655)
Word count: 14810 ms (s=141176630, size=1418655)
Contains: 8333 ms (s=97891799, size=1418655)
Contains: 8368 ms (s=97891799, size=1418655)
Total: 23167 ms
Total: 23178 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4285 ms (s=141176630, size=1418655)
Word count: 4249 ms (s=141176630, size=1418655)
Contains: 2324 ms (s=97891799, size=1418655)
Contains: 2439 ms (s=97891799, size=1418655)
Total: 6610 ms
Total: 6688 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12686 ms (s=141176630, size=1418655)
Word count: 12430 ms (s=141176630, size=1418655)
Contains: 2151 ms (s=97891799, size=1418655)
Contains: 2150 ms (s=97891799, size=1418655)
Total: 14837 ms
Total: 14580 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5657 ms (s=141176630, size=1418655)
Word count: 5216 ms (s=141176630, size=1418655)
Contains: 1732 ms (s=97891799, size=1418655)
Contains: 1792 ms (s=97891799, size=1418655)
Total: 7390 ms
Total: 7008 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3779 ms (s=141176630, size=1418655)
Word count: 3943 ms (s=141176630, size=1418655)
Contains: 3667 ms (s=97891799, size=1418655)
Contains: 3553 ms (s=97891799, size=1418655)
Total: 7446 ms
Total: 7497 ms
concurrent foa:
Word count: 3155 ms (s=141176630, size=1418655)
Word count: 3190 ms (s=141176630, size=1418655)
Contains: 1681 ms (s=97891799, size=1418655)
Contains: 1749 ms (s=97891799, size=1418655)
Total: 4836 ms
Total: 4939 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3198 ms (s=141176630, size=1418655)
Word count: 3060 ms (s=141176630, size=1418655)
Contains: 1647 ms (s=97891799, size=1418655)
Contains: 1678 ms (s=97891799, size=1418655)
Total: 4845 ms
Total: 4738 ms
concurrent foa, std::shared_mutex:
Word count: 3137 ms (s=141176630, size=1418655)
Word count: 3263 ms (s=141176630, size=1418655)
Contains: 1892 ms (s=97891799, size=1418655)
Contains: 1965 ms (s=97891799, size=1418655)
Total: 5029 ms
Total: 5228 ms
tbb::concurrent_hash_map:
Word count: 5453 ms (s=141176630, size=1418655)
Word count: 5612 ms (s=141176630, size=1418655)
Contains: 2008 ms (s=97891799, size=1418655)
Contains: 1978 ms (s=97891799, size=1418655)
Total: 7462 ms
Total: 7591 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5508 ms (s=141176630, size=1418655)
Word count: 5493 ms (s=141176630, size=1418655)
Contains: 2771 ms (s=97891799, size=1418655)
Contains: 2849 ms (s=97891799, size=1418655)
Total: 8280 ms
Total: 8342 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 17971 ms (s=141176630, size=1418655)
Word count: 15232 ms (s=141176630, size=1418655)
Contains: 2731 ms (s=97891799, size=1418655)
Contains: 2811 ms (s=97891799, size=1418655)
Total: 20702 ms
Total: 18044 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7451 ms (s=141176630, size=1418655)
Word count: 8578 ms (s=141176630, size=1418655)
Contains: 4433 ms (s=97891799, size=1418655)
Contains: 4029 ms (s=97891799, size=1418655)
Total: 11885 ms
Total: 12608 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9228 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13019 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10313 ms
concurrent_foa, single threaded: 12702 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12692 ms
concurrent_foa, std::shared_mutex, single threaded: 14748 ms
tbb::concurrent_hash_map, single threaded: 23167 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6610 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14837 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7390 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7446 ms
concurrent foa: 4836 ms
concurrent foa, tbb::spin_rw_mutex: 4845 ms
concurrent foa, std::shared_mutex: 5029 ms
tbb::concurrent_hash_map: 7462 ms
gtl::parallel_flat_hash_map<std::mutex>: 8280 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 20702 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11885 ms
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
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