updated benchmark results

This commit is contained in:
joaquintides
2023-03-18 07:43:49 -04:00
parent aff18361b9
commit 4258521d49

View File

@@ -1,185 +1,185 @@
enwik9: 141176630 words, 82212 ms
enwik9: 141176630 words, 83752 ms
boost::unordered_flat_map, single threaded:
Word count: 12890 ms (s=141176630, size=1418655)
Word count: 12820 ms (s=141176630, size=1418655)
Contains: 8565 ms (s=97891799, size=1418655)
Contains: 8916 ms (s=97891799, size=1418655)
Total: 21456 ms
Total: 21737 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 14780 ms (s=141176630, size=1418655)
Word count: 15381 ms (s=141176630, size=1418655)
Contains: 9478 ms (s=97891799, size=1418655)
Contains: 9859 ms (s=97891799, size=1418655)
Total: 24258 ms
Total: 25241 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 14337 ms (s=141176630, size=1418655)
Word count: 14190 ms (s=141176630, size=1418655)
Contains: 9767 ms (s=97891799, size=1418655)
Contains: 9739 ms (s=97891799, size=1418655)
Total: 24104 ms
Total: 23930 ms
cfoa, single threaded:
Word count: 15377 ms (s=141176630, size=1418655)
Word count: 15637 ms (s=141176630, size=1418655)
Contains: 9468 ms (s=97891799, size=1418655)
Contains: 9255 ms (s=97891799, size=1418655)
Total: 24846 ms
Total: 24893 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 15550 ms (s=141176630, size=1418655)
Word count: 15040 ms (s=141176630, size=1418655)
Contains: 10990 ms (s=97891799, size=1418655)
Contains: 9730 ms (s=97891799, size=1418655)
Total: 26540 ms
Total: 24770 ms
cfoa, std::shared_mutex, single threaded:
Word count: 15296 ms (s=141176630, size=1418655)
Word count: 15482 ms (s=141176630, size=1418655)
Contains: 9786 ms (s=97891799, size=1418655)
Contains: 10177 ms (s=97891799, size=1418655)
Total: 25083 ms
Total: 25659 ms
foa::concurrent_table, single threaded:
Word count: 15582 ms (s=141176630, size=1418655)
Word count: 16105 ms (s=141176630, size=1418655)
Contains: 9789 ms (s=97891799, size=1418655)
Contains: 9666 ms (s=97891799, size=1418655)
Total: 25372 ms
Total: 25772 ms
tbb::concurrent_hash_map, single threaded:
Word count: 28753 ms (s=141176630, size=1418655)
Word count: 29017 ms (s=141176630, size=1418655)
Contains: 13905 ms (s=97891799, size=1418655)
Contains: 13850 ms (s=97891799, size=1418655)
Total: 42658 ms
Total: 42867 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 6273 ms (s=141176630, size=1418655)
Word count: 5920 ms (s=141176630, size=1418655)
Contains: 5102 ms (s=97891799, size=1418655)
Contains: 4929 ms (s=97891799, size=1418655)
Total: 11376 ms
Total: 10850 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 5158 ms (s=141176630, size=1418655)
Word count: 5244 ms (s=141176630, size=1418655)
Contains: 4055 ms (s=97891799, size=1418655)
Contains: 3843 ms (s=97891799, size=1418655)
Total: 9213 ms
Total: 9088 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5984 ms (s=141176630, size=1418655)
Word count: 5961 ms (s=141176630, size=1418655)
Contains: 3853 ms (s=97891799, size=1418655)
Contains: 3808 ms (s=97891799, size=1418655)
Total: 9837 ms
Total: 9770 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 5346 ms (s=141176630, size=1418655)
Word count: 5470 ms (s=141176630, size=1418655)
Contains: 4982 ms (s=97891799, size=1418655)
Contains: 5028 ms (s=97891799, size=1418655)
Total: 10328 ms
Total: 10498 ms
cfoa:
Word count: 5303 ms (s=141176630, size=1418655)
Word count: 5260 ms (s=141176630, size=1418655)
Contains: 2951 ms (s=97891799, size=1418655)
Contains: 3308 ms (s=97891799, size=1418655)
Total: 8255 ms
Total: 8569 ms
cfoa, tbb::spin_rw_mutex:
Word count: 5295 ms (s=141176630, size=1418655)
Word count: 5536 ms (s=141176630, size=1418655)
Contains: 3074 ms (s=97891799, size=1418655)
Contains: 3388 ms (s=97891799, size=1418655)
Total: 8369 ms
Total: 8924 ms
cfoa, std::shared_mutex:
Word count: 5226 ms (s=141176630, size=1418655)
Word count: 5608 ms (s=141176630, size=1418655)
Contains: 3366 ms (s=97891799, size=1418655)
Contains: 3715 ms (s=97891799, size=1418655)
Total: 8593 ms
Total: 9323 ms
foa::concurrent_table:
Word count: 5588 ms (s=141176630, size=1418655)
Word count: 6017 ms (s=141176630, size=1418655)
Contains: 2989 ms (s=97891799, size=1418655)
Contains: 3070 ms (s=97891799, size=1418655)
Total: 8578 ms
Total: 9087 ms
tbb::concurrent_hash_map:
Word count: 9339 ms (s=141176630, size=1418655)
Word count: 10397 ms (s=141176630, size=1418655)
Contains: 4410 ms (s=97891799, size=1418655)
Contains: 4691 ms (s=97891799, size=1418655)
Total: 13749 ms
Total: 15089 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 6904 ms (s=141176630, size=1418655)
Word count: 6578 ms (s=141176630, size=1418655)
Contains: 5226 ms (s=97891799, size=1418655)
Contains: 5450 ms (s=97891799, size=1418655)
Total: 12131 ms
Total: 12028 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 6350 ms (s=141176630, size=1418655)
Word count: 6400 ms (s=141176630, size=1418655)
Contains: 3572 ms (s=97891799, size=1418655)
Contains: 4492 ms (s=97891799, size=1418655)
Total: 9923 ms
Total: 10892 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7619 ms (s=141176630, size=1418655)
Word count: 7713 ms (s=141176630, size=1418655)
Contains: 4139 ms (s=97891799, size=1418655)
Contains: 4290 ms (s=97891799, size=1418655)
Total: 11758 ms
Total: 12004 ms
---
Number of threads: 4
boost::unordered_flat_map, single threaded: 21456 ms
boost::unordered_flat_map, single threaded, shared_mutex: 24258 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 24104 ms
cfoa, single threaded: 24846 ms
cfoa, tbb::spin_rw_mutex, single threaded: 26540 ms
cfoa, std::shared_mutex, single threaded: 25083 ms
foa::concurrent_table, single threaded: 25372 ms
tbb::concurrent_hash_map, single threaded: 42658 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 11376 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9213 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9837 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10328 ms
cfoa: 8255 ms
cfoa, tbb::spin_rw_mutex: 8369 ms
cfoa, std::shared_mutex: 8593 ms
foa::concurrent_table: 8578 ms
tbb::concurrent_hash_map: 13749 ms
gtl::parallel_flat_hash_map<std::mutex>: 12131 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 9923 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11758 ms
boost::unordered_flat_map, single threaded: 21737 ms
boost::unordered_flat_map, single threaded, shared_mutex: 25241 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 23930 ms
cfoa, single threaded: 24893 ms
cfoa, tbb::spin_rw_mutex, single threaded: 24770 ms
cfoa, std::shared_mutex, single threaded: 25659 ms
foa::concurrent_table, single threaded: 25772 ms
tbb::concurrent_hash_map, single threaded: 42867 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 10850 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9088 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9770 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10498 ms
cfoa: 8569 ms
cfoa, tbb::spin_rw_mutex: 8924 ms
cfoa, std::shared_mutex: 9323 ms
foa::concurrent_table: 9087 ms
tbb::concurrent_hash_map: 15089 ms
gtl::parallel_flat_hash_map<std::mutex>: 12028 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10892 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12004 ms