From 40b8ebf33b01cf9c9e464b0c32b9530007f33d34 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 04:58:33 -0800 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 146 +++++++++++++++++++-------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index c409908e..654b1f24 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,167 +1,167 @@ -enwik9: 141176630 words, 32511 ms +enwik9: 141176630 words, 32471 ms boost::unordered_flat_map, single threaded: -Word count: 3385 ms (s=141176630, size=1418655) +Word count: 3307 ms (s=141176630, size=1418655) -Contains: 2476 ms (s=97891799, size=1418655) +Contains: 2472 ms (s=97891799, size=1418655) -Total: 5862 ms +Total: 5780 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5712 ms (s=141176630, size=1418655) +Word count: 5721 ms (s=141176630, size=1418655) -Contains: 4469 ms (s=97891799, size=1418655) +Contains: 4472 ms (s=97891799, size=1418655) -Total: 10182 ms +Total: 10193 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3388 ms (s=141176630, size=1418655) +Word count: 3413 ms (s=141176630, size=1418655) -Contains: 2659 ms (s=97891799, size=1418655) +Contains: 2661 ms (s=97891799, size=1418655) -Total: 6047 ms +Total: 6075 ms concurrent_foa, single threaded: -Word count: 4249 ms (s=141176630, size=1418655) +Word count: 4250 ms (s=141176630, size=1418655) -Contains: 3081 ms (s=97891799, size=1418655) +Contains: 3070 ms (s=97891799, size=1418655) -Total: 7331 ms +Total: 7321 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 4279 ms (s=141176630, size=1418655) +Word count: 4286 ms (s=141176630, size=1418655) -Contains: 3165 ms (s=97891799, size=1418655) +Contains: 3156 ms (s=97891799, size=1418655) -Total: 7445 ms +Total: 7443 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 6447 ms (s=141176630, size=1418655) +Word count: 6456 ms (s=141176630, size=1418655) -Contains: 5208 ms (s=97891799, size=1418655) +Contains: 5210 ms (s=97891799, size=1418655) -Total: 11656 ms +Total: 11666 ms tbb::concurrent_hash_map, single threaded: -Word count: 12076 ms (s=141176630, size=1418655) +Word count: 12050 ms (s=141176630, size=1418655) -Contains: 5402 ms (s=97891799, size=1418655) +Contains: 5418 ms (s=97891799, size=1418655) -Total: 17478 ms +Total: 17469 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3278 ms (s=141176630, size=1418655) +Word count: 3095 ms (s=141176630, size=1418655) -Contains: 2195 ms (s=97891799, size=1418655) +Contains: 2213 ms (s=97891799, size=1418655) -Total: 5474 ms +Total: 5308 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 8083 ms (s=141176630, size=1418655) +Word count: 8045 ms (s=141176630, size=1418655) -Contains: 3377 ms (s=97891799, size=1418655) +Contains: 3681 ms (s=97891799, size=1418655) -Total: 11461 ms +Total: 11726 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2170 ms (s=141176630, size=1418655) +Word count: 2188 ms (s=141176630, size=1418655) -Contains: 1310 ms (s=97891799, size=1418655) +Contains: 1304 ms (s=97891799, size=1418655) -Total: 3481 ms +Total: 3493 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2510 ms (s=141176630, size=1418655) +Word count: 2486 ms (s=141176630, size=1418655) -Contains: 2282 ms (s=97891799, size=1418655) +Contains: 2327 ms (s=97891799, size=1418655) -Total: 4793 ms +Total: 4813 ms concurrent foa: -Word count: 2243 ms (s=141176630, size=1418655) +Word count: 2311 ms (s=141176630, size=1418655) -Contains: 1345 ms (s=97891799, size=1418655) +Contains: 1504 ms (s=97891799, size=1418655) -Total: 3589 ms +Total: 3815 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 2348 ms (s=141176630, size=1418655) +Word count: 2254 ms (s=141176630, size=1418655) -Contains: 1491 ms (s=97891799, size=1418655) +Contains: 1481 ms (s=97891799, size=1418655) -Total: 3839 ms +Total: 3735 ms concurrent foa, std::shared_mutex: -Word count: 2699 ms (s=141176630, size=1418655) +Word count: 2852 ms (s=141176630, size=1418655) -Contains: 2011 ms (s=97891799, size=1418655) +Contains: 1963 ms (s=97891799, size=1418655) -Total: 4710 ms +Total: 4816 ms tbb::concurrent_hash_map: -Word count: 3805 ms (s=141176630, size=1418655) +Word count: 4092 ms (s=141176630, size=1418655) -Contains: 1516 ms (s=97891799, size=1418655) +Contains: 1495 ms (s=97891799, size=1418655) -Total: 5321 ms +Total: 5587 ms gtl::parallel_flat_hash_map: -Word count: 3575 ms (s=141176630, size=1418655) +Word count: 3609 ms (s=141176630, size=1418655) -Contains: 2656 ms (s=97891799, size=1418655) +Contains: 2895 ms (s=97891799, size=1418655) -Total: 6232 ms +Total: 6504 ms gtl::parallel_flat_hash_map: -Word count: 7788 ms (s=141176630, size=1418655) +Word count: 7730 ms (s=141176630, size=1418655) -Contains: 3547 ms (s=97891799, size=1418655) +Contains: 4190 ms (s=97891799, size=1418655) -Total: 11335 ms +Total: 11921 ms gtl::parallel_flat_hash_map: -Word count: 2242 ms (s=141176630, size=1418655) +Word count: 2213 ms (s=141176630, size=1418655) -Contains: 1459 ms (s=97891799, size=1418655) +Contains: 1467 ms (s=97891799, size=1418655) -Total: 3701 ms +Total: 3681 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 5862 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10182 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 6047 ms - concurrent_foa, single threaded: 7331 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 7445 ms - concurrent_foa, std::shared_mutex, single threaded: 11656 ms - tbb::concurrent_hash_map, single threaded: 17478 ms - boost::unordered_flat_map, sharded_prehashed: 5474 ms -boost::unordered_flat_map, sharded_prehashed: 11461 ms - boost::unordered_flat_map, sharded_prehashed: 3481 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4793 ms - concurrent foa: 3589 ms - concurrent foa, tbb::spin_rw_mutex: 3839 ms - concurrent foa, std::shared_mutex: 4710 ms - tbb::concurrent_hash_map: 5321 ms - gtl::parallel_flat_hash_map: 6232 ms - gtl::parallel_flat_hash_map: 11335 ms - gtl::parallel_flat_hash_map: 3701 ms + boost::unordered_flat_map, single threaded: 5780 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10193 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6075 ms + concurrent_foa, single threaded: 7321 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 7443 ms + concurrent_foa, std::shared_mutex, single threaded: 11666 ms + tbb::concurrent_hash_map, single threaded: 17469 ms + boost::unordered_flat_map, sharded_prehashed: 5308 ms +boost::unordered_flat_map, sharded_prehashed: 11726 ms + boost::unordered_flat_map, sharded_prehashed: 3493 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4813 ms + concurrent foa: 3815 ms + concurrent foa, tbb::spin_rw_mutex: 3735 ms + concurrent foa, std::shared_mutex: 4816 ms + tbb::concurrent_hash_map: 5587 ms + gtl::parallel_flat_hash_map: 6504 ms + gtl::parallel_flat_hash_map: 11921 ms + gtl::parallel_flat_hash_map: 3681 ms