From 339ac184375dc2a8b8f49c4df48c40440db72c6a Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 16 Jan 2023 07:54:34 -0500 Subject: [PATCH] updated benchmark results --- gcc-x64/main.cpp.txt | 148 +++++++++++++++++++++---------------------- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/gcc-x64/main.cpp.txt b/gcc-x64/main.cpp.txt index aa907d1d..7fee9b8f 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: 4009089 -enwik9: 141176630 words, 57895 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 4047162 +enwik9: 141176630 words, 57931 ms boost::unordered_flat_map, single threaded: -Word count: 4920 ms (s=141176630, size=1418655) +Word count: 4935 ms (s=141176630, size=1418655) -Contains: 3609 ms (s=97891799, size=1418655) +Contains: 3605 ms (s=97891799, size=1418655) -Total: 8530 ms +Total: 8540 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7375 ms (s=141176630, size=1418655) +Word count: 7385 ms (s=141176630, size=1418655) -Contains: 5206 ms (s=97891799, size=1418655) +Contains: 5203 ms (s=97891799, size=1418655) -Total: 12581 ms +Total: 12588 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5485 ms (s=141176630, size=1418655) +Word count: 5497 ms (s=141176630, size=1418655) -Contains: 4017 ms (s=97891799, size=1418655) +Contains: 4015 ms (s=97891799, size=1418655) -Total: 9503 ms +Total: 9512 ms concurrent_foa, single threaded: -Word count: 8247 ms (s=141176630, size=1418655) +Word count: 8268 ms (s=141176630, size=1418655) -Contains: 5252 ms (s=97891799, size=1418655) +Contains: 5249 ms (s=97891799, size=1418655) -Total: 13499 ms +Total: 13518 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 8288 ms (s=141176630, size=1418655) +Word count: 8309 ms (s=141176630, size=1418655) -Contains: 5417 ms (s=97891799, size=1418655) +Contains: 5419 ms (s=97891799, size=1418655) -Total: 13706 ms +Total: 13728 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 11018 ms (s=141176630, size=1418655) +Word count: 11085 ms (s=141176630, size=1418655) -Contains: 6293 ms (s=97891799, size=1418655) +Contains: 6295 ms (s=97891799, size=1418655) -Total: 17312 ms +Total: 17380 ms tbb::concurrent_hash_map, single threaded: -Word count: 14426 ms (s=141176630, size=1418655) +Word count: 14423 ms (s=141176630, size=1418655) -Contains: 8330 ms (s=97891799, size=1418655) +Contains: 8349 ms (s=97891799, size=1418655) -Total: 22757 ms +Total: 22773 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4299 ms (s=141176630, size=1418655) +Word count: 4302 ms (s=141176630, size=1418655) -Contains: 2499 ms (s=97891799, size=1418655) +Contains: 2466 ms (s=97891799, size=1418655) -Total: 6798 ms +Total: 6768 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 9682 ms (s=141176630, size=1418655) +Word count: 14756 ms (s=141176630, size=1418655) -Contains: 2129 ms (s=97891799, size=1418655) +Contains: 2183 ms (s=97891799, size=1418655) -Total: 11812 ms +Total: 16939 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5083 ms (s=141176630, size=1418655) +Word count: 5454 ms (s=141176630, size=1418655) -Contains: 1782 ms (s=97891799, size=1418655) +Contains: 1757 ms (s=97891799, size=1418655) -Total: 6865 ms +Total: 7212 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 4133 ms (s=141176630, size=1418655) +Word count: 3735 ms (s=141176630, size=1418655) -Contains: 3560 ms (s=97891799, size=1418655) +Contains: 3435 ms (s=97891799, size=1418655) -Total: 7693 ms +Total: 7171 ms concurrent foa: -Word count: 3206 ms (s=141176630, size=1418655) +Word count: 3125 ms (s=141176630, size=1418655) -Contains: 1684 ms (s=97891799, size=1418655) +Contains: 1700 ms (s=97891799, size=1418655) -Total: 4891 ms +Total: 4826 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 3105 ms (s=141176630, size=1418655) +Word count: 3052 ms (s=141176630, size=1418655) -Contains: 1677 ms (s=97891799, size=1418655) +Contains: 1680 ms (s=97891799, size=1418655) -Total: 4782 ms +Total: 4732 ms concurrent foa, std::shared_mutex: -Word count: 3335 ms (s=141176630, size=1418655) +Word count: 3338 ms (s=141176630, size=1418655) -Contains: 1903 ms (s=97891799, size=1418655) +Contains: 1925 ms (s=97891799, size=1418655) -Total: 5239 ms +Total: 5264 ms tbb::concurrent_hash_map: -Word count: 5383 ms (s=141176630, size=1418655) +Word count: 5570 ms (s=141176630, size=1418655) -Contains: 1967 ms (s=97891799, size=1418655) +Contains: 2012 ms (s=97891799, size=1418655) -Total: 7351 ms +Total: 7582 ms gtl::parallel_flat_hash_map: -Word count: 4406 ms (s=141176630, size=1418655) +Word count: 4348 ms (s=141176630, size=1418655) -Contains: 2414 ms (s=97891799, size=1418655) +Contains: 2346 ms (s=97891799, size=1418655) -Total: 6820 ms +Total: 6694 ms gtl::parallel_flat_hash_map: -Word count: 26032 ms (s=141176630, size=1418655) +Word count: 27807 ms (s=141176630, size=1418655) -Contains: 2338 ms (s=97891799, size=1418655) +Contains: 2302 ms (s=97891799, size=1418655) -Total: 28370 ms +Total: 30110 ms gtl::parallel_flat_hash_map: -Word count: 6705 ms (s=141176630, size=1418655) +Word count: 7150 ms (s=141176630, size=1418655) -Contains: 3354 ms (s=97891799, size=1418655) +Contains: 3196 ms (s=97891799, size=1418655) -Total: 10060 ms +Total: 10346 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 8530 ms - boost::unordered_flat_map, single threaded, shared_mutex: 12581 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 9503 ms - concurrent_foa, single threaded: 13499 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 13706 ms - concurrent_foa, std::shared_mutex, single threaded: 17312 ms - tbb::concurrent_hash_map, single threaded: 22757 ms - boost::unordered_flat_map, sharded_prehashed: 6798 ms -boost::unordered_flat_map, sharded_prehashed: 11812 ms - boost::unordered_flat_map, sharded_prehashed: 6865 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms - concurrent foa: 4891 ms - concurrent foa, tbb::spin_rw_mutex: 4782 ms - concurrent foa, std::shared_mutex: 5239 ms - tbb::concurrent_hash_map: 7351 ms - gtl::parallel_flat_hash_map: 6820 ms - gtl::parallel_flat_hash_map: 28370 ms - gtl::parallel_flat_hash_map: 10060 ms + boost::unordered_flat_map, single threaded: 8540 ms + boost::unordered_flat_map, single threaded, shared_mutex: 12588 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9512 ms + concurrent_foa, single threaded: 13518 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13728 ms + concurrent_foa, std::shared_mutex, single threaded: 17380 ms + tbb::concurrent_hash_map, single threaded: 22773 ms + boost::unordered_flat_map, sharded_prehashed: 6768 ms +boost::unordered_flat_map, sharded_prehashed: 16939 ms + boost::unordered_flat_map, sharded_prehashed: 7212 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7171 ms + concurrent foa: 4826 ms + concurrent foa, tbb::spin_rw_mutex: 4732 ms + concurrent foa, std::shared_mutex: 5264 ms + tbb::concurrent_hash_map: 7582 ms + gtl::parallel_flat_hash_map: 6694 ms + gtl::parallel_flat_hash_map: 30110 ms + gtl::parallel_flat_hash_map: 10346 ms