From 23ba70d9a48f37f0e58ca850f3b79ceca037d319 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 16 Jan 2023 03:15:31 -0800 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 142 +++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index f6d54f10..dc640d5e 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,167 +1,167 @@ -enwik9: 141176630 words, 32275 ms +enwik9: 141176630 words, 32307 ms boost::unordered_flat_map, single threaded: -Word count: 3232 ms (s=141176630, size=1418655) +Word count: 3323 ms (s=141176630, size=1418655) -Contains: 2479 ms (s=97891799, size=1418655) +Contains: 2469 ms (s=97891799, size=1418655) -Total: 5711 ms +Total: 5792 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5822 ms (s=141176630, size=1418655) +Word count: 5734 ms (s=141176630, size=1418655) -Contains: 4447 ms (s=97891799, size=1418655) +Contains: 4484 ms (s=97891799, size=1418655) -Total: 10269 ms +Total: 10219 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3433 ms (s=141176630, size=1418655) +Word count: 3437 ms (s=141176630, size=1418655) -Contains: 2649 ms (s=97891799, size=1418655) +Contains: 2644 ms (s=97891799, size=1418655) Total: 6082 ms concurrent_foa, single threaded: -Word count: 4276 ms (s=141176630, size=1418655) +Word count: 4255 ms (s=141176630, size=1418655) -Contains: 3072 ms (s=97891799, size=1418655) +Contains: 3074 ms (s=97891799, size=1418655) -Total: 7349 ms +Total: 7330 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 4312 ms (s=141176630, size=1418655) +Word count: 4278 ms (s=141176630, size=1418655) -Contains: 3125 ms (s=97891799, size=1418655) +Contains: 3157 ms (s=97891799, size=1418655) -Total: 7437 ms +Total: 7435 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 6487 ms (s=141176630, size=1418655) +Word count: 6421 ms (s=141176630, size=1418655) -Contains: 5183 ms (s=97891799, size=1418655) +Contains: 5207 ms (s=97891799, size=1418655) -Total: 11671 ms +Total: 11628 ms tbb::concurrent_hash_map, single threaded: -Word count: 12078 ms (s=141176630, size=1418655) +Word count: 12094 ms (s=141176630, size=1418655) -Contains: 5410 ms (s=97891799, size=1418655) +Contains: 5406 ms (s=97891799, size=1418655) -Total: 17488 ms +Total: 17501 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3245 ms (s=141176630, size=1418655) +Word count: 3334 ms (s=141176630, size=1418655) -Contains: 2158 ms (s=97891799, size=1418655) +Contains: 2218 ms (s=97891799, size=1418655) -Total: 5404 ms +Total: 5552 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 8094 ms (s=141176630, size=1418655) +Word count: 8089 ms (s=141176630, size=1418655) -Contains: 3548 ms (s=97891799, size=1418655) +Contains: 3271 ms (s=97891799, size=1418655) -Total: 11643 ms +Total: 11360 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2134 ms (s=141176630, size=1418655) +Word count: 2145 ms (s=141176630, size=1418655) -Contains: 1315 ms (s=97891799, size=1418655) +Contains: 1293 ms (s=97891799, size=1418655) -Total: 3450 ms +Total: 3438 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2499 ms (s=141176630, size=1418655) +Word count: 2508 ms (s=141176630, size=1418655) -Contains: 2336 ms (s=97891799, size=1418655) +Contains: 2289 ms (s=97891799, size=1418655) -Total: 4836 ms +Total: 4798 ms concurrent foa: -Word count: 2325 ms (s=141176630, size=1418655) +Word count: 2293 ms (s=141176630, size=1418655) -Contains: 1371 ms (s=97891799, size=1418655) +Contains: 1355 ms (s=97891799, size=1418655) -Total: 3697 ms +Total: 3648 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 2215 ms (s=141176630, size=1418655) +Word count: 2238 ms (s=141176630, size=1418655) -Contains: 1371 ms (s=97891799, size=1418655) +Contains: 1462 ms (s=97891799, size=1418655) -Total: 3586 ms +Total: 3700 ms concurrent foa, std::shared_mutex: -Word count: 2749 ms (s=141176630, size=1418655) +Word count: 2740 ms (s=141176630, size=1418655) -Contains: 1901 ms (s=97891799, size=1418655) +Contains: 1811 ms (s=97891799, size=1418655) -Total: 4651 ms +Total: 4552 ms tbb::concurrent_hash_map: -Word count: 3929 ms (s=141176630, size=1418655) +Word count: 3997 ms (s=141176630, size=1418655) -Contains: 1503 ms (s=97891799, size=1418655) +Contains: 1521 ms (s=97891799, size=1418655) -Total: 5433 ms +Total: 5519 ms gtl::parallel_flat_hash_map: -Word count: 3519 ms (s=141176630, size=1418655) +Word count: 3416 ms (s=141176630, size=1418655) -Contains: 3149 ms (s=97891799, size=1418655) +Contains: 2436 ms (s=97891799, size=1418655) -Total: 6669 ms +Total: 5852 ms gtl::parallel_flat_hash_map: -Word count: 7868 ms (s=141176630, size=1418655) +Word count: 7806 ms (s=141176630, size=1418655) -Contains: 3574 ms (s=97891799, size=1418655) +Contains: 4482 ms (s=97891799, size=1418655) -Total: 11443 ms +Total: 12289 ms gtl::parallel_flat_hash_map: -Word count: 2231 ms (s=141176630, size=1418655) +Word count: 2211 ms (s=141176630, size=1418655) -Contains: 1469 ms (s=97891799, size=1418655) +Contains: 1460 ms (s=97891799, size=1418655) -Total: 3700 ms +Total: 3671 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 5711 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10269 ms + boost::unordered_flat_map, single threaded: 5792 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10219 ms boost::unordered_flat_map, single threaded, rw_spinlock: 6082 ms - concurrent_foa, single threaded: 7349 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 7437 ms - concurrent_foa, std::shared_mutex, single threaded: 11671 ms - tbb::concurrent_hash_map, single threaded: 17488 ms - boost::unordered_flat_map, sharded_prehashed: 5404 ms -boost::unordered_flat_map, sharded_prehashed: 11643 ms - boost::unordered_flat_map, sharded_prehashed: 3450 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4836 ms - concurrent foa: 3697 ms - concurrent foa, tbb::spin_rw_mutex: 3586 ms - concurrent foa, std::shared_mutex: 4651 ms - tbb::concurrent_hash_map: 5433 ms - gtl::parallel_flat_hash_map: 6669 ms - gtl::parallel_flat_hash_map: 11443 ms - gtl::parallel_flat_hash_map: 3700 ms + concurrent_foa, single threaded: 7330 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 7435 ms + concurrent_foa, std::shared_mutex, single threaded: 11628 ms + tbb::concurrent_hash_map, single threaded: 17501 ms + boost::unordered_flat_map, sharded_prehashed: 5552 ms +boost::unordered_flat_map, sharded_prehashed: 11360 ms + boost::unordered_flat_map, sharded_prehashed: 3438 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4798 ms + concurrent foa: 3648 ms + concurrent foa, tbb::spin_rw_mutex: 3700 ms + concurrent foa, std::shared_mutex: 4552 ms + tbb::concurrent_hash_map: 5519 ms + gtl::parallel_flat_hash_map: 5852 ms + gtl::parallel_flat_hash_map: 12289 ms + gtl::parallel_flat_hash_map: 3671 ms