updated benchmark results

This commit is contained in:
joaquintides
2023-01-21 05:03:30 -05:00
parent d38faac9f9
commit 5c61856a18

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 779857
enwik9: 141176630 words, 58225 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 918874
enwik9: 141176630 words, 58326 ms
boost::unordered_flat_map, single threaded:
Word count: 5010 ms (s=141176630, size=1418655)
Word count: 5000 ms (s=141176630, size=1418655)
Contains: 3583 ms (s=97891799, size=1418655)
Contains: 3590 ms (s=97891799, size=1418655)
Total: 8594 ms
Total: 8591 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7348 ms (s=141176630, size=1418655)
Word count: 7345 ms (s=141176630, size=1418655)
Contains: 5188 ms (s=97891799, size=1418655)
Contains: 5174 ms (s=97891799, size=1418655)
Total: 12537 ms
Total: 12519 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5447 ms (s=141176630, size=1418655)
Word count: 5435 ms (s=141176630, size=1418655)
Contains: 4003 ms (s=97891799, size=1418655)
Contains: 3975 ms (s=97891799, size=1418655)
Total: 9450 ms
Total: 9410 ms
concurrent_foa, single threaded:
Word count: 8112 ms (s=141176630, size=1418655)
Word count: 8108 ms (s=141176630, size=1418655)
Contains: 4968 ms (s=97891799, size=1418655)
Contains: 4930 ms (s=97891799, size=1418655)
Total: 13080 ms
Total: 13038 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 8034 ms (s=141176630, size=1418655)
Word count: 8019 ms (s=141176630, size=1418655)
Contains: 5103 ms (s=97891799, size=1418655)
Contains: 5091 ms (s=97891799, size=1418655)
Total: 13138 ms
Total: 13110 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 10361 ms (s=141176630, size=1418655)
Word count: 10371 ms (s=141176630, size=1418655)
Contains: 6048 ms (s=97891799, size=1418655)
Contains: 6060 ms (s=97891799, size=1418655)
Total: 16410 ms
Total: 16432 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14453 ms (s=141176630, size=1418655)
Word count: 14457 ms (s=141176630, size=1418655)
Contains: 8330 ms (s=97891799, size=1418655)
Contains: 8372 ms (s=97891799, size=1418655)
Total: 22783 ms
Total: 22829 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4301 ms (s=141176630, size=1418655)
Word count: 4270 ms (s=141176630, size=1418655)
Contains: 2420 ms (s=97891799, size=1418655)
Contains: 2416 ms (s=97891799, size=1418655)
Total: 6721 ms
Total: 6686 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12728 ms (s=141176630, size=1418655)
Word count: 8545 ms (s=141176630, size=1418655)
Contains: 2123 ms (s=97891799, size=1418655)
Contains: 2144 ms (s=97891799, size=1418655)
Total: 14852 ms
Total: 10690 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 4671 ms (s=141176630, size=1418655)
Word count: 5170 ms (s=141176630, size=1418655)
Contains: 1791 ms (s=97891799, size=1418655)
Contains: 1788 ms (s=97891799, size=1418655)
Total: 6463 ms
Total: 6958 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 4031 ms (s=141176630, size=1418655)
Word count: 4130 ms (s=141176630, size=1418655)
Contains: 3714 ms (s=97891799, size=1418655)
Contains: 3597 ms (s=97891799, size=1418655)
Total: 7746 ms
Total: 7728 ms
concurrent foa:
Word count: 2966 ms (s=141176630, size=1418655)
Word count: 3086 ms (s=141176630, size=1418655)
Contains: 1632 ms (s=97891799, size=1418655)
Contains: 1648 ms (s=97891799, size=1418655)
Total: 4599 ms
Total: 4735 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3326 ms (s=141176630, size=1418655)
Word count: 3318 ms (s=141176630, size=1418655)
Contains: 1666 ms (s=97891799, size=1418655)
Contains: 1626 ms (s=97891799, size=1418655)
Total: 4993 ms
Total: 4944 ms
concurrent foa, std::shared_mutex:
Word count: 3190 ms (s=141176630, size=1418655)
Word count: 3141 ms (s=141176630, size=1418655)
Contains: 1843 ms (s=97891799, size=1418655)
Contains: 1816 ms (s=97891799, size=1418655)
Total: 5034 ms
Total: 4957 ms
tbb::concurrent_hash_map:
Word count: 5412 ms (s=141176630, size=1418655)
Word count: 5382 ms (s=141176630, size=1418655)
Contains: 1999 ms (s=97891799, size=1418655)
Contains: 1988 ms (s=97891799, size=1418655)
Total: 7411 ms
Total: 7370 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4419 ms (s=141176630, size=1418655)
Word count: 4448 ms (s=141176630, size=1418655)
Contains: 2348 ms (s=97891799, size=1418655)
Contains: 2344 ms (s=97891799, size=1418655)
Total: 6768 ms
Total: 6793 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 26467 ms (s=141176630, size=1418655)
Word count: 23622 ms (s=141176630, size=1418655)
Contains: 2362 ms (s=97891799, size=1418655)
Contains: 2338 ms (s=97891799, size=1418655)
Total: 28830 ms
Total: 25961 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7075 ms (s=141176630, size=1418655)
Word count: 6888 ms (s=141176630, size=1418655)
Contains: 3034 ms (s=97891799, size=1418655)
Contains: 3071 ms (s=97891799, size=1418655)
Total: 10110 ms
Total: 9960 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 8594 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12537 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9450 ms
concurrent_foa, single threaded: 13080 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13138 ms
concurrent_foa, std::shared_mutex, single threaded: 16410 ms
tbb::concurrent_hash_map, single threaded: 22783 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6721 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14852 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6463 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7746 ms
concurrent foa: 4599 ms
concurrent foa, tbb::spin_rw_mutex: 4993 ms
concurrent foa, std::shared_mutex: 5034 ms
tbb::concurrent_hash_map: 7411 ms
gtl::parallel_flat_hash_map<std::mutex>: 6768 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 28830 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10110 ms
boost::unordered_flat_map, single threaded: 8591 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12519 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9410 ms
concurrent_foa, single threaded: 13038 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13110 ms
concurrent_foa, std::shared_mutex, single threaded: 16432 ms
tbb::concurrent_hash_map, single threaded: 22829 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6686 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 10690 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6958 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7728 ms
concurrent foa: 4735 ms
concurrent foa, tbb::spin_rw_mutex: 4944 ms
concurrent foa, std::shared_mutex: 4957 ms
tbb::concurrent_hash_map: 7370 ms
gtl::parallel_flat_hash_map<std::mutex>: 6793 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 25961 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9960 ms