From ed06ae82f2d11fc85a98bf886ab4fb9be3dc1a60 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 12:08:48 -0500 Subject: [PATCH] updated benchmark results --- gcc-x64/main.cpp.txt | 146 +++++++++++++++++++++---------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/gcc-x64/main.cpp.txt b/gcc-x64/main.cpp.txt index 5e143b0d..95367813 100644 --- a/gcc-x64/main.cpp.txt +++ b/gcc-x64/main.cpp.txt @@ -1,168 +1,168 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 621230 -enwik9: 141176630 words, 57566 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 671831 +enwik9: 141176630 words, 57941 ms boost::unordered_flat_map, single threaded: -Word count: 4971 ms (s=141176630, size=1418655) +Word count: 5006 ms (s=141176630, size=1418655) -Contains: 3604 ms (s=97891799, size=1418655) +Contains: 3608 ms (s=97891799, size=1418655) -Total: 8575 ms +Total: 8614 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7383 ms (s=141176630, size=1418655) +Word count: 7317 ms (s=141176630, size=1418655) -Contains: 5204 ms (s=97891799, size=1418655) +Contains: 5178 ms (s=97891799, size=1418655) -Total: 12588 ms +Total: 12495 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5465 ms (s=141176630, size=1418655) +Word count: 5428 ms (s=141176630, size=1418655) -Contains: 4011 ms (s=97891799, size=1418655) +Contains: 4000 ms (s=97891799, size=1418655) -Total: 9476 ms +Total: 9428 ms concurrent_foa, single threaded: -Word count: 7870 ms (s=141176630, size=1418655) +Word count: 8097 ms (s=141176630, size=1418655) -Contains: 4927 ms (s=97891799, size=1418655) +Contains: 4979 ms (s=97891799, size=1418655) -Total: 12797 ms +Total: 13076 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 7894 ms (s=141176630, size=1418655) +Word count: 8002 ms (s=141176630, size=1418655) -Contains: 5097 ms (s=97891799, size=1418655) +Contains: 5114 ms (s=97891799, size=1418655) -Total: 12992 ms +Total: 13117 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 8790 ms (s=141176630, size=1418655) +Word count: 10360 ms (s=141176630, size=1418655) -Contains: 6069 ms (s=97891799, size=1418655) +Contains: 6075 ms (s=97891799, size=1418655) -Total: 14859 ms +Total: 16436 ms tbb::concurrent_hash_map, single threaded: -Word count: 14406 ms (s=141176630, size=1418655) +Word count: 14361 ms (s=141176630, size=1418655) -Contains: 8338 ms (s=97891799, size=1418655) +Contains: 8350 ms (s=97891799, size=1418655) -Total: 22744 ms +Total: 22712 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4326 ms (s=141176630, size=1418655) +Word count: 4284 ms (s=141176630, size=1418655) -Contains: 2435 ms (s=97891799, size=1418655) +Contains: 2410 ms (s=97891799, size=1418655) -Total: 6761 ms +Total: 6695 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 9668 ms (s=141176630, size=1418655) +Word count: 11331 ms (s=141176630, size=1418655) -Contains: 2169 ms (s=97891799, size=1418655) +Contains: 2205 ms (s=97891799, size=1418655) -Total: 11837 ms +Total: 13536 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5394 ms (s=141176630, size=1418655) +Word count: 5748 ms (s=141176630, size=1418655) -Contains: 1774 ms (s=97891799, size=1418655) +Contains: 1772 ms (s=97891799, size=1418655) -Total: 7169 ms +Total: 7520 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3989 ms (s=141176630, size=1418655) +Word count: 4062 ms (s=141176630, size=1418655) -Contains: 3628 ms (s=97891799, size=1418655) +Contains: 3716 ms (s=97891799, size=1418655) -Total: 7618 ms +Total: 7778 ms concurrent foa: -Word count: 3055 ms (s=141176630, size=1418655) +Word count: 3024 ms (s=141176630, size=1418655) -Contains: 1650 ms (s=97891799, size=1418655) +Contains: 1614 ms (s=97891799, size=1418655) -Total: 4706 ms +Total: 4638 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 2978 ms (s=141176630, size=1418655) +Word count: 3260 ms (s=141176630, size=1418655) -Contains: 1627 ms (s=97891799, size=1418655) +Contains: 1644 ms (s=97891799, size=1418655) -Total: 4606 ms +Total: 4904 ms concurrent foa, std::shared_mutex: -Word count: 3154 ms (s=141176630, size=1418655) +Word count: 3200 ms (s=141176630, size=1418655) -Contains: 1795 ms (s=97891799, size=1418655) +Contains: 1811 ms (s=97891799, size=1418655) -Total: 4949 ms +Total: 5011 ms tbb::concurrent_hash_map: -Word count: 5575 ms (s=141176630, size=1418655) +Word count: 5442 ms (s=141176630, size=1418655) Contains: 2021 ms (s=97891799, size=1418655) -Total: 7597 ms +Total: 7464 ms gtl::parallel_flat_hash_map: -Word count: 4354 ms (s=141176630, size=1418655) +Word count: 4345 ms (s=141176630, size=1418655) -Contains: 2409 ms (s=97891799, size=1418655) +Contains: 2351 ms (s=97891799, size=1418655) -Total: 6763 ms +Total: 6696 ms gtl::parallel_flat_hash_map: -Word count: 25559 ms (s=141176630, size=1418655) +Word count: 33040 ms (s=141176630, size=1418655) -Contains: 2399 ms (s=97891799, size=1418655) +Contains: 2388 ms (s=97891799, size=1418655) -Total: 27958 ms +Total: 35428 ms gtl::parallel_flat_hash_map: -Word count: 7072 ms (s=141176630, size=1418655) +Word count: 6737 ms (s=141176630, size=1418655) -Contains: 2732 ms (s=97891799, size=1418655) +Contains: 2953 ms (s=97891799, size=1418655) -Total: 9805 ms +Total: 9691 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 8575 ms - boost::unordered_flat_map, single threaded, shared_mutex: 12588 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 9476 ms - concurrent_foa, single threaded: 12797 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 12992 ms - concurrent_foa, std::shared_mutex, single threaded: 14859 ms - tbb::concurrent_hash_map, single threaded: 22744 ms - boost::unordered_flat_map, sharded_prehashed: 6761 ms -boost::unordered_flat_map, sharded_prehashed: 11837 ms - boost::unordered_flat_map, sharded_prehashed: 7169 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7618 ms - concurrent foa: 4706 ms - concurrent foa, tbb::spin_rw_mutex: 4606 ms - concurrent foa, std::shared_mutex: 4949 ms - tbb::concurrent_hash_map: 7597 ms - gtl::parallel_flat_hash_map: 6763 ms - gtl::parallel_flat_hash_map: 27958 ms - gtl::parallel_flat_hash_map: 9805 ms + boost::unordered_flat_map, single threaded: 8614 ms + boost::unordered_flat_map, single threaded, shared_mutex: 12495 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9428 ms + concurrent_foa, single threaded: 13076 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13117 ms + concurrent_foa, std::shared_mutex, single threaded: 16436 ms + tbb::concurrent_hash_map, single threaded: 22712 ms + boost::unordered_flat_map, sharded_prehashed: 6695 ms +boost::unordered_flat_map, sharded_prehashed: 13536 ms + boost::unordered_flat_map, sharded_prehashed: 7520 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7778 ms + concurrent foa: 4638 ms + concurrent foa, tbb::spin_rw_mutex: 4904 ms + concurrent foa, std::shared_mutex: 5011 ms + tbb::concurrent_hash_map: 7464 ms + gtl::parallel_flat_hash_map: 6696 ms + gtl::parallel_flat_hash_map: 35428 ms + gtl::parallel_flat_hash_map: 9691 ms