From c8ae15ecdd4be39e1b4ae2805e9478b6d2ec64cb Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 20 Jan 2023 13:21:24 -0500 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 144 ++++++++++++++++++++--------------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 03798ad6..36808f93 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,5 +1,5 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 690718 -enwik8: 14480868 words, 6922 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 707377 +enwik8: 14480868 words, 6910 ms boost::unordered_flat_map, single threaded: @@ -13,9 +13,9 @@ boost::unordered_flat_map, single threaded, shared_mutex: Word count: 870 ms (s=14480868, size=354032) -Contains: 615 ms (s=7961072, size=354032) +Contains: 614 ms (s=7961072, size=354032) -Total: 1486 ms +Total: 1484 ms boost::unordered_flat_map, single threaded, rw_spinlock: @@ -27,142 +27,142 @@ Total: 1146 ms concurrent_foa, single threaded: -Word count: 822 ms (s=14480868, size=354032) +Word count: 820 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 543 ms (s=7961072, size=354032) -Total: 1366 ms +Total: 1364 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 818 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: 970 ms (s=14480868, size=354032) +Word count: 968 ms (s=14480868, size=354032) Contains: 692 ms (s=7961072, size=354032) -Total: 1663 ms +Total: 1660 ms tbb::concurrent_hash_map, single threaded: Word count: 1493 ms (s=14480868, size=354032) -Contains: 868 ms (s=7961072, size=354032) +Contains: 852 ms (s=7961072, size=354032) -Total: 2361 ms +Total: 2346 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 477 ms (s=14480868, size=354032) +Word count: 489 ms (s=14480868, size=354032) -Contains: 266 ms (s=7961072, size=354032) +Contains: 276 ms (s=7961072, size=354032) -Total: 744 ms +Total: 765 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2253 ms (s=14480868, size=354032) +Word count: 1448 ms (s=14480868, size=354032) -Contains: 261 ms (s=7961072, size=354032) +Contains: 264 ms (s=7961072, size=354032) -Total: 2514 ms +Total: 1713 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 619 ms (s=14480868, size=354032) +Word count: 453 ms (s=14480868, size=354032) -Contains: 183 ms (s=7961072, size=354032) +Contains: 199 ms (s=7961072, size=354032) -Total: 803 ms +Total: 653 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 421 ms (s=14480868, size=354032) +Word count: 440 ms (s=14480868, size=354032) -Contains: 399 ms (s=7961072, size=354032) +Contains: 386 ms (s=7961072, size=354032) -Total: 820 ms +Total: 827 ms concurrent foa: -Word count: 434 ms (s=14480868, size=354032) +Word count: 416 ms (s=14480868, size=354032) -Contains: 184 ms (s=7961072, size=354032) +Contains: 181 ms (s=7961072, size=354032) -Total: 619 ms +Total: 597 ms concurrent foa, tbb::spin_rw_mutex: -Word count: 407 ms (s=14480868, size=354032) +Word count: 428 ms (s=14480868, size=354032) -Contains: 192 ms (s=7961072, size=354032) +Contains: 190 ms (s=7961072, size=354032) -Total: 600 ms +Total: 618 ms concurrent foa, std::shared_mutex: -Word count: 501 ms (s=14480868, size=354032) +Word count: 538 ms (s=14480868, size=354032) -Contains: 223 ms (s=7961072, size=354032) +Contains: 209 ms (s=7961072, size=354032) -Total: 725 ms +Total: 747 ms tbb::concurrent_hash_map: -Word count: 638 ms (s=14480868, size=354032) +Word count: 633 ms (s=14480868, size=354032) -Contains: 201 ms (s=7961072, size=354032) +Contains: 214 ms (s=7961072, size=354032) -Total: 839 ms +Total: 848 ms gtl::parallel_flat_hash_map: -Word count: 634 ms (s=14480868, size=354032) - -Contains: 396 ms (s=7961072, size=354032) - -Total: 1030 ms - -gtl::parallel_flat_hash_map: - -Word count: 2239 ms (s=14480868, size=354032) - -Contains: 304 ms (s=7961072, size=354032) - -Total: 2544 ms - -gtl::parallel_flat_hash_map: - -Word count: 588 ms (s=14480868, size=354032) +Word count: 625 ms (s=14480868, size=354032) Contains: 388 ms (s=7961072, size=354032) -Total: 976 ms +Total: 1014 ms + +gtl::parallel_flat_hash_map: + +Word count: 1762 ms (s=14480868, size=354032) + +Contains: 324 ms (s=7961072, size=354032) + +Total: 2086 ms + +gtl::parallel_flat_hash_map: + +Word count: 527 ms (s=14480868, size=354032) + +Contains: 398 ms (s=7961072, size=354032) + +Total: 925 ms --- Number of threads: 16 boost::unordered_flat_map, single threaded: 1084 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1486 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1484 ms boost::unordered_flat_map, single threaded, rw_spinlock: 1146 ms - concurrent_foa, single threaded: 1366 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms - concurrent_foa, std::shared_mutex, single threaded: 1663 ms - tbb::concurrent_hash_map, single threaded: 2361 ms - boost::unordered_flat_map, sharded_prehashed: 744 ms -boost::unordered_flat_map, sharded_prehashed: 2514 ms - boost::unordered_flat_map, sharded_prehashed: 803 ms - boost::unordered_flat_map, sharded isolated, prehashed: 820 ms - concurrent foa: 619 ms - concurrent foa, tbb::spin_rw_mutex: 600 ms - concurrent foa, std::shared_mutex: 725 ms - tbb::concurrent_hash_map: 839 ms - gtl::parallel_flat_hash_map: 1030 ms - gtl::parallel_flat_hash_map: 2544 ms - gtl::parallel_flat_hash_map: 976 ms + concurrent_foa, single threaded: 1364 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms + concurrent_foa, std::shared_mutex, single threaded: 1660 ms + tbb::concurrent_hash_map, single threaded: 2346 ms + boost::unordered_flat_map, sharded_prehashed: 765 ms +boost::unordered_flat_map, sharded_prehashed: 1713 ms + boost::unordered_flat_map, sharded_prehashed: 653 ms + boost::unordered_flat_map, sharded isolated, prehashed: 827 ms + concurrent foa: 597 ms + concurrent foa, tbb::spin_rw_mutex: 618 ms + concurrent foa, std::shared_mutex: 747 ms + tbb::concurrent_hash_map: 848 ms + gtl::parallel_flat_hash_map: 1014 ms + gtl::parallel_flat_hash_map: 2086 ms + gtl::parallel_flat_hash_map: 925 ms