From cfafa6de432b95182e912760a230fdc690b8e7c8 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 07:12:31 -0500 Subject: [PATCH] updated benchmark results --- clang-x64/main.cpp.txt | 146 ++++++++++++++++++++--------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/clang-x64/main.cpp.txt b/clang-x64/main.cpp.txt index cf8788ca..6808d61b 100644 --- a/clang-x64/main.cpp.txt +++ b/clang-x64/main.cpp.txt @@ -1,168 +1,168 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 4072923 -enwik9: 141176630 words, 59872 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 572311 +enwik9: 141176630 words, 59825 ms boost::unordered_flat_map, single threaded: -Word count: 5288 ms (s=141176630, size=1418655) +Word count: 5505 ms (s=141176630, size=1418655) -Contains: 3968 ms (s=97891799, size=1418655) +Contains: 4011 ms (s=97891799, size=1418655) -Total: 9256 ms +Total: 9516 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7604 ms (s=141176630, size=1418655) +Word count: 7800 ms (s=141176630, size=1418655) -Contains: 5454 ms (s=97891799, size=1418655) +Contains: 5471 ms (s=97891799, size=1418655) -Total: 13058 ms +Total: 13271 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 6010 ms (s=141176630, size=1418655) +Word count: 6210 ms (s=141176630, size=1418655) -Contains: 4342 ms (s=97891799, size=1418655) +Contains: 4355 ms (s=97891799, size=1418655) -Total: 10353 ms +Total: 10565 ms concurrent_foa, single threaded: -Word count: 7473 ms (s=141176630, size=1418655) +Word count: 7729 ms (s=141176630, size=1418655) -Contains: 5264 ms (s=97891799, size=1418655) +Contains: 5316 ms (s=97891799, size=1418655) -Total: 12738 ms +Total: 13045 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 7464 ms (s=141176630, size=1418655) +Word count: 7756 ms (s=141176630, size=1418655) -Contains: 5248 ms (s=97891799, size=1418655) +Contains: 5281 ms (s=97891799, size=1418655) -Total: 12712 ms +Total: 13038 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 8593 ms (s=141176630, size=1418655) +Word count: 8790 ms (s=141176630, size=1418655) -Contains: 6181 ms (s=97891799, size=1418655) +Contains: 6286 ms (s=97891799, size=1418655) -Total: 14775 ms +Total: 15076 ms tbb::concurrent_hash_map, single threaded: -Word count: 14873 ms (s=141176630, size=1418655) +Word count: 15243 ms (s=141176630, size=1418655) -Contains: 8349 ms (s=97891799, size=1418655) +Contains: 8882 ms (s=97891799, size=1418655) -Total: 23223 ms +Total: 24126 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4249 ms (s=141176630, size=1418655) +Word count: 4276 ms (s=141176630, size=1418655) -Contains: 2413 ms (s=97891799, size=1418655) +Contains: 2347 ms (s=97891799, size=1418655) -Total: 6663 ms +Total: 6624 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 13518 ms (s=141176630, size=1418655) +Word count: 13509 ms (s=141176630, size=1418655) -Contains: 2170 ms (s=97891799, size=1418655) +Contains: 2167 ms (s=97891799, size=1418655) -Total: 15689 ms +Total: 15677 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 6007 ms (s=141176630, size=1418655) +Word count: 5576 ms (s=141176630, size=1418655) -Contains: 1732 ms (s=97891799, size=1418655) +Contains: 1710 ms (s=97891799, size=1418655) -Total: 7740 ms +Total: 7287 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3913 ms (s=141176630, size=1418655) +Word count: 4128 ms (s=141176630, size=1418655) -Contains: 3689 ms (s=97891799, size=1418655) +Contains: 3837 ms (s=97891799, size=1418655) -Total: 7602 ms +Total: 7965 ms concurrent foa: -Word count: 3017 ms (s=141176630, size=1418655) +Word count: 2712 ms (s=141176630, size=1418655) -Contains: 1663 ms (s=97891799, size=1418655) +Contains: 1636 ms (s=97891799, size=1418655) -Total: 4681 ms +Total: 4349 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 3186 ms (s=141176630, size=1418655) +Word count: 2984 ms (s=141176630, size=1418655) -Contains: 1668 ms (s=97891799, size=1418655) +Contains: 1617 ms (s=97891799, size=1418655) -Total: 4854 ms +Total: 4601 ms concurrent foa, std::shared_mutex: -Word count: 3206 ms (s=141176630, size=1418655) +Word count: 3049 ms (s=141176630, size=1418655) -Contains: 1926 ms (s=97891799, size=1418655) +Contains: 1921 ms (s=97891799, size=1418655) -Total: 5133 ms +Total: 4970 ms tbb::concurrent_hash_map: -Word count: 5463 ms (s=141176630, size=1418655) +Word count: 5510 ms (s=141176630, size=1418655) -Contains: 2070 ms (s=97891799, size=1418655) +Contains: 1976 ms (s=97891799, size=1418655) -Total: 7534 ms +Total: 7487 ms gtl::parallel_flat_hash_map: -Word count: 5531 ms (s=141176630, size=1418655) +Word count: 5520 ms (s=141176630, size=1418655) -Contains: 2781 ms (s=97891799, size=1418655) +Contains: 2814 ms (s=97891799, size=1418655) -Total: 8312 ms +Total: 8335 ms gtl::parallel_flat_hash_map: -Word count: 20162 ms (s=141176630, size=1418655) +Word count: 17721 ms (s=141176630, size=1418655) Contains: 2788 ms (s=97891799, size=1418655) -Total: 22951 ms +Total: 20510 ms gtl::parallel_flat_hash_map: -Word count: 8320 ms (s=141176630, size=1418655) +Word count: 7708 ms (s=141176630, size=1418655) -Contains: 4246 ms (s=97891799, size=1418655) +Contains: 4360 ms (s=97891799, size=1418655) -Total: 12567 ms +Total: 12069 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 9256 ms - boost::unordered_flat_map, single threaded, shared_mutex: 13058 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10353 ms - concurrent_foa, single threaded: 12738 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 12712 ms - concurrent_foa, std::shared_mutex, single threaded: 14775 ms - tbb::concurrent_hash_map, single threaded: 23223 ms - boost::unordered_flat_map, sharded_prehashed: 6663 ms -boost::unordered_flat_map, sharded_prehashed: 15689 ms - boost::unordered_flat_map, sharded_prehashed: 7740 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7602 ms - concurrent foa: 4681 ms - concurrent foa, tbb::spin_rw_mutex: 4854 ms - concurrent foa, std::shared_mutex: 5133 ms - tbb::concurrent_hash_map: 7534 ms - gtl::parallel_flat_hash_map: 8312 ms - gtl::parallel_flat_hash_map: 22951 ms - gtl::parallel_flat_hash_map: 12567 ms + boost::unordered_flat_map, single threaded: 9516 ms + boost::unordered_flat_map, single threaded, shared_mutex: 13271 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10565 ms + concurrent_foa, single threaded: 13045 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 13038 ms + concurrent_foa, std::shared_mutex, single threaded: 15076 ms + tbb::concurrent_hash_map, single threaded: 24126 ms + boost::unordered_flat_map, sharded_prehashed: 6624 ms +boost::unordered_flat_map, sharded_prehashed: 15677 ms + boost::unordered_flat_map, sharded_prehashed: 7287 ms + boost::unordered_flat_map, sharded isolated, prehashed: 7965 ms + concurrent foa: 4349 ms + concurrent foa, tbb::spin_rw_mutex: 4601 ms + concurrent foa, std::shared_mutex: 4970 ms + tbb::concurrent_hash_map: 7487 ms + gtl::parallel_flat_hash_map: 8335 ms + gtl::parallel_flat_hash_map: 20510 ms + gtl::parallel_flat_hash_map: 12069 ms