updated benchmark results

This commit is contained in:
joaquintides
2023-01-21 05:43:54 -05:00
parent 1f4973e303
commit 355f0fe8c3

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 902969
enwik9: 141176630 words, 59790 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 936647
enwik9: 141176630 words, 59008 ms
boost::unordered_flat_map, single threaded:
Word count: 5289 ms (s=141176630, size=1418655)
Word count: 5213 ms (s=141176630, size=1418655)
Contains: 3981 ms (s=97891799, size=1418655)
Contains: 3987 ms (s=97891799, size=1418655)
Total: 9271 ms
Total: 9200 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7608 ms (s=141176630, size=1418655)
Word count: 7346 ms (s=141176630, size=1418655)
Contains: 5454 ms (s=97891799, size=1418655)
Contains: 5445 ms (s=97891799, size=1418655)
Total: 13062 ms
Total: 12791 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5993 ms (s=141176630, size=1418655)
Word count: 5912 ms (s=141176630, size=1418655)
Contains: 4331 ms (s=97891799, size=1418655)
Contains: 4306 ms (s=97891799, size=1418655)
Total: 10325 ms
Total: 10219 ms
concurrent_foa, single threaded:
Word count: 7331 ms (s=141176630, size=1418655)
Word count: 7351 ms (s=141176630, size=1418655)
Contains: 5281 ms (s=97891799, size=1418655)
Contains: 5415 ms (s=97891799, size=1418655)
Total: 12613 ms
Total: 12767 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 7375 ms (s=141176630, size=1418655)
Word count: 7382 ms (s=141176630, size=1418655)
Contains: 5222 ms (s=97891799, size=1418655)
Contains: 5352 ms (s=97891799, size=1418655)
Total: 12597 ms
Total: 12735 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8554 ms (s=141176630, size=1418655)
Word count: 8571 ms (s=141176630, size=1418655)
Contains: 6164 ms (s=97891799, size=1418655)
Contains: 6362 ms (s=97891799, size=1418655)
Total: 14718 ms
Total: 14933 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14892 ms (s=141176630, size=1418655)
Word count: 14752 ms (s=141176630, size=1418655)
Contains: 8389 ms (s=97891799, size=1418655)
Contains: 8524 ms (s=97891799, size=1418655)
Total: 23281 ms
Total: 23277 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4294 ms (s=141176630, size=1418655)
Word count: 4249 ms (s=141176630, size=1418655)
Contains: 2375 ms (s=97891799, size=1418655)
Contains: 2365 ms (s=97891799, size=1418655)
Total: 6670 ms
Total: 6614 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12302 ms (s=141176630, size=1418655)
Word count: 15590 ms (s=141176630, size=1418655)
Contains: 2197 ms (s=97891799, size=1418655)
Contains: 2140 ms (s=97891799, size=1418655)
Total: 14500 ms
Total: 17731 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5448 ms (s=141176630, size=1418655)
Word count: 5932 ms (s=141176630, size=1418655)
Contains: 1784 ms (s=97891799, size=1418655)
Contains: 1761 ms (s=97891799, size=1418655)
Total: 7233 ms
Total: 7693 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3795 ms (s=141176630, size=1418655)
Word count: 3925 ms (s=141176630, size=1418655)
Contains: 3463 ms (s=97891799, size=1418655)
Contains: 3761 ms (s=97891799, size=1418655)
Total: 7258 ms
Total: 7686 ms
concurrent foa:
Word count: 3283 ms (s=141176630, size=1418655)
Word count: 2868 ms (s=141176630, size=1418655)
Contains: 1643 ms (s=97891799, size=1418655)
Contains: 1576 ms (s=97891799, size=1418655)
Total: 4926 ms
Total: 4444 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 2935 ms (s=141176630, size=1418655)
Word count: 3036 ms (s=141176630, size=1418655)
Contains: 1626 ms (s=97891799, size=1418655)
Contains: 1584 ms (s=97891799, size=1418655)
Total: 4562 ms
Total: 4620 ms
concurrent foa, std::shared_mutex:
Word count: 3186 ms (s=141176630, size=1418655)
Word count: 3287 ms (s=141176630, size=1418655)
Contains: 1897 ms (s=97891799, size=1418655)
Contains: 1847 ms (s=97891799, size=1418655)
Total: 5083 ms
Total: 5135 ms
tbb::concurrent_hash_map:
Word count: 5572 ms (s=141176630, size=1418655)
Word count: 5601 ms (s=141176630, size=1418655)
Contains: 2000 ms (s=97891799, size=1418655)
Contains: 2010 ms (s=97891799, size=1418655)
Total: 7573 ms
Total: 7611 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5450 ms (s=141176630, size=1418655)
Word count: 5544 ms (s=141176630, size=1418655)
Contains: 2759 ms (s=97891799, size=1418655)
Contains: 2772 ms (s=97891799, size=1418655)
Total: 8209 ms
Total: 8316 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 17925 ms (s=141176630, size=1418655)
Word count: 18205 ms (s=141176630, size=1418655)
Contains: 2778 ms (s=97891799, size=1418655)
Contains: 2809 ms (s=97891799, size=1418655)
Total: 20703 ms
Total: 21015 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7940 ms (s=141176630, size=1418655)
Word count: 7962 ms (s=141176630, size=1418655)
Contains: 4110 ms (s=97891799, size=1418655)
Contains: 4017 ms (s=97891799, size=1418655)
Total: 12051 ms
Total: 11979 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9271 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13062 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10325 ms
concurrent_foa, single threaded: 12613 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12597 ms
concurrent_foa, std::shared_mutex, single threaded: 14718 ms
tbb::concurrent_hash_map, single threaded: 23281 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6670 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14500 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7233 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7258 ms
concurrent foa: 4926 ms
concurrent foa, tbb::spin_rw_mutex: 4562 ms
concurrent foa, std::shared_mutex: 5083 ms
tbb::concurrent_hash_map: 7573 ms
gtl::parallel_flat_hash_map<std::mutex>: 8209 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 20703 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12051 ms
boost::unordered_flat_map, single threaded: 9200 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12791 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10219 ms
concurrent_foa, single threaded: 12767 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12735 ms
concurrent_foa, std::shared_mutex, single threaded: 14933 ms
tbb::concurrent_hash_map, single threaded: 23277 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6614 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17731 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7693 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7686 ms
concurrent foa: 4444 ms
concurrent foa, tbb::spin_rw_mutex: 4620 ms
concurrent foa, std::shared_mutex: 5135 ms
tbb::concurrent_hash_map: 7611 ms
gtl::parallel_flat_hash_map<std::mutex>: 8316 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 21015 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11979 ms