updated benchmark results

This commit is contained in:
joaquintides
2023-01-14 04:34:48 -05:00
parent 7b983f6df5
commit cbb0032b12

View File

@@ -1,167 +1,176 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 3515958
enwik9: 141176630 words, 58936 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 3605220
enwik9: 141176630 words, 59116 ms
boost::unordered_flat_map, single threaded:
Word count: 5003 ms (s=141176630, size=1418655)
Word count: 4927 ms (s=141176630, size=1418655)
Contains: 3616 ms (s=97891799, size=1418655)
Contains: 3611 ms (s=97891799, size=1418655)
Total: 8619 ms
Total: 8539 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7393 ms (s=141176630, size=1418655)
Contains: 5247 ms (s=97891799, size=1418655)
Contains: 5253 ms (s=97891799, size=1418655)
Total: 12640 ms
Total: 12647 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5448 ms (s=141176630, size=1418655)
Word count: 5476 ms (s=141176630, size=1418655)
Contains: 4022 ms (s=97891799, size=1418655)
Contains: 3999 ms (s=97891799, size=1418655)
Total: 9470 ms
Total: 9475 ms
concurrent_foa, single threaded:
Word count: 8028 ms (s=141176630, size=1418655)
Word count: 8087 ms (s=141176630, size=1418655)
Contains: 5023 ms (s=97891799, size=1418655)
Contains: 5015 ms (s=97891799, size=1418655)
Total: 13052 ms
Total: 13102 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 8036 ms (s=141176630, size=1418655)
Word count: 8007 ms (s=141176630, size=1418655)
Contains: 5191 ms (s=97891799, size=1418655)
Contains: 5207 ms (s=97891799, size=1418655)
Total: 13228 ms
Total: 13215 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 8930 ms (s=141176630, size=1418655)
Word count: 8961 ms (s=141176630, size=1418655)
Contains: 6154 ms (s=97891799, size=1418655)
Contains: 6155 ms (s=97891799, size=1418655)
Total: 15084 ms
Total: 15116 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14388 ms (s=141176630, size=1418655)
Word count: 14466 ms (s=141176630, size=1418655)
Contains: 8354 ms (s=97891799, size=1418655)
Contains: 8345 ms (s=97891799, size=1418655)
Total: 22743 ms
Total: 22811 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4306 ms (s=141176630, size=1418655)
Word count: 4371 ms (s=141176630, size=1418655)
Contains: 2442 ms (s=97891799, size=1418655)
Contains: 2429 ms (s=97891799, size=1418655)
Total: 6749 ms
Total: 6801 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 13823 ms (s=141176630, size=1418655)
Word count: 12038 ms (s=141176630, size=1418655)
Contains: 2157 ms (s=97891799, size=1418655)
Contains: 2179 ms (s=97891799, size=1418655)
Total: 15981 ms
Total: 14218 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5293 ms (s=141176630, size=1418655)
Word count: 5270 ms (s=141176630, size=1418655)
Contains: 1770 ms (s=97891799, size=1418655)
Contains: 1786 ms (s=97891799, size=1418655)
Total: 7064 ms
Total: 7057 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 4241 ms (s=141176630, size=1418655)
Word count: 4139 ms (s=141176630, size=1418655)
Contains: 3789 ms (s=97891799, size=1418655)
Contains: 3769 ms (s=97891799, size=1418655)
Total: 8031 ms
Total: 7909 ms
concurrent foa:
Word count: 3004 ms (s=141176630, size=1418655)
Word count: 3112 ms (s=141176630, size=1418655)
Contains: 1513 ms (s=97891799, size=1418655)
Contains: 1515 ms (s=97891799, size=1418655)
Total: 4518 ms
Total: 4628 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3448 ms (s=141176630, size=1418655)
Word count: 3039 ms (s=141176630, size=1418655)
Contains: 1498 ms (s=97891799, size=1418655)
Contains: 1529 ms (s=97891799, size=1418655)
Total: 4946 ms
Total: 4569 ms
concurrent foa, std::shared_mutex:
Word count: 2958 ms (s=141176630, size=1418655)
Word count: 3090 ms (s=141176630, size=1418655)
Contains: 1772 ms (s=97891799, size=1418655)
Contains: 1700 ms (s=97891799, size=1418655)
Total: 4730 ms
Total: 4791 ms
libcuckoo::cuckoohash_map:
Word count: 10962 ms (s=141176630, size=1418655)
Contains: 12383 ms (s=97891799, size=1418655)
Total: 23345 ms
tbb::concurrent_hash_map:
Word count: 5456 ms (s=141176630, size=1418655)
Word count: 5531 ms (s=141176630, size=1418655)
Contains: 2006 ms (s=97891799, size=1418655)
Contains: 1975 ms (s=97891799, size=1418655)
Total: 7463 ms
Total: 7507 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4362 ms (s=141176630, size=1418655)
Word count: 4366 ms (s=141176630, size=1418655)
Contains: 2424 ms (s=97891799, size=1418655)
Contains: 2365 ms (s=97891799, size=1418655)
Total: 6787 ms
Total: 6731 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 28404 ms (s=141176630, size=1418655)
Word count: 32474 ms (s=141176630, size=1418655)
Contains: 2394 ms (s=97891799, size=1418655)
Contains: 2298 ms (s=97891799, size=1418655)
Total: 30799 ms
Total: 34772 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6480 ms (s=141176630, size=1418655)
Word count: 7245 ms (s=141176630, size=1418655)
Contains: 3304 ms (s=97891799, size=1418655)
Contains: 2810 ms (s=97891799, size=1418655)
Total: 9785 ms
Total: 10056 ms
---
boost::unordered_flat_map, single threaded: 8619 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12640 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9470 ms
concurrent_foa, single threaded: 13052 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13228 ms
concurrent_foa, std::shared_mutex, single threaded: 15084 ms
tbb::concurrent_hash_map, single threaded: 22743 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6749 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 15981 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7064 ms
boost::unordered_flat_map, sharded isolated, prehashed: 8031 ms
concurrent foa: 4518 ms
concurrent foa, tbb::spin_rw_mutex: 4946 ms
concurrent foa, std::shared_mutex: 4730 ms
tbb::concurrent_hash_map: 7463 ms
gtl::parallel_flat_hash_map<std::mutex>: 6787 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 30799 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9785 ms
boost::unordered_flat_map, single threaded: 8539 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12647 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9475 ms
concurrent_foa, single threaded: 13102 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13215 ms
concurrent_foa, std::shared_mutex, single threaded: 15116 ms
tbb::concurrent_hash_map, single threaded: 22811 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6801 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14218 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7057 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7909 ms
concurrent foa: 4628 ms
concurrent foa, tbb::spin_rw_mutex: 4569 ms
concurrent foa, std::shared_mutex: 4791 ms
libcuckoo::cuckoohash_map: 23345 ms
tbb::concurrent_hash_map: 7507 ms
gtl::parallel_flat_hash_map<std::mutex>: 6731 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 34772 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10056 ms