From 184078f0af8b17d287ee6ee785d48fc800e39d59 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 09:00:49 -0800 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 144 +++++++++++++++++++-------------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index 654b1f24..44ec2103 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,167 +1,167 @@ -enwik9: 141176630 words, 32471 ms +enwik9: 141176630 words, 32211 ms boost::unordered_flat_map, single threaded: -Word count: 3307 ms (s=141176630, size=1418655) +Word count: 3210 ms (s=141176630, size=1418655) -Contains: 2472 ms (s=97891799, size=1418655) +Contains: 2464 ms (s=97891799, size=1418655) -Total: 5780 ms +Total: 5675 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5721 ms (s=141176630, size=1418655) +Word count: 5809 ms (s=141176630, size=1418655) -Contains: 4472 ms (s=97891799, size=1418655) +Contains: 4440 ms (s=97891799, size=1418655) -Total: 10193 ms +Total: 10249 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3413 ms (s=141176630, size=1418655) +Word count: 3407 ms (s=141176630, size=1418655) -Contains: 2661 ms (s=97891799, size=1418655) +Contains: 2640 ms (s=97891799, size=1418655) -Total: 6075 ms +Total: 6047 ms concurrent_foa, single threaded: -Word count: 4250 ms (s=141176630, size=1418655) +Word count: 4231 ms (s=141176630, size=1418655) Contains: 3070 ms (s=97891799, size=1418655) -Total: 7321 ms +Total: 7302 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 4286 ms (s=141176630, size=1418655) +Word count: 4287 ms (s=141176630, size=1418655) -Contains: 3156 ms (s=97891799, size=1418655) +Contains: 3125 ms (s=97891799, size=1418655) -Total: 7443 ms +Total: 7412 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 6456 ms (s=141176630, size=1418655) +Word count: 6480 ms (s=141176630, size=1418655) -Contains: 5210 ms (s=97891799, size=1418655) +Contains: 5183 ms (s=97891799, size=1418655) -Total: 11666 ms +Total: 11663 ms tbb::concurrent_hash_map, single threaded: -Word count: 12050 ms (s=141176630, size=1418655) +Word count: 12047 ms (s=141176630, size=1418655) -Contains: 5418 ms (s=97891799, size=1418655) +Contains: 5423 ms (s=97891799, size=1418655) -Total: 17469 ms +Total: 17471 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3095 ms (s=141176630, size=1418655) +Word count: 3305 ms (s=141176630, size=1418655) -Contains: 2213 ms (s=97891799, size=1418655) +Contains: 2187 ms (s=97891799, size=1418655) -Total: 5308 ms +Total: 5493 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 8045 ms (s=141176630, size=1418655) +Word count: 8106 ms (s=141176630, size=1418655) -Contains: 3681 ms (s=97891799, size=1418655) +Contains: 3323 ms (s=97891799, size=1418655) -Total: 11726 ms +Total: 11429 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2188 ms (s=141176630, size=1418655) +Word count: 2133 ms (s=141176630, size=1418655) -Contains: 1304 ms (s=97891799, size=1418655) +Contains: 1311 ms (s=97891799, size=1418655) -Total: 3493 ms +Total: 3445 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2486 ms (s=141176630, size=1418655) +Word count: 2490 ms (s=141176630, size=1418655) -Contains: 2327 ms (s=97891799, size=1418655) +Contains: 2299 ms (s=97891799, size=1418655) -Total: 4813 ms +Total: 4789 ms concurrent foa: -Word count: 2311 ms (s=141176630, size=1418655) +Word count: 2352 ms (s=141176630, size=1418655) -Contains: 1504 ms (s=97891799, size=1418655) +Contains: 1461 ms (s=97891799, size=1418655) -Total: 3815 ms +Total: 3814 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 2254 ms (s=141176630, size=1418655) +Word count: 2253 ms (s=141176630, size=1418655) -Contains: 1481 ms (s=97891799, size=1418655) +Contains: 1385 ms (s=97891799, size=1418655) -Total: 3735 ms +Total: 3639 ms concurrent foa, std::shared_mutex: -Word count: 2852 ms (s=141176630, size=1418655) +Word count: 2756 ms (s=141176630, size=1418655) -Contains: 1963 ms (s=97891799, size=1418655) +Contains: 1876 ms (s=97891799, size=1418655) -Total: 4816 ms +Total: 4633 ms tbb::concurrent_hash_map: -Word count: 4092 ms (s=141176630, size=1418655) +Word count: 3842 ms (s=141176630, size=1418655) -Contains: 1495 ms (s=97891799, size=1418655) +Contains: 1505 ms (s=97891799, size=1418655) -Total: 5587 ms +Total: 5347 ms gtl::parallel_flat_hash_map: -Word count: 3609 ms (s=141176630, size=1418655) +Word count: 3531 ms (s=141176630, size=1418655) -Contains: 2895 ms (s=97891799, size=1418655) +Contains: 2625 ms (s=97891799, size=1418655) -Total: 6504 ms +Total: 6156 ms gtl::parallel_flat_hash_map: -Word count: 7730 ms (s=141176630, size=1418655) +Word count: 7831 ms (s=141176630, size=1418655) -Contains: 4190 ms (s=97891799, size=1418655) +Contains: 3626 ms (s=97891799, size=1418655) -Total: 11921 ms +Total: 11457 ms gtl::parallel_flat_hash_map: -Word count: 2213 ms (s=141176630, size=1418655) +Word count: 2224 ms (s=141176630, size=1418655) -Contains: 1467 ms (s=97891799, size=1418655) +Contains: 1472 ms (s=97891799, size=1418655) -Total: 3681 ms +Total: 3696 ms --- Number of threads: 8 - 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 + boost::unordered_flat_map, single threaded: 5675 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10249 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6047 ms + concurrent_foa, single threaded: 7302 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 7412 ms + concurrent_foa, std::shared_mutex, single threaded: 11663 ms + tbb::concurrent_hash_map, single threaded: 17471 ms + boost::unordered_flat_map, sharded_prehashed: 5493 ms +boost::unordered_flat_map, sharded_prehashed: 11429 ms + boost::unordered_flat_map, sharded_prehashed: 3445 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4789 ms + concurrent foa: 3814 ms + concurrent foa, tbb::spin_rw_mutex: 3639 ms + concurrent foa, std::shared_mutex: 4633 ms + tbb::concurrent_hash_map: 5347 ms + gtl::parallel_flat_hash_map: 6156 ms + gtl::parallel_flat_hash_map: 11457 ms + gtl::parallel_flat_hash_map: 3696 ms