From a82ce27108b32d035e874009a96a0bc34c01fbbd Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 14:01:45 -0500 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 136 ++++++++++++++++++++--------------------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index dc9547e1..aef8fd06 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,25 +1,25 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 722508 -enwik8: 14480868 words, 6896 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 742651 +enwik8: 14480868 words, 6900 ms boost::unordered_flat_map, single threaded: -Word count: 635 ms (s=14480868, size=354032) +Word count: 633 ms (s=14480868, size=354032) Contains: 451 ms (s=7961072, size=354032) -Total: 1086 ms +Total: 1084 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 872 ms (s=14480868, size=354032) +Word count: 870 ms (s=14480868, size=354032) -Contains: 615 ms (s=7961072, size=354032) +Contains: 614 ms (s=7961072, size=354032) -Total: 1487 ms +Total: 1485 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 662 ms (s=14480868, size=354032) +Word count: 661 ms (s=14480868, size=354032) Contains: 484 ms (s=7961072, size=354032) @@ -27,142 +27,142 @@ Total: 1146 ms concurrent_foa, single threaded: -Word count: 823 ms (s=14480868, size=354032) +Word count: 833 ms (s=14480868, size=354032) Contains: 544 ms (s=7961072, size=354032) -Total: 1368 ms +Total: 1377 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 819 ms (s=14480868, size=354032) +Word count: 817 ms (s=14480868, size=354032) -Contains: 564 ms (s=7961072, size=354032) +Contains: 563 ms (s=7961072, size=354032) -Total: 1383 ms +Total: 1381 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 969 ms (s=14480868, size=354032) +Word count: 970 ms (s=14480868, size=354032) Contains: 692 ms (s=7961072, size=354032) -Total: 1661 ms +Total: 1663 ms tbb::concurrent_hash_map, single threaded: -Word count: 1490 ms (s=14480868, size=354032) +Word count: 1494 ms (s=14480868, size=354032) -Contains: 852 ms (s=7961072, size=354032) +Contains: 851 ms (s=7961072, size=354032) -Total: 2343 ms +Total: 2346 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 475 ms (s=14480868, size=354032) +Word count: 492 ms (s=14480868, size=354032) -Contains: 269 ms (s=7961072, size=354032) +Contains: 267 ms (s=7961072, size=354032) -Total: 744 ms +Total: 759 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 897 ms (s=14480868, size=354032) +Word count: 677 ms (s=14480868, size=354032) -Contains: 261 ms (s=7961072, size=354032) +Contains: 266 ms (s=7961072, size=354032) -Total: 1159 ms +Total: 943 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 487 ms (s=14480868, size=354032) +Word count: 591 ms (s=14480868, size=354032) -Contains: 182 ms (s=7961072, size=354032) +Contains: 184 ms (s=7961072, size=354032) -Total: 669 ms +Total: 775 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 426 ms (s=14480868, size=354032) +Word count: 435 ms (s=14480868, size=354032) -Contains: 398 ms (s=7961072, size=354032) +Contains: 396 ms (s=7961072, size=354032) -Total: 824 ms +Total: 831 ms concurrent foa: -Word count: 428 ms (s=14480868, size=354032) +Word count: 462 ms (s=14480868, size=354032) -Contains: 179 ms (s=7961072, size=354032) +Contains: 183 ms (s=7961072, size=354032) -Total: 607 ms +Total: 646 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 431 ms (s=14480868, size=354032) +Word count: 425 ms (s=14480868, size=354032) -Contains: 191 ms (s=7961072, size=354032) +Contains: 189 ms (s=7961072, size=354032) -Total: 622 ms +Total: 614 ms concurrent foa, std::shared_mutex: -Word count: 501 ms (s=14480868, size=354032) +Word count: 495 ms (s=14480868, size=354032) -Contains: 217 ms (s=7961072, size=354032) +Contains: 215 ms (s=7961072, size=354032) -Total: 719 ms +Total: 710 ms tbb::concurrent_hash_map: -Word count: 651 ms (s=14480868, size=354032) +Word count: 647 ms (s=14480868, size=354032) -Contains: 232 ms (s=7961072, size=354032) +Contains: 209 ms (s=7961072, size=354032) -Total: 884 ms +Total: 856 ms gtl::parallel_flat_hash_map: -Word count: 619 ms (s=14480868, size=354032) +Word count: 628 ms (s=14480868, size=354032) -Contains: 386 ms (s=7961072, size=354032) +Contains: 387 ms (s=7961072, size=354032) -Total: 1006 ms +Total: 1015 ms gtl::parallel_flat_hash_map: -Word count: 1981 ms (s=14480868, size=354032) +Word count: 971 ms (s=14480868, size=354032) -Contains: 320 ms (s=7961072, size=354032) +Contains: 309 ms (s=7961072, size=354032) -Total: 2302 ms +Total: 1281 ms gtl::parallel_flat_hash_map: -Word count: 537 ms (s=14480868, size=354032) +Word count: 465 ms (s=14480868, size=354032) -Contains: 350 ms (s=7961072, size=354032) +Contains: 303 ms (s=7961072, size=354032) -Total: 887 ms +Total: 769 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1086 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1487 ms + boost::unordered_flat_map, single threaded: 1084 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1485 ms boost::unordered_flat_map, single threaded, rw_spinlock: 1146 ms - concurrent_foa, single threaded: 1368 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms - concurrent_foa, std::shared_mutex, single threaded: 1661 ms - tbb::concurrent_hash_map, single threaded: 2343 ms - boost::unordered_flat_map, sharded_prehashed: 744 ms -boost::unordered_flat_map, sharded_prehashed: 1159 ms - boost::unordered_flat_map, sharded_prehashed: 669 ms - boost::unordered_flat_map, sharded isolated, prehashed: 824 ms - concurrent foa: 607 ms - concurrent foa, tbb::spin_rw_mutex: 622 ms - concurrent foa, std::shared_mutex: 719 ms - tbb::concurrent_hash_map: 884 ms - gtl::parallel_flat_hash_map: 1006 ms - gtl::parallel_flat_hash_map: 2302 ms - gtl::parallel_flat_hash_map: 887 ms + concurrent_foa, single threaded: 1377 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms + concurrent_foa, std::shared_mutex, single threaded: 1663 ms + tbb::concurrent_hash_map, single threaded: 2346 ms + boost::unordered_flat_map, sharded_prehashed: 759 ms +boost::unordered_flat_map, sharded_prehashed: 943 ms + boost::unordered_flat_map, sharded_prehashed: 775 ms + boost::unordered_flat_map, sharded isolated, prehashed: 831 ms + concurrent foa: 646 ms + concurrent foa, tbb::spin_rw_mutex: 614 ms + concurrent foa, std::shared_mutex: 710 ms + tbb::concurrent_hash_map: 856 ms + gtl::parallel_flat_hash_map: 1015 ms + gtl::parallel_flat_hash_map: 1281 ms + gtl::parallel_flat_hash_map: 769 ms