updated benchmark results

This commit is contained in:
joaquintides
2023-03-17 15:20:16 -04:00
parent a21dd1543a
commit 26f28fefc1

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1354160
enwik9: 141176630 words, 58150 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1394686
enwik9: 141176630 words, 58371 ms
boost::unordered_flat_map, single threaded:
Word count: 4508 ms (s=141176630, size=1418655)
Word count: 4514 ms (s=141176630, size=1418655)
Contains: 3264 ms (s=97891799, size=1418655)
Contains: 3265 ms (s=97891799, size=1418655)
Total: 7773 ms
Total: 7780 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6875 ms (s=141176630, size=1418655)
Word count: 6882 ms (s=141176630, size=1418655)
Contains: 4841 ms (s=97891799, size=1418655)
Contains: 4846 ms (s=97891799, size=1418655)
Total: 11716 ms
Total: 11729 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5507 ms (s=141176630, size=1418655)
Word count: 5536 ms (s=141176630, size=1418655)
Contains: 3751 ms (s=97891799, size=1418655)
Contains: 3726 ms (s=97891799, size=1418655)
Total: 9259 ms
Total: 9262 ms
cfoa, single threaded:
Word count: 7882 ms (s=141176630, size=1418655)
Word count: 7903 ms (s=141176630, size=1418655)
Contains: 4699 ms (s=97891799, size=1418655)
Contains: 4752 ms (s=97891799, size=1418655)
Total: 12581 ms
Total: 12656 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7645 ms (s=141176630, size=1418655)
Word count: 7661 ms (s=141176630, size=1418655)
Contains: 4750 ms (s=97891799, size=1418655)
Contains: 4787 ms (s=97891799, size=1418655)
Total: 12395 ms
Total: 12448 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8518 ms (s=141176630, size=1418655)
Word count: 8559 ms (s=141176630, size=1418655)
Contains: 5644 ms (s=97891799, size=1418655)
Contains: 5609 ms (s=97891799, size=1418655)
Total: 14163 ms
Total: 14168 ms
foa::concurrent_table, single threaded:
Word count: 7424 ms (s=141176630, size=1418655)
Word count: 7484 ms (s=141176630, size=1418655)
Contains: 4784 ms (s=97891799, size=1418655)
Contains: 4793 ms (s=97891799, size=1418655)
Total: 12209 ms
Total: 12277 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13886 ms (s=141176630, size=1418655)
Word count: 13913 ms (s=141176630, size=1418655)
Contains: 8011 ms (s=97891799, size=1418655)
Contains: 8032 ms (s=97891799, size=1418655)
Total: 21898 ms
Total: 21945 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4102 ms (s=141176630, size=1418655)
Word count: 4107 ms (s=141176630, size=1418655)
Contains: 2358 ms (s=97891799, size=1418655)
Contains: 2368 ms (s=97891799, size=1418655)
Total: 6461 ms
Total: 6476 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 11262 ms (s=141176630, size=1418655)
Word count: 12080 ms (s=141176630, size=1418655)
Contains: 2112 ms (s=97891799, size=1418655)
Contains: 2062 ms (s=97891799, size=1418655)
Total: 13375 ms
Total: 14142 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5521 ms (s=141176630, size=1418655)
Word count: 5647 ms (s=141176630, size=1418655)
Contains: 1749 ms (s=97891799, size=1418655)
Contains: 1742 ms (s=97891799, size=1418655)
Total: 7270 ms
Total: 7390 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3276 ms (s=141176630, size=1418655)
Word count: 3146 ms (s=141176630, size=1418655)
Contains: 2701 ms (s=97891799, size=1418655)
Contains: 2759 ms (s=97891799, size=1418655)
Total: 5978 ms
Total: 5905 ms
cfoa:
Word count: 3188 ms (s=141176630, size=1418655)
Word count: 3093 ms (s=141176630, size=1418655)
Contains: 1640 ms (s=97891799, size=1418655)
Contains: 1628 ms (s=97891799, size=1418655)
Total: 4829 ms
Total: 4721 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3134 ms (s=141176630, size=1418655)
Word count: 3061 ms (s=141176630, size=1418655)
Contains: 1610 ms (s=97891799, size=1418655)
Contains: 1599 ms (s=97891799, size=1418655)
Total: 4745 ms
Total: 4661 ms
cfoa, std::shared_mutex:
Word count: 2919 ms (s=141176630, size=1418655)
Word count: 3187 ms (s=141176630, size=1418655)
Contains: 1827 ms (s=97891799, size=1418655)
Contains: 1821 ms (s=97891799, size=1418655)
Total: 4746 ms
Total: 5008 ms
foa::concurrent_table:
Word count: 3203 ms (s=141176630, size=1418655)
Word count: 2979 ms (s=141176630, size=1418655)
Contains: 1603 ms (s=97891799, size=1418655)
Contains: 1606 ms (s=97891799, size=1418655)
Total: 4806 ms
Total: 4586 ms
tbb::concurrent_hash_map:
Word count: 5447 ms (s=141176630, size=1418655)
Word count: 5367 ms (s=141176630, size=1418655)
Contains: 1956 ms (s=97891799, size=1418655)
Contains: 1920 ms (s=97891799, size=1418655)
Total: 7403 ms
Total: 7288 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5099 ms (s=141176630, size=1418655)
Word count: 5071 ms (s=141176630, size=1418655)
Contains: 2766 ms (s=97891799, size=1418655)
Contains: 2655 ms (s=97891799, size=1418655)
Total: 7865 ms
Total: 7727 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 14420 ms (s=141176630, size=1418655)
Word count: 13325 ms (s=141176630, size=1418655)
Contains: 2194 ms (s=97891799, size=1418655)
Contains: 2204 ms (s=97891799, size=1418655)
Total: 16615 ms
Total: 15530 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6129 ms (s=141176630, size=1418655)
Word count: 7470 ms (s=141176630, size=1418655)
Contains: 3351 ms (s=97891799, size=1418655)
Contains: 3109 ms (s=97891799, size=1418655)
Total: 9480 ms
Total: 10579 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7773 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11716 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9259 ms
cfoa, single threaded: 12581 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12395 ms
cfoa, std::shared_mutex, single threaded: 14163 ms
foa::concurrent_table, single threaded: 12209 ms
tbb::concurrent_hash_map, single threaded: 21898 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6461 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13375 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7270 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5978 ms
cfoa: 4829 ms
cfoa, tbb::spin_rw_mutex: 4745 ms
cfoa, std::shared_mutex: 4746 ms
foa::concurrent_table: 4806 ms
tbb::concurrent_hash_map: 7403 ms
gtl::parallel_flat_hash_map<std::mutex>: 7865 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 16615 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9480 ms
boost::unordered_flat_map, single threaded: 7780 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11729 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9262 ms
cfoa, single threaded: 12656 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12448 ms
cfoa, std::shared_mutex, single threaded: 14168 ms
foa::concurrent_table, single threaded: 12277 ms
tbb::concurrent_hash_map, single threaded: 21945 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6476 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14142 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7390 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5905 ms
cfoa: 4721 ms
cfoa, tbb::spin_rw_mutex: 4661 ms
cfoa, std::shared_mutex: 5008 ms
foa::concurrent_table: 4586 ms
tbb::concurrent_hash_map: 7288 ms
gtl::parallel_flat_hash_map<std::mutex>: 7727 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 15530 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10579 ms