From cfde46133b898fe3f0c04ce8cb351fdab4bfa19c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 22 Mar 2023 11:43:17 -0700 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 158 +++++++++++++++++++-------------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index a69a7557..a2bd65f7 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 32193 ms +enwik9: 141176630 words, 32253 ms boost::unordered_flat_map, single threaded: -Word count: 3433 ms (s=141176630, size=1418655) +Word count: 3354 ms (s=141176630, size=1418655) -Contains: 2301 ms (s=97891799, size=1418655) +Contains: 2292 ms (s=97891799, size=1418655) -Total: 5735 ms +Total: 5646 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5754 ms (s=141176630, size=1418655) +Word count: 5768 ms (s=141176630, size=1418655) -Contains: 4391 ms (s=97891799, size=1418655) +Contains: 4390 ms (s=97891799, size=1418655) -Total: 10146 ms +Total: 10159 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3536 ms (s=141176630, size=1418655) +Word count: 3531 ms (s=141176630, size=1418655) -Contains: 2488 ms (s=97891799, size=1418655) +Contains: 2502 ms (s=97891799, size=1418655) -Total: 6024 ms +Total: 6034 ms cfoa, single threaded: -Word count: 4387 ms (s=141176630, size=1418655) +Word count: 4373 ms (s=141176630, size=1418655) -Contains: 3116 ms (s=97891799, size=1418655) +Contains: 3129 ms (s=97891799, size=1418655) Total: 7503 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 4402 ms (s=141176630, size=1418655) +Word count: 4427 ms (s=141176630, size=1418655) -Contains: 3182 ms (s=97891799, size=1418655) +Contains: 3151 ms (s=97891799, size=1418655) -Total: 7585 ms +Total: 7579 ms cfoa, std::shared_mutex, single threaded: -Word count: 6446 ms (s=141176630, size=1418655) +Word count: 6458 ms (s=141176630, size=1418655) -Contains: 5183 ms (s=97891799, size=1418655) +Contains: 5234 ms (s=97891799, size=1418655) -Total: 11629 ms +Total: 11693 ms foa::concurrent_table, single threaded: -Word count: 4259 ms (s=141176630, size=1418655) +Word count: 4262 ms (s=141176630, size=1418655) -Contains: 3015 ms (s=97891799, size=1418655) +Contains: 3051 ms (s=97891799, size=1418655) -Total: 7274 ms +Total: 7313 ms tbb::concurrent_hash_map, single threaded: -Word count: 11759 ms (s=141176630, size=1418655) +Word count: 11859 ms (s=141176630, size=1418655) -Contains: 5525 ms (s=97891799, size=1418655) +Contains: 5472 ms (s=97891799, size=1418655) -Total: 17285 ms +Total: 17331 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3141 ms (s=141176630, size=1418655) +Word count: 3240 ms (s=141176630, size=1418655) -Contains: 2209 ms (s=97891799, size=1418655) +Contains: 2203 ms (s=97891799, size=1418655) -Total: 5350 ms +Total: 5444 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 7815 ms (s=141176630, size=1418655) +Word count: 7846 ms (s=141176630, size=1418655) -Contains: 3909 ms (s=97891799, size=1418655) +Contains: 3666 ms (s=97891799, size=1418655) -Total: 11725 ms +Total: 11512 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2133 ms (s=141176630, size=1418655) +Word count: 2087 ms (s=141176630, size=1418655) -Contains: 1308 ms (s=97891799, size=1418655) +Contains: 1303 ms (s=97891799, size=1418655) -Total: 3441 ms +Total: 3391 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2305 ms (s=141176630, size=1418655) +Word count: 2310 ms (s=141176630, size=1418655) -Contains: 2127 ms (s=97891799, size=1418655) +Contains: 2141 ms (s=97891799, size=1418655) -Total: 4433 ms +Total: 4451 ms cfoa: -Word count: 2328 ms (s=141176630, size=1418655) +Word count: 2385 ms (s=141176630, size=1418655) -Contains: 1458 ms (s=97891799, size=1418655) +Contains: 1586 ms (s=97891799, size=1418655) -Total: 3787 ms +Total: 3971 ms cfoa, tbb::spin_rw_mutex: -Word count: 2347 ms (s=141176630, size=1418655) +Word count: 2387 ms (s=141176630, size=1418655) -Contains: 1631 ms (s=97891799, size=1418655) +Contains: 1453 ms (s=97891799, size=1418655) -Total: 3978 ms +Total: 3840 ms cfoa, std::shared_mutex: -Word count: 2729 ms (s=141176630, size=1418655) +Word count: 2807 ms (s=141176630, size=1418655) -Contains: 1839 ms (s=97891799, size=1418655) +Contains: 1866 ms (s=97891799, size=1418655) -Total: 4568 ms +Total: 4674 ms foa::concurrent_table: -Word count: 2453 ms (s=141176630, size=1418655) +Word count: 2463 ms (s=141176630, size=1418655) -Contains: 1583 ms (s=97891799, size=1418655) +Contains: 1501 ms (s=97891799, size=1418655) -Total: 4036 ms +Total: 3965 ms tbb::concurrent_hash_map: -Word count: 3788 ms (s=141176630, size=1418655) +Word count: 3829 ms (s=141176630, size=1418655) -Contains: 1538 ms (s=97891799, size=1418655) +Contains: 1536 ms (s=97891799, size=1418655) -Total: 5327 ms +Total: 5365 ms gtl::parallel_flat_hash_map: -Word count: 3504 ms (s=141176630, size=1418655) +Word count: 3637 ms (s=141176630, size=1418655) -Contains: 2955 ms (s=97891799, size=1418655) +Contains: 2943 ms (s=97891799, size=1418655) -Total: 6460 ms +Total: 6581 ms gtl::parallel_flat_hash_map: -Word count: 7682 ms (s=141176630, size=1418655) +Word count: 7678 ms (s=141176630, size=1418655) -Contains: 3892 ms (s=97891799, size=1418655) +Contains: 3828 ms (s=97891799, size=1418655) -Total: 11575 ms +Total: 11506 ms gtl::parallel_flat_hash_map: -Word count: 2224 ms (s=141176630, size=1418655) +Word count: 2237 ms (s=141176630, size=1418655) -Contains: 1512 ms (s=97891799, size=1418655) +Contains: 1504 ms (s=97891799, size=1418655) -Total: 3736 ms +Total: 3742 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 5735 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10146 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 6024 ms + boost::unordered_flat_map, single threaded: 5646 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10159 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6034 ms cfoa, single threaded: 7503 ms - cfoa, tbb::spin_rw_mutex, single threaded: 7585 ms - cfoa, std::shared_mutex, single threaded: 11629 ms - foa::concurrent_table, single threaded: 7274 ms - tbb::concurrent_hash_map, single threaded: 17285 ms - boost::unordered_flat_map, sharded_prehashed: 5350 ms -boost::unordered_flat_map, sharded_prehashed: 11725 ms - boost::unordered_flat_map, sharded_prehashed: 3441 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4433 ms - cfoa: 3787 ms - cfoa, tbb::spin_rw_mutex: 3978 ms - cfoa, std::shared_mutex: 4568 ms - foa::concurrent_table: 4036 ms - tbb::concurrent_hash_map: 5327 ms - gtl::parallel_flat_hash_map: 6460 ms - gtl::parallel_flat_hash_map: 11575 ms - gtl::parallel_flat_hash_map: 3736 ms + cfoa, tbb::spin_rw_mutex, single threaded: 7579 ms + cfoa, std::shared_mutex, single threaded: 11693 ms + foa::concurrent_table, single threaded: 7313 ms + tbb::concurrent_hash_map, single threaded: 17331 ms + boost::unordered_flat_map, sharded_prehashed: 5444 ms +boost::unordered_flat_map, sharded_prehashed: 11512 ms + boost::unordered_flat_map, sharded_prehashed: 3391 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4451 ms + cfoa: 3971 ms + cfoa, tbb::spin_rw_mutex: 3840 ms + cfoa, std::shared_mutex: 4674 ms + foa::concurrent_table: 3965 ms + tbb::concurrent_hash_map: 5365 ms + gtl::parallel_flat_hash_map: 6581 ms + gtl::parallel_flat_hash_map: 11506 ms + gtl::parallel_flat_hash_map: 3742 ms