updated benchmark results

This commit is contained in:
joaquintides
2023-03-24 05:08:29 -04:00
parent a1c262ca39
commit 0229aaa10a

View File

@@ -1,185 +1,185 @@
enwik9: 141176630 words, 81387 ms
enwik9: 141176630 words, 80735 ms
boost::unordered_flat_map, single threaded:
Word count: 12403 ms (s=141176630, size=1418655)
Word count: 13811 ms (s=141176630, size=1418655)
Contains: 8604 ms (s=97891799, size=1418655)
Contains: 9240 ms (s=97891799, size=1418655)
Total: 21007 ms
Total: 23052 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 15027 ms (s=141176630, size=1418655)
Word count: 16227 ms (s=141176630, size=1418655)
Contains: 9748 ms (s=97891799, size=1418655)
Contains: 10222 ms (s=97891799, size=1418655)
Total: 24776 ms
Total: 26449 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 14240 ms (s=141176630, size=1418655)
Word count: 14887 ms (s=141176630, size=1418655)
Contains: 9555 ms (s=97891799, size=1418655)
Contains: 9715 ms (s=97891799, size=1418655)
Total: 23795 ms
Total: 24602 ms
cfoa, single threaded:
Word count: 15228 ms (s=141176630, size=1418655)
Word count: 15429 ms (s=141176630, size=1418655)
Contains: 9485 ms (s=97891799, size=1418655)
Contains: 9687 ms (s=97891799, size=1418655)
Total: 24714 ms
Total: 25117 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 15444 ms (s=141176630, size=1418655)
Word count: 15293 ms (s=141176630, size=1418655)
Contains: 10032 ms (s=97891799, size=1418655)
Contains: 9645 ms (s=97891799, size=1418655)
Total: 25477 ms
Total: 24938 ms
cfoa, std::shared_mutex, single threaded:
Word count: 15505 ms (s=141176630, size=1418655)
Word count: 15472 ms (s=141176630, size=1418655)
Contains: 9565 ms (s=97891799, size=1418655)
Contains: 9931 ms (s=97891799, size=1418655)
Total: 25070 ms
Total: 25404 ms
foa::concurrent_table, single threaded:
Word count: 15682 ms (s=141176630, size=1418655)
Word count: 15944 ms (s=141176630, size=1418655)
Contains: 10014 ms (s=97891799, size=1418655)
Contains: 10009 ms (s=97891799, size=1418655)
Total: 25697 ms
Total: 25953 ms
tbb::concurrent_hash_map, single threaded:
Word count: 29168 ms (s=141176630, size=1418655)
Word count: 28949 ms (s=141176630, size=1418655)
Contains: 13427 ms (s=97891799, size=1418655)
Contains: 13609 ms (s=97891799, size=1418655)
Total: 42596 ms
Total: 42559 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 7017 ms (s=141176630, size=1418655)
Word count: 6301 ms (s=141176630, size=1418655)
Contains: 4847 ms (s=97891799, size=1418655)
Contains: 5041 ms (s=97891799, size=1418655)
Total: 11864 ms
Total: 11342 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 5350 ms (s=141176630, size=1418655)
Word count: 5310 ms (s=141176630, size=1418655)
Contains: 3752 ms (s=97891799, size=1418655)
Contains: 3733 ms (s=97891799, size=1418655)
Total: 9103 ms
Total: 9043 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 6032 ms (s=141176630, size=1418655)
Word count: 6197 ms (s=141176630, size=1418655)
Contains: 3530 ms (s=97891799, size=1418655)
Contains: 3728 ms (s=97891799, size=1418655)
Total: 9563 ms
Total: 9925 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 5246 ms (s=141176630, size=1418655)
Word count: 5277 ms (s=141176630, size=1418655)
Contains: 5315 ms (s=97891799, size=1418655)
Contains: 4817 ms (s=97891799, size=1418655)
Total: 10561 ms
Total: 10095 ms
cfoa:
Word count: 5667 ms (s=141176630, size=1418655)
Word count: 5533 ms (s=141176630, size=1418655)
Contains: 3068 ms (s=97891799, size=1418655)
Contains: 3282 ms (s=97891799, size=1418655)
Total: 8736 ms
Total: 8816 ms
cfoa, tbb::spin_rw_mutex:
Word count: 5489 ms (s=141176630, size=1418655)
Word count: 5768 ms (s=141176630, size=1418655)
Contains: 3566 ms (s=97891799, size=1418655)
Contains: 3284 ms (s=97891799, size=1418655)
Total: 9056 ms
Total: 9053 ms
cfoa, std::shared_mutex:
Word count: 5886 ms (s=141176630, size=1418655)
Word count: 5638 ms (s=141176630, size=1418655)
Contains: 3452 ms (s=97891799, size=1418655)
Contains: 3302 ms (s=97891799, size=1418655)
Total: 9338 ms
Total: 8941 ms
foa::concurrent_table:
Word count: 5783 ms (s=141176630, size=1418655)
Word count: 5651 ms (s=141176630, size=1418655)
Contains: 3984 ms (s=97891799, size=1418655)
Contains: 3368 ms (s=97891799, size=1418655)
Total: 9768 ms
Total: 9020 ms
tbb::concurrent_hash_map:
Word count: 10170 ms (s=141176630, size=1418655)
Word count: 10036 ms (s=141176630, size=1418655)
Contains: 4376 ms (s=97891799, size=1418655)
Contains: 4649 ms (s=97891799, size=1418655)
Total: 14547 ms
Total: 14686 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 6909 ms (s=141176630, size=1418655)
Word count: 7265 ms (s=141176630, size=1418655)
Contains: 5208 ms (s=97891799, size=1418655)
Contains: 5014 ms (s=97891799, size=1418655)
Total: 12118 ms
Total: 12280 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 6356 ms (s=141176630, size=1418655)
Word count: 6268 ms (s=141176630, size=1418655)
Contains: 3955 ms (s=97891799, size=1418655)
Contains: 4037 ms (s=97891799, size=1418655)
Total: 10312 ms
Total: 10305 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7782 ms (s=141176630, size=1418655)
Word count: 7864 ms (s=141176630, size=1418655)
Contains: 4151 ms (s=97891799, size=1418655)
Contains: 4175 ms (s=97891799, size=1418655)
Total: 11934 ms
Total: 12040 ms
---
Number of threads: 4
boost::unordered_flat_map, single threaded: 21007 ms
boost::unordered_flat_map, single threaded, shared_mutex: 24776 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 23795 ms
cfoa, single threaded: 24714 ms
cfoa, tbb::spin_rw_mutex, single threaded: 25477 ms
cfoa, std::shared_mutex, single threaded: 25070 ms
foa::concurrent_table, single threaded: 25697 ms
tbb::concurrent_hash_map, single threaded: 42596 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 11864 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9103 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9563 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10561 ms
cfoa: 8736 ms
cfoa, tbb::spin_rw_mutex: 9056 ms
cfoa, std::shared_mutex: 9338 ms
foa::concurrent_table: 9768 ms
tbb::concurrent_hash_map: 14547 ms
gtl::parallel_flat_hash_map<std::mutex>: 12118 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10312 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11934 ms
boost::unordered_flat_map, single threaded: 23052 ms
boost::unordered_flat_map, single threaded, shared_mutex: 26449 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 24602 ms
cfoa, single threaded: 25117 ms
cfoa, tbb::spin_rw_mutex, single threaded: 24938 ms
cfoa, std::shared_mutex, single threaded: 25404 ms
foa::concurrent_table, single threaded: 25953 ms
tbb::concurrent_hash_map, single threaded: 42559 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 11342 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9043 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9925 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10095 ms
cfoa: 8816 ms
cfoa, tbb::spin_rw_mutex: 9053 ms
cfoa, std::shared_mutex: 8941 ms
foa::concurrent_table: 9020 ms
tbb::concurrent_hash_map: 14686 ms
gtl::parallel_flat_hash_map<std::mutex>: 12280 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10305 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12040 ms