diff --git a/README.md b/README.md index dd1c791a..676efc51 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,25 @@ TBW ``` main.cpp +Number of threads: 16 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 + boost::unordered_flat_map, single threaded, shared_mutex: 12585 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9466 ms + concurrent_foa, single threaded: 13192 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13346 ms + concurrent_foa, std::shared_mutex, single threaded: 15125 ms + tbb::concurrent_hash_map, single threaded: 22845 ms + boost::unordered_flat_map, sharded_prehashed: 6776 ms +boost::unordered_flat_map, sharded_prehashed: 11604 ms + boost::unordered_flat_map, sharded_prehashed: 7100 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7611 ms + concurrent foa: 4699 ms + concurrent foa, tbb::spin_rw_mutex: 4852 ms + concurrent foa, std::shared_mutex: 4864 ms + tbb::concurrent_hash_map: 7614 ms + gtl::parallel_flat_hash_map: 6823 ms + gtl::parallel_flat_hash_map: 38113 ms + gtl::parallel_flat_hash_map: 10576 ms ``` @@ -46,25 +46,25 @@ boost::unordered_flat_map, sharded_prehashed: 16578 ms ``` main.cpp - 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 +Number of threads: 16 + boost::unordered_flat_map, single threaded: 9268 ms + boost::unordered_flat_map, single threaded, shared_mutex: 12927 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10307 ms + concurrent_foa, single threaded: 12972 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 12973 ms + concurrent_foa, std::shared_mutex, single threaded: 15110 ms + tbb::concurrent_hash_map, single threaded: 23427 ms + boost::unordered_flat_map, sharded_prehashed: 6655 ms +boost::unordered_flat_map, sharded_prehashed: 16595 ms + boost::unordered_flat_map, sharded_prehashed: 7157 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms + concurrent foa: 4874 ms + concurrent foa, tbb::spin_rw_mutex: 4604 ms + concurrent foa, std::shared_mutex: 5170 ms + tbb::concurrent_hash_map: 7591 ms + gtl::parallel_flat_hash_map: 8273 ms + gtl::parallel_flat_hash_map: 19422 ms + gtl::parallel_flat_hash_map: 11879 ms ``` @@ -76,25 +76,25 @@ boost::unordered_flat_map, sharded_prehashed: 12437 ms ``` 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 +Number of threads: 8 + boost::unordered_flat_map, single threaded: 5866 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10133 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6085 ms + concurrent_foa, single threaded: 7439 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 7523 ms + concurrent_foa, std::shared_mutex, single threaded: 11762 ms + tbb::concurrent_hash_map, single threaded: 17537 ms + boost::unordered_flat_map, sharded_prehashed: 5308 ms +boost::unordered_flat_map, sharded_prehashed: 11654 ms + boost::unordered_flat_map, sharded_prehashed: 3423 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4816 ms + concurrent foa: 3779 ms + concurrent foa, tbb::spin_rw_mutex: 3932 ms + concurrent foa, std::shared_mutex: 4567 ms + tbb::concurrent_hash_map: 5290 ms + gtl::parallel_flat_hash_map: 6044 ms + gtl::parallel_flat_hash_map: 11421 ms + gtl::parallel_flat_hash_map: 3676 ms ```