From cd79bcc85ea4d09e6954e94f1ad19c6b378a9d62 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 21 Jan 2023 05:53:29 -0500 Subject: [PATCH] updated benchmark results --- vs-x64/main.cpp.txt | 146 ++++++++++++++++++++++---------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/vs-x64/main.cpp.txt b/vs-x64/main.cpp.txt index 5f7a8faf..a041c58e 100644 --- a/vs-x64/main.cpp.txt +++ b/vs-x64/main.cpp.txt @@ -1,167 +1,167 @@ -enwik9: 141176630 words, 82340 ms +enwik9: 141176630 words, 85701 ms boost::unordered_flat_map, single threaded: -Word count: 14732 ms (s=141176630, size=1418655) +Word count: 14147 ms (s=141176630, size=1418655) -Contains: 7321 ms (s=97891799, size=1418655) +Contains: 6866 ms (s=97891799, size=1418655) -Total: 22053 ms +Total: 21013 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 17240 ms (s=141176630, size=1418655) +Word count: 16445 ms (s=141176630, size=1418655) -Contains: 8846 ms (s=97891799, size=1418655) +Contains: 8369 ms (s=97891799, size=1418655) -Total: 26086 ms +Total: 24814 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 15934 ms (s=141176630, size=1418655) +Word count: 15445 ms (s=141176630, size=1418655) -Contains: 10816 ms (s=97891799, size=1418655) +Contains: 10786 ms (s=97891799, size=1418655) -Total: 26751 ms +Total: 26232 ms concurrent_foa, single threaded: -Word count: 16504 ms (s=141176630, size=1418655) +Word count: 17947 ms (s=141176630, size=1418655) -Contains: 10034 ms (s=97891799, size=1418655) +Contains: 10589 ms (s=97891799, size=1418655) -Total: 26539 ms +Total: 28536 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 16969 ms (s=141176630, size=1418655) +Word count: 17439 ms (s=141176630, size=1418655) -Contains: 10408 ms (s=97891799, size=1418655) +Contains: 11140 ms (s=97891799, size=1418655) -Total: 27378 ms +Total: 28580 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 16660 ms (s=141176630, size=1418655) +Word count: 17955 ms (s=141176630, size=1418655) -Contains: 10230 ms (s=97891799, size=1418655) +Contains: 11624 ms (s=97891799, size=1418655) -Total: 26891 ms +Total: 29580 ms tbb::concurrent_hash_map, single threaded: -Word count: 30874 ms (s=141176630, size=1418655) +Word count: 30842 ms (s=141176630, size=1418655) -Contains: 14276 ms (s=97891799, size=1418655) +Contains: 14593 ms (s=97891799, size=1418655) -Total: 45150 ms +Total: 45435 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5554 ms (s=141176630, size=1418655) +Word count: 5740 ms (s=141176630, size=1418655) -Contains: 4260 ms (s=97891799, size=1418655) +Contains: 4486 ms (s=97891799, size=1418655) -Total: 9815 ms +Total: 10227 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5064 ms (s=141176630, size=1418655) +Word count: 4923 ms (s=141176630, size=1418655) -Contains: 3221 ms (s=97891799, size=1418655) +Contains: 3327 ms (s=97891799, size=1418655) -Total: 8285 ms +Total: 8251 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5085 ms (s=141176630, size=1418655) +Word count: 5319 ms (s=141176630, size=1418655) -Contains: 3059 ms (s=97891799, size=1418655) +Contains: 3086 ms (s=97891799, size=1418655) -Total: 8145 ms +Total: 8405 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 12146 ms (s=141176630, size=1418655) +Word count: 12457 ms (s=141176630, size=1418655) -Contains: 11608 ms (s=97891799, size=1418655) +Contains: 11322 ms (s=97891799, size=1418655) -Total: 23755 ms +Total: 23780 ms concurrent foa: -Word count: 5721 ms (s=141176630, size=1418655) +Word count: 5858 ms (s=141176630, size=1418655) -Contains: 3614 ms (s=97891799, size=1418655) +Contains: 3651 ms (s=97891799, size=1418655) -Total: 9336 ms +Total: 9509 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 5572 ms (s=141176630, size=1418655) +Word count: 6036 ms (s=141176630, size=1418655) -Contains: 3391 ms (s=97891799, size=1418655) +Contains: 3831 ms (s=97891799, size=1418655) -Total: 8963 ms +Total: 9868 ms concurrent foa, std::shared_mutex: -Word count: 5588 ms (s=141176630, size=1418655) +Word count: 6165 ms (s=141176630, size=1418655) -Contains: 3917 ms (s=97891799, size=1418655) +Contains: 3639 ms (s=97891799, size=1418655) -Total: 9505 ms +Total: 9805 ms tbb::concurrent_hash_map: -Word count: 9901 ms (s=141176630, size=1418655) +Word count: 9824 ms (s=141176630, size=1418655) -Contains: 4292 ms (s=97891799, size=1418655) +Contains: 4430 ms (s=97891799, size=1418655) -Total: 14193 ms +Total: 14254 ms gtl::parallel_flat_hash_map: -Word count: 6795 ms (s=141176630, size=1418655) +Word count: 6839 ms (s=141176630, size=1418655) -Contains: 4931 ms (s=97891799, size=1418655) +Contains: 4940 ms (s=97891799, size=1418655) -Total: 11727 ms +Total: 11779 ms gtl::parallel_flat_hash_map: -Word count: 6021 ms (s=141176630, size=1418655) +Word count: 6098 ms (s=141176630, size=1418655) -Contains: 4007 ms (s=97891799, size=1418655) +Contains: 4058 ms (s=97891799, size=1418655) -Total: 10029 ms +Total: 10157 ms gtl::parallel_flat_hash_map: -Word count: 7022 ms (s=141176630, size=1418655) +Word count: 6925 ms (s=141176630, size=1418655) -Contains: 3909 ms (s=97891799, size=1418655) +Contains: 3942 ms (s=97891799, size=1418655) -Total: 10932 ms +Total: 10868 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 22053 ms - boost::unordered_flat_map, single threaded, shared_mutex: 26086 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 26751 ms - concurrent_foa, single threaded: 26539 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 27378 ms - concurrent_foa, std::shared_mutex, single threaded: 26891 ms - tbb::concurrent_hash_map, single threaded: 45150 ms - boost::unordered_flat_map, sharded_prehashed: 9815 ms -boost::unordered_flat_map, sharded_prehashed: 8285 ms - boost::unordered_flat_map, sharded_prehashed: 8145 ms - boost::unordered_flat_map, sharded isolated, prehashed: 23755 ms - concurrent foa: 9336 ms - concurrent foa, tbb::spin_rw_mutex: 8963 ms - concurrent foa, std::shared_mutex: 9505 ms - tbb::concurrent_hash_map: 14193 ms - gtl::parallel_flat_hash_map: 11727 ms - gtl::parallel_flat_hash_map: 10029 ms - gtl::parallel_flat_hash_map: 10932 ms + boost::unordered_flat_map, single threaded: 21013 ms + boost::unordered_flat_map, single threaded, shared_mutex: 24814 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 26232 ms + concurrent_foa, single threaded: 28536 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 28580 ms + concurrent_foa, std::shared_mutex, single threaded: 29580 ms + tbb::concurrent_hash_map, single threaded: 45435 ms + boost::unordered_flat_map, sharded_prehashed: 10227 ms +boost::unordered_flat_map, sharded_prehashed: 8251 ms + boost::unordered_flat_map, sharded_prehashed: 8405 ms + boost::unordered_flat_map, sharded isolated, prehashed: 23780 ms + concurrent foa: 9509 ms + concurrent foa, tbb::spin_rw_mutex: 9868 ms + concurrent foa, std::shared_mutex: 9805 ms + tbb::concurrent_hash_map: 14254 ms + gtl::parallel_flat_hash_map: 11779 ms + gtl::parallel_flat_hash_map: 10157 ms + gtl::parallel_flat_hash_map: 10868 ms