From 4e04bf04caec9c4fdbec3a2dcd15154d3721d0a9 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 22 Mar 2023 12:33:48 -0700 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 160 +++++++++++++++++++-------------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index a2bd65f7..3bdbbb35 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 32253 ms +enwik9: 141176630 words, 32185 ms boost::unordered_flat_map, single threaded: -Word count: 3354 ms (s=141176630, size=1418655) +Word count: 3453 ms (s=141176630, size=1418655) -Contains: 2292 ms (s=97891799, size=1418655) +Contains: 2304 ms (s=97891799, size=1418655) -Total: 5646 ms +Total: 5757 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5768 ms (s=141176630, size=1418655) +Word count: 5759 ms (s=141176630, size=1418655) -Contains: 4390 ms (s=97891799, size=1418655) +Contains: 4398 ms (s=97891799, size=1418655) -Total: 10159 ms +Total: 10158 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3531 ms (s=141176630, size=1418655) +Word count: 3542 ms (s=141176630, size=1418655) -Contains: 2502 ms (s=97891799, size=1418655) +Contains: 2516 ms (s=97891799, size=1418655) -Total: 6034 ms +Total: 6058 ms cfoa, single threaded: -Word count: 4373 ms (s=141176630, size=1418655) +Word count: 4381 ms (s=141176630, size=1418655) -Contains: 3129 ms (s=97891799, size=1418655) +Contains: 3126 ms (s=97891799, size=1418655) -Total: 7503 ms +Total: 7508 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 4427 ms (s=141176630, size=1418655) +Word count: 4411 ms (s=141176630, size=1418655) -Contains: 3151 ms (s=97891799, size=1418655) +Contains: 3165 ms (s=97891799, size=1418655) -Total: 7579 ms +Total: 7577 ms cfoa, std::shared_mutex, single threaded: -Word count: 6458 ms (s=141176630, size=1418655) +Word count: 6420 ms (s=141176630, size=1418655) -Contains: 5234 ms (s=97891799, size=1418655) +Contains: 5232 ms (s=97891799, size=1418655) -Total: 11693 ms +Total: 11652 ms foa::concurrent_table, single threaded: -Word count: 4262 ms (s=141176630, size=1418655) +Word count: 4219 ms (s=141176630, size=1418655) -Contains: 3051 ms (s=97891799, size=1418655) +Contains: 3028 ms (s=97891799, size=1418655) -Total: 7313 ms +Total: 7248 ms tbb::concurrent_hash_map, single threaded: -Word count: 11859 ms (s=141176630, size=1418655) +Word count: 11778 ms (s=141176630, size=1418655) -Contains: 5472 ms (s=97891799, size=1418655) +Contains: 5507 ms (s=97891799, size=1418655) -Total: 17331 ms +Total: 17286 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3240 ms (s=141176630, size=1418655) +Word count: 3197 ms (s=141176630, size=1418655) -Contains: 2203 ms (s=97891799, size=1418655) +Contains: 2240 ms (s=97891799, size=1418655) -Total: 5444 ms +Total: 5438 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 7846 ms (s=141176630, size=1418655) +Word count: 7852 ms (s=141176630, size=1418655) -Contains: 3666 ms (s=97891799, size=1418655) +Contains: 3623 ms (s=97891799, size=1418655) -Total: 11512 ms +Total: 11475 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2087 ms (s=141176630, size=1418655) +Word count: 2132 ms (s=141176630, size=1418655) -Contains: 1303 ms (s=97891799, size=1418655) +Contains: 1322 ms (s=97891799, size=1418655) -Total: 3391 ms +Total: 3454 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2310 ms (s=141176630, size=1418655) +Word count: 2323 ms (s=141176630, size=1418655) -Contains: 2141 ms (s=97891799, size=1418655) +Contains: 2126 ms (s=97891799, size=1418655) -Total: 4451 ms +Total: 4449 ms cfoa: -Word count: 2385 ms (s=141176630, size=1418655) +Word count: 2321 ms (s=141176630, size=1418655) -Contains: 1586 ms (s=97891799, size=1418655) +Contains: 1450 ms (s=97891799, size=1418655) -Total: 3971 ms +Total: 3772 ms cfoa, tbb::spin_rw_mutex: -Word count: 2387 ms (s=141176630, size=1418655) +Word count: 2501 ms (s=141176630, size=1418655) -Contains: 1453 ms (s=97891799, size=1418655) +Contains: 1475 ms (s=97891799, size=1418655) -Total: 3840 ms +Total: 3976 ms cfoa, std::shared_mutex: -Word count: 2807 ms (s=141176630, size=1418655) +Word count: 2886 ms (s=141176630, size=1418655) -Contains: 1866 ms (s=97891799, size=1418655) +Contains: 1988 ms (s=97891799, size=1418655) -Total: 4674 ms +Total: 4875 ms foa::concurrent_table: -Word count: 2463 ms (s=141176630, size=1418655) +Word count: 2505 ms (s=141176630, size=1418655) -Contains: 1501 ms (s=97891799, size=1418655) +Contains: 1537 ms (s=97891799, size=1418655) -Total: 3965 ms +Total: 4042 ms tbb::concurrent_hash_map: -Word count: 3829 ms (s=141176630, size=1418655) +Word count: 3867 ms (s=141176630, size=1418655) -Contains: 1536 ms (s=97891799, size=1418655) +Contains: 1556 ms (s=97891799, size=1418655) -Total: 5365 ms +Total: 5423 ms gtl::parallel_flat_hash_map: -Word count: 3637 ms (s=141176630, size=1418655) +Word count: 3547 ms (s=141176630, size=1418655) -Contains: 2943 ms (s=97891799, size=1418655) +Contains: 2881 ms (s=97891799, size=1418655) -Total: 6581 ms +Total: 6428 ms gtl::parallel_flat_hash_map: -Word count: 7678 ms (s=141176630, size=1418655) +Word count: 7685 ms (s=141176630, size=1418655) -Contains: 3828 ms (s=97891799, size=1418655) +Contains: 3676 ms (s=97891799, size=1418655) -Total: 11506 ms +Total: 11362 ms gtl::parallel_flat_hash_map: Word count: 2237 ms (s=141176630, size=1418655) -Contains: 1504 ms (s=97891799, size=1418655) +Contains: 1514 ms (s=97891799, size=1418655) -Total: 3742 ms +Total: 3751 ms --- Number of threads: 8 - 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: 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 + boost::unordered_flat_map, single threaded: 5757 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10158 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6058 ms + cfoa, single threaded: 7508 ms + cfoa, tbb::spin_rw_mutex, single threaded: 7577 ms + cfoa, std::shared_mutex, single threaded: 11652 ms + foa::concurrent_table, single threaded: 7248 ms + tbb::concurrent_hash_map, single threaded: 17286 ms + boost::unordered_flat_map, sharded_prehashed: 5438 ms +boost::unordered_flat_map, sharded_prehashed: 11475 ms + boost::unordered_flat_map, sharded_prehashed: 3454 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4449 ms + cfoa: 3772 ms + cfoa, tbb::spin_rw_mutex: 3976 ms + cfoa, std::shared_mutex: 4875 ms + foa::concurrent_table: 4042 ms + tbb::concurrent_hash_map: 5423 ms + gtl::parallel_flat_hash_map: 6428 ms + gtl::parallel_flat_hash_map: 11362 ms + gtl::parallel_flat_hash_map: 3751 ms