From cda12c920ed559b56edb0134a94eb3fea9919806 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 21 Jan 2023 05:47:24 -0500 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 152 ++++++++++++++++++++--------------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 31de9ec9..9f63ce3d 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,168 +1,168 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 910933 -enwik8: 14480868 words, 6886 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 944639 +enwik8: 14480868 words, 6955 ms boost::unordered_flat_map, single threaded: -Word count: 633 ms (s=14480868, size=354032) +Word count: 629 ms (s=14480868, size=354032) -Contains: 451 ms (s=7961072, size=354032) +Contains: 441 ms (s=7961072, size=354032) -Total: 1085 ms +Total: 1071 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 872 ms (s=14480868, size=354032) +Word count: 890 ms (s=14480868, size=354032) -Contains: 614 ms (s=7961072, size=354032) +Contains: 605 ms (s=7961072, size=354032) -Total: 1487 ms +Total: 1496 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 661 ms (s=14480868, size=354032) +Word count: 650 ms (s=14480868, size=354032) -Contains: 484 ms (s=7961072, size=354032) +Contains: 476 ms (s=7961072, size=354032) -Total: 1146 ms +Total: 1126 ms concurrent_foa, single threaded: -Word count: 821 ms (s=14480868, size=354032) +Word count: 840 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 548 ms (s=7961072, size=354032) -Total: 1365 ms +Total: 1388 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 817 ms (s=14480868, size=354032) +Word count: 833 ms (s=14480868, size=354032) -Contains: 563 ms (s=7961072, size=354032) +Contains: 550 ms (s=7961072, size=354032) -Total: 1381 ms +Total: 1383 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 967 ms (s=14480868, size=354032) +Word count: 988 ms (s=14480868, size=354032) Contains: 692 ms (s=7961072, size=354032) -Total: 1659 ms +Total: 1680 ms tbb::concurrent_hash_map, single threaded: -Word count: 1489 ms (s=14480868, size=354032) +Word count: 1499 ms (s=14480868, size=354032) -Contains: 878 ms (s=7961072, size=354032) +Contains: 835 ms (s=7961072, size=354032) -Total: 2367 ms +Total: 2335 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 490 ms (s=14480868, size=354032) +Word count: 477 ms (s=14480868, size=354032) -Contains: 274 ms (s=7961072, size=354032) +Contains: 261 ms (s=7961072, size=354032) -Total: 765 ms +Total: 738 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2203 ms (s=14480868, size=354032) +Word count: 647 ms (s=14480868, size=354032) -Contains: 249 ms (s=7961072, size=354032) +Contains: 268 ms (s=7961072, size=354032) -Total: 2452 ms +Total: 916 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 408 ms (s=14480868, size=354032) +Word count: 511 ms (s=14480868, size=354032) Contains: 183 ms (s=7961072, size=354032) -Total: 591 ms +Total: 695 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 444 ms (s=14480868, size=354032) +Word count: 401 ms (s=14480868, size=354032) -Contains: 399 ms (s=7961072, size=354032) +Contains: 387 ms (s=7961072, size=354032) -Total: 843 ms +Total: 789 ms concurrent foa: -Word count: 443 ms (s=14480868, size=354032) +Word count: 384 ms (s=14480868, size=354032) -Contains: 187 ms (s=7961072, size=354032) +Contains: 175 ms (s=7961072, size=354032) -Total: 631 ms +Total: 560 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 415 ms (s=14480868, size=354032) +Word count: 385 ms (s=14480868, size=354032) -Contains: 193 ms (s=7961072, size=354032) +Contains: 190 ms (s=7961072, size=354032) -Total: 608 ms +Total: 576 ms concurrent foa, std::shared_mutex: -Word count: 496 ms (s=14480868, size=354032) +Word count: 386 ms (s=14480868, size=354032) -Contains: 204 ms (s=7961072, size=354032) +Contains: 182 ms (s=7961072, size=354032) -Total: 700 ms +Total: 568 ms tbb::concurrent_hash_map: -Word count: 640 ms (s=14480868, size=354032) +Word count: 637 ms (s=14480868, size=354032) -Contains: 204 ms (s=7961072, size=354032) +Contains: 212 ms (s=7961072, size=354032) -Total: 845 ms +Total: 850 ms gtl::parallel_flat_hash_map: -Word count: 622 ms (s=14480868, size=354032) +Word count: 620 ms (s=14480868, size=354032) -Contains: 401 ms (s=7961072, size=354032) +Contains: 407 ms (s=7961072, size=354032) -Total: 1024 ms +Total: 1028 ms gtl::parallel_flat_hash_map: -Word count: 1914 ms (s=14480868, size=354032) - -Contains: 329 ms (s=7961072, size=354032) - -Total: 2243 ms - -gtl::parallel_flat_hash_map: - -Word count: 672 ms (s=14480868, size=354032) +Word count: 1769 ms (s=14480868, size=354032) Contains: 321 ms (s=7961072, size=354032) -Total: 994 ms +Total: 2090 ms + +gtl::parallel_flat_hash_map: + +Word count: 772 ms (s=14480868, size=354032) + +Contains: 368 ms (s=7961072, size=354032) + +Total: 1141 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1085 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1487 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1146 ms - concurrent_foa, single threaded: 1365 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms - concurrent_foa, std::shared_mutex, single threaded: 1659 ms - tbb::concurrent_hash_map, single threaded: 2367 ms - boost::unordered_flat_map, sharded_prehashed: 765 ms -boost::unordered_flat_map, sharded_prehashed: 2452 ms - boost::unordered_flat_map, sharded_prehashed: 591 ms - boost::unordered_flat_map, sharded isolated, prehashed: 843 ms - concurrent foa: 631 ms - concurrent foa, tbb::spin_rw_mutex: 608 ms - concurrent foa, std::shared_mutex: 700 ms - tbb::concurrent_hash_map: 845 ms - gtl::parallel_flat_hash_map: 1024 ms - gtl::parallel_flat_hash_map: 2243 ms - gtl::parallel_flat_hash_map: 994 ms + boost::unordered_flat_map, single threaded: 1071 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1496 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1126 ms + concurrent_foa, single threaded: 1388 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms + concurrent_foa, std::shared_mutex, single threaded: 1680 ms + tbb::concurrent_hash_map, single threaded: 2335 ms + boost::unordered_flat_map, sharded_prehashed: 738 ms +boost::unordered_flat_map, sharded_prehashed: 916 ms + boost::unordered_flat_map, sharded_prehashed: 695 ms + boost::unordered_flat_map, sharded isolated, prehashed: 789 ms + concurrent foa: 560 ms + concurrent foa, tbb::spin_rw_mutex: 576 ms + concurrent foa, std::shared_mutex: 568 ms + tbb::concurrent_hash_map: 850 ms + gtl::parallel_flat_hash_map: 1028 ms + gtl::parallel_flat_hash_map: 2090 ms + gtl::parallel_flat_hash_map: 1141 ms