From bfb849041e77b0e15a2cd56f1c6a7d59ef1b5db1 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 17 Mar 2023 11:40:15 -0700 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 162 +++++++++++++++++++-------------------- 1 file changed, 81 insertions(+), 81 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index eb208183..537d819d 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 32672 ms +enwik9: 141176630 words, 32415 ms boost::unordered_flat_map, single threaded: -Word count: 4114 ms (s=141176630, size=1418655) +Word count: 3453 ms (s=141176630, size=1418655) -Contains: 2306 ms (s=97891799, size=1418655) +Contains: 2298 ms (s=97891799, size=1418655) -Total: 6420 ms +Total: 5752 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5767 ms (s=141176630, size=1418655) +Word count: 5696 ms (s=141176630, size=1418655) -Contains: 4376 ms (s=97891799, size=1418655) +Contains: 4385 ms (s=97891799, size=1418655) -Total: 10144 ms +Total: 10081 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3499 ms (s=141176630, size=1418655) +Word count: 3604 ms (s=141176630, size=1418655) -Contains: 2485 ms (s=97891799, size=1418655) +Contains: 2507 ms (s=97891799, size=1418655) -Total: 5985 ms +Total: 6111 ms cfoa, single threaded: -Word count: 4442 ms (s=141176630, size=1418655) +Word count: 4412 ms (s=141176630, size=1418655) -Contains: 3126 ms (s=97891799, size=1418655) +Contains: 3123 ms (s=97891799, size=1418655) -Total: 7569 ms +Total: 7536 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 4419 ms (s=141176630, size=1418655) +Word count: 4373 ms (s=141176630, size=1418655) -Contains: 3170 ms (s=97891799, size=1418655) +Contains: 3189 ms (s=97891799, size=1418655) -Total: 7589 ms +Total: 7562 ms cfoa, std::shared_mutex, single threaded: -Word count: 6450 ms (s=141176630, size=1418655) +Word count: 6466 ms (s=141176630, size=1418655) -Contains: 5212 ms (s=97891799, size=1418655) +Contains: 5191 ms (s=97891799, size=1418655) -Total: 11662 ms +Total: 11658 ms foa::concurrent_table, single threaded: -Word count: 4290 ms (s=141176630, size=1418655) +Word count: 4301 ms (s=141176630, size=1418655) -Contains: 3133 ms (s=97891799, size=1418655) +Contains: 3128 ms (s=97891799, size=1418655) -Total: 7424 ms +Total: 7429 ms tbb::concurrent_hash_map, single threaded: -Word count: 11945 ms (s=141176630, size=1418655) +Word count: 11977 ms (s=141176630, size=1418655) -Contains: 5528 ms (s=97891799, size=1418655) +Contains: 5533 ms (s=97891799, size=1418655) -Total: 17474 ms +Total: 17511 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3274 ms (s=141176630, size=1418655) +Word count: 3187 ms (s=141176630, size=1418655) -Contains: 2118 ms (s=97891799, size=1418655) +Contains: 2189 ms (s=97891799, size=1418655) -Total: 5393 ms +Total: 5377 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 7899 ms (s=141176630, size=1418655) +Word count: 7886 ms (s=141176630, size=1418655) -Contains: 3387 ms (s=97891799, size=1418655) +Contains: 3582 ms (s=97891799, size=1418655) -Total: 11287 ms +Total: 11468 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2153 ms (s=141176630, size=1418655) +Word count: 2123 ms (s=141176630, size=1418655) -Contains: 1308 ms (s=97891799, size=1418655) +Contains: 1306 ms (s=97891799, size=1418655) -Total: 3462 ms +Total: 3429 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2379 ms (s=141176630, size=1418655) +Word count: 2360 ms (s=141176630, size=1418655) -Contains: 2165 ms (s=97891799, size=1418655) +Contains: 2151 ms (s=97891799, size=1418655) -Total: 4545 ms +Total: 4511 ms cfoa: -Word count: 2260 ms (s=141176630, size=1418655) +Word count: 2278 ms (s=141176630, size=1418655) -Contains: 1507 ms (s=97891799, size=1418655) +Contains: 1345 ms (s=97891799, size=1418655) -Total: 3768 ms +Total: 3624 ms cfoa, tbb::spin_rw_mutex: -Word count: 2237 ms (s=141176630, size=1418655) +Word count: 2287 ms (s=141176630, size=1418655) -Contains: 1490 ms (s=97891799, size=1418655) +Contains: 1406 ms (s=97891799, size=1418655) -Total: 3727 ms +Total: 3694 ms cfoa, std::shared_mutex: -Word count: 2776 ms (s=141176630, size=1418655) +Word count: 2808 ms (s=141176630, size=1418655) -Contains: 1835 ms (s=97891799, size=1418655) +Contains: 1996 ms (s=97891799, size=1418655) -Total: 4611 ms +Total: 4805 ms foa::concurrent_table: -Word count: 2242 ms (s=141176630, size=1418655) +Word count: 2362 ms (s=141176630, size=1418655) -Contains: 1470 ms (s=97891799, size=1418655) +Contains: 1423 ms (s=97891799, size=1418655) -Total: 3713 ms +Total: 3785 ms tbb::concurrent_hash_map: -Word count: 3885 ms (s=141176630, size=1418655) +Word count: 4097 ms (s=141176630, size=1418655) -Contains: 1539 ms (s=97891799, size=1418655) +Contains: 1559 ms (s=97891799, size=1418655) -Total: 5425 ms +Total: 5657 ms gtl::parallel_flat_hash_map: -Word count: 3582 ms (s=141176630, size=1418655) +Word count: 3415 ms (s=141176630, size=1418655) -Contains: 2638 ms (s=97891799, size=1418655) +Contains: 2907 ms (s=97891799, size=1418655) -Total: 6220 ms +Total: 6322 ms gtl::parallel_flat_hash_map: -Word count: 7789 ms (s=141176630, size=1418655) +Word count: 7750 ms (s=141176630, size=1418655) -Contains: 3640 ms (s=97891799, size=1418655) +Contains: 3768 ms (s=97891799, size=1418655) -Total: 11430 ms +Total: 11518 ms gtl::parallel_flat_hash_map: -Word count: 2247 ms (s=141176630, size=1418655) +Word count: 2231 ms (s=141176630, size=1418655) -Contains: 1523 ms (s=97891799, size=1418655) +Contains: 1527 ms (s=97891799, size=1418655) -Total: 3770 ms +Total: 3758 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 6420 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10144 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 5985 ms - cfoa, single threaded: 7569 ms - cfoa, tbb::spin_rw_mutex, single threaded: 7589 ms - cfoa, std::shared_mutex, single threaded: 11662 ms - foa::concurrent_table, single threaded: 7424 ms - tbb::concurrent_hash_map, single threaded: 17474 ms - boost::unordered_flat_map, sharded_prehashed: 5393 ms -boost::unordered_flat_map, sharded_prehashed: 11287 ms - boost::unordered_flat_map, sharded_prehashed: 3462 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4545 ms - cfoa: 3768 ms - cfoa, tbb::spin_rw_mutex: 3727 ms - cfoa, std::shared_mutex: 4611 ms - foa::concurrent_table: 3713 ms - tbb::concurrent_hash_map: 5425 ms - gtl::parallel_flat_hash_map: 6220 ms - gtl::parallel_flat_hash_map: 11430 ms - gtl::parallel_flat_hash_map: 3770 ms + boost::unordered_flat_map, single threaded: 5752 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10081 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6111 ms + cfoa, single threaded: 7536 ms + cfoa, tbb::spin_rw_mutex, single threaded: 7562 ms + cfoa, std::shared_mutex, single threaded: 11658 ms + foa::concurrent_table, single threaded: 7429 ms + tbb::concurrent_hash_map, single threaded: 17511 ms + boost::unordered_flat_map, sharded_prehashed: 5377 ms +boost::unordered_flat_map, sharded_prehashed: 11468 ms + boost::unordered_flat_map, sharded_prehashed: 3429 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4511 ms + cfoa: 3624 ms + cfoa, tbb::spin_rw_mutex: 3694 ms + cfoa, std::shared_mutex: 4805 ms + foa::concurrent_table: 3785 ms + tbb::concurrent_hash_map: 5657 ms + gtl::parallel_flat_hash_map: 6322 ms + gtl::parallel_flat_hash_map: 11518 ms + gtl::parallel_flat_hash_map: 3758 ms