diff --git a/README.md b/README.md index f435367c..dd1c791a 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,25 @@ TBW ``` main.cpp - 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: 6801 ms -boost::unordered_flat_map, sharded_prehashed: 14218 ms - boost::unordered_flat_map, sharded_prehashed: 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: 6731 ms - gtl::parallel_flat_hash_map: 34772 ms - gtl::parallel_flat_hash_map: 10056 ms + boost::unordered_flat_map, single threaded: 8528 ms + boost::unordered_flat_map, single threaded, shared_mutex: 12632 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9467 ms + concurrent_foa, single threaded: 13098 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13199 ms + concurrent_foa, std::shared_mutex, single threaded: 15107 ms + tbb::concurrent_hash_map, single threaded: 22779 ms + boost::unordered_flat_map, sharded_prehashed: 6808 ms +boost::unordered_flat_map, sharded_prehashed: 16578 ms + boost::unordered_flat_map, sharded_prehashed: 7392 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7534 ms + concurrent foa: 4339 ms + concurrent foa, tbb::spin_rw_mutex: 4634 ms + concurrent foa, std::shared_mutex: 4803 ms + libcuckoo::cuckoohash_map: 23591 ms + tbb::concurrent_hash_map: 7497 ms + gtl::parallel_flat_hash_map: 6729 ms + gtl::parallel_flat_hash_map: 26035 ms + gtl::parallel_flat_hash_map: 9912 ms ``` @@ -46,25 +46,25 @@ boost::unordered_flat_map, sharded_prehashed: 14218 ms ``` main.cpp - boost::unordered_flat_map, single threaded: 9550 ms - boost::unordered_flat_map, single threaded, shared_mutex: 13261 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10568 ms - concurrent_foa, single threaded: 13277 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 13277 ms - concurrent_foa, std::shared_mutex, single threaded: 15418 ms - tbb::concurrent_hash_map, single threaded: 24052 ms - boost::unordered_flat_map, sharded_prehashed: 6638 ms -boost::unordered_flat_map, sharded_prehashed: 16520 ms - boost::unordered_flat_map, sharded_prehashed: 7184 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms - concurrent foa: 4669 ms - concurrent foa, tbb::spin_rw_mutex: 4560 ms - concurrent foa, std::shared_mutex: 5228 ms - libcuckoo::cuckoohash_map: 26002 ms - tbb::concurrent_hash_map: 7512 ms - gtl::parallel_flat_hash_map: 8209 ms - gtl::parallel_flat_hash_map: 22539 ms - gtl::parallel_flat_hash_map: 11594 ms + boost::unordered_flat_map, single threaded: 9284 ms + boost::unordered_flat_map, single threaded, shared_mutex: 13031 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10319 ms + concurrent_foa, single threaded: 12993 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 12999 ms + concurrent_foa, std::shared_mutex, single threaded: 15139 ms + tbb::concurrent_hash_map, single threaded: 23461 ms + boost::unordered_flat_map, sharded_prehashed: 6653 ms +boost::unordered_flat_map, sharded_prehashed: 12437 ms + boost::unordered_flat_map, sharded_prehashed: 7417 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7258 ms + concurrent foa: 4714 ms + concurrent foa, tbb::spin_rw_mutex: 4944 ms + concurrent foa, std::shared_mutex: 5179 ms + libcuckoo::cuckoohash_map: 27370 ms + tbb::concurrent_hash_map: 7578 ms + gtl::parallel_flat_hash_map: 8249 ms + gtl::parallel_flat_hash_map: 24044 ms + gtl::parallel_flat_hash_map: 12153 ms ``` @@ -73,7 +73,29 @@ boost::unordered_flat_map, sharded_prehashed: 16520 ms ### Clang 12, ARM64 - + +``` +main.cpp + boost::unordered_flat_map, single threaded: 5824 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10276 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6040 ms + concurrent_foa, single threaded: 7491 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 7558 ms + concurrent_foa, std::shared_mutex, single threaded: 11724 ms + tbb::concurrent_hash_map, single threaded: 17559 ms + boost::unordered_flat_map, sharded_prehashed: 5422 ms +boost::unordered_flat_map, sharded_prehashed: 14829 ms + boost::unordered_flat_map, sharded_prehashed: 4616 ms + boost::unordered_flat_map, sharded isolated, prehashed: 8056 ms + concurrent foa: 3554 ms + concurrent foa, tbb::spin_rw_mutex: 3582 ms + concurrent foa, std::shared_mutex: 4331 ms + libcuckoo::cuckoohash_map: 23738 ms + tbb::concurrent_hash_map: 5222 ms + gtl::parallel_flat_hash_map: 6525 ms + gtl::parallel_flat_hash_map: 14199 ms + gtl::parallel_flat_hash_map: 5583 ms +``` ### GCC 11, x86