From 7b983f6df526242fe4c1960699ee3cfdec53ba1e Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 14 Jan 2023 04:23:56 -0500 Subject: [PATCH] updated benchmark results --- clang-x64/main.cpp.txt | 155 ++++++++++++++++++++++------------------- 1 file changed, 82 insertions(+), 73 deletions(-) diff --git a/clang-x64/main.cpp.txt b/clang-x64/main.cpp.txt index 8b79be98..10b98b48 100644 --- a/clang-x64/main.cpp.txt +++ b/clang-x64/main.cpp.txt @@ -1,167 +1,176 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 3524406 -enwik9: 141176630 words, 58772 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 3596845 +enwik9: 141176630 words, 59463 ms boost::unordered_flat_map, single threaded: -Word count: 5249 ms (s=141176630, size=1418655) +Word count: 5510 ms (s=141176630, size=1418655) -Contains: 4001 ms (s=97891799, size=1418655) +Contains: 4039 ms (s=97891799, size=1418655) -Total: 9251 ms +Total: 9550 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7426 ms (s=141176630, size=1418655) +Word count: 7754 ms (s=141176630, size=1418655) -Contains: 5477 ms (s=97891799, size=1418655) +Contains: 5506 ms (s=97891799, size=1418655) -Total: 12903 ms +Total: 13261 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5970 ms (s=141176630, size=1418655) +Word count: 6202 ms (s=141176630, size=1418655) -Contains: 4343 ms (s=97891799, size=1418655) +Contains: 4365 ms (s=97891799, size=1418655) -Total: 10313 ms +Total: 10568 ms concurrent_foa, single threaded: -Word count: 7572 ms (s=141176630, size=1418655) +Word count: 7816 ms (s=141176630, size=1418655) -Contains: 5410 ms (s=97891799, size=1418655) +Contains: 5461 ms (s=97891799, size=1418655) -Total: 12982 ms +Total: 13277 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 7584 ms (s=141176630, size=1418655) +Word count: 7834 ms (s=141176630, size=1418655) -Contains: 5366 ms (s=97891799, size=1418655) +Contains: 5442 ms (s=97891799, size=1418655) -Total: 12950 ms +Total: 13277 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 8709 ms (s=141176630, size=1418655) +Word count: 8946 ms (s=141176630, size=1418655) -Contains: 6361 ms (s=97891799, size=1418655) +Contains: 6472 ms (s=97891799, size=1418655) -Total: 15070 ms +Total: 15418 ms tbb::concurrent_hash_map, single threaded: -Word count: 14855 ms (s=141176630, size=1418655) +Word count: 15350 ms (s=141176630, size=1418655) -Contains: 8368 ms (s=97891799, size=1418655) +Contains: 8701 ms (s=97891799, size=1418655) -Total: 23224 ms +Total: 24052 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4208 ms (s=141176630, size=1418655) +Word count: 4296 ms (s=141176630, size=1418655) -Contains: 2435 ms (s=97891799, size=1418655) +Contains: 2341 ms (s=97891799, size=1418655) -Total: 6644 ms +Total: 6638 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 11648 ms (s=141176630, size=1418655) +Word count: 14394 ms (s=141176630, size=1418655) Contains: 2126 ms (s=97891799, size=1418655) -Total: 13775 ms +Total: 16520 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5855 ms (s=141176630, size=1418655) +Word count: 5436 ms (s=141176630, size=1418655) -Contains: 1754 ms (s=97891799, size=1418655) +Contains: 1748 ms (s=97891799, size=1418655) -Total: 7610 ms +Total: 7184 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3934 ms (s=141176630, size=1418655) +Word count: 3988 ms (s=141176630, size=1418655) -Contains: 3646 ms (s=97891799, size=1418655) +Contains: 3705 ms (s=97891799, size=1418655) -Total: 7580 ms +Total: 7693 ms concurrent foa: -Word count: 3154 ms (s=141176630, size=1418655) +Word count: 3103 ms (s=141176630, size=1418655) -Contains: 1578 ms (s=97891799, size=1418655) +Contains: 1565 ms (s=97891799, size=1418655) -Total: 4733 ms +Total: 4669 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 3158 ms (s=141176630, size=1418655) +Word count: 3017 ms (s=141176630, size=1418655) -Contains: 1580 ms (s=97891799, size=1418655) +Contains: 1543 ms (s=97891799, size=1418655) -Total: 4738 ms +Total: 4560 ms concurrent foa, std::shared_mutex: -Word count: 3292 ms (s=141176630, size=1418655) +Word count: 3392 ms (s=141176630, size=1418655) -Contains: 1848 ms (s=97891799, size=1418655) +Contains: 1835 ms (s=97891799, size=1418655) -Total: 5140 ms +Total: 5228 ms + +libcuckoo::cuckoohash_map: + +Word count: 12361 ms (s=141176630, size=1418655) + +Contains: 13640 ms (s=97891799, size=1418655) + +Total: 26002 ms tbb::concurrent_hash_map: -Word count: 5658 ms (s=141176630, size=1418655) +Word count: 5533 ms (s=141176630, size=1418655) -Contains: 1985 ms (s=97891799, size=1418655) +Contains: 1979 ms (s=97891799, size=1418655) -Total: 7643 ms +Total: 7512 ms gtl::parallel_flat_hash_map: -Word count: 5513 ms (s=141176630, size=1418655) +Word count: 5443 ms (s=141176630, size=1418655) -Contains: 2773 ms (s=97891799, size=1418655) +Contains: 2765 ms (s=97891799, size=1418655) -Total: 8287 ms +Total: 8209 ms gtl::parallel_flat_hash_map: -Word count: 22746 ms (s=141176630, size=1418655) +Word count: 19726 ms (s=141176630, size=1418655) -Contains: 2716 ms (s=97891799, size=1418655) +Contains: 2813 ms (s=97891799, size=1418655) -Total: 25462 ms +Total: 22539 ms gtl::parallel_flat_hash_map: -Word count: 8023 ms (s=141176630, size=1418655) +Word count: 7555 ms (s=141176630, size=1418655) -Contains: 3941 ms (s=97891799, size=1418655) +Contains: 4039 ms (s=97891799, size=1418655) -Total: 11964 ms +Total: 11594 ms --- - boost::unordered_flat_map, single threaded: 9251 ms - boost::unordered_flat_map, single threaded, shared_mutex: 12903 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10313 ms - concurrent_foa, single threaded: 12982 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 12950 ms - concurrent_foa, std::shared_mutex, single threaded: 15070 ms - tbb::concurrent_hash_map, single threaded: 23224 ms - boost::unordered_flat_map, sharded_prehashed: 6644 ms -boost::unordered_flat_map, sharded_prehashed: 13775 ms - boost::unordered_flat_map, sharded_prehashed: 7610 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7580 ms - concurrent foa: 4733 ms - concurrent foa, tbb::spin_rw_mutex: 4738 ms - concurrent foa, std::shared_mutex: 5140 ms - tbb::concurrent_hash_map: 7643 ms - gtl::parallel_flat_hash_map: 8287 ms - gtl::parallel_flat_hash_map: 25462 ms - gtl::parallel_flat_hash_map: 11964 ms + boost::unordered_flat_map, single threaded: 9550 ms + boost::unordered_flat_map, single threaded, shared_mutex: 13261 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10568 ms + concurrent_foa, single threaded: 13277 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13277 ms + concurrent_foa, std::shared_mutex, single threaded: 15418 ms + tbb::concurrent_hash_map, single threaded: 24052 ms + boost::unordered_flat_map, sharded_prehashed: 6638 ms +boost::unordered_flat_map, sharded_prehashed: 16520 ms + boost::unordered_flat_map, sharded_prehashed: 7184 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms + concurrent foa: 4669 ms + concurrent foa, tbb::spin_rw_mutex: 4560 ms + concurrent foa, std::shared_mutex: 5228 ms + libcuckoo::cuckoohash_map: 26002 ms + tbb::concurrent_hash_map: 7512 ms + gtl::parallel_flat_hash_map: 8209 ms + gtl::parallel_flat_hash_map: 22539 ms + gtl::parallel_flat_hash_map: 11594 ms