From 0b6e79c988a2a6c034dbe83d28f903567cec0c60 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 19 Mar 2023 09:35:07 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 196 +++++++++++++++++++++---------------------- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index 7994b2d9..d509fc56 100644 --- a/gcc-x86/main.cpp.txt +++ b/gcc-x86/main.cpp.txt @@ -1,21 +1,21 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 1740936 -enwik8: 14480868 words, 6822 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1775076 +enwik8: 14480868 words, 6838 ms boost::unordered_flat_map, single threaded: Word count: 682 ms (s=14480868, size=354032) -Contains: 368 ms (s=7961072, size=354032) +Contains: 367 ms (s=7961072, size=354032) Total: 1050 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 934 ms (s=14480868, size=354032) +Word count: 935 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 545 ms (s=7961072, size=354032) -Total: 1479 ms +Total: 1480 ms boost::unordered_flat_map, single threaded, rw_spinlock: @@ -23,31 +23,31 @@ Word count: 715 ms (s=14480868, size=354032) Contains: 423 ms (s=7961072, size=354032) -Total: 1138 ms +Total: 1139 ms cfoa, single threaded: -Word count: 982 ms (s=14480868, size=354032) +Word count: 983 ms (s=14480868, size=354032) -Contains: 534 ms (s=7961072, size=354032) +Contains: 535 ms (s=7961072, size=354032) -Total: 1517 ms +Total: 1518 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 988 ms (s=14480868, size=354032) +Word count: 990 ms (s=14480868, size=354032) Contains: 544 ms (s=7961072, size=354032) -Total: 1532 ms +Total: 1534 ms cfoa, std::shared_mutex, single threaded: -Word count: 1144 ms (s=14480868, size=354032) +Word count: 1145 ms (s=14480868, size=354032) -Contains: 649 ms (s=7961072, size=354032) +Contains: 650 ms (s=7961072, size=354032) -Total: 1794 ms +Total: 1795 ms foa::concurrent_table, single threaded: @@ -55,132 +55,132 @@ Word count: 972 ms (s=14480868, size=354032) Contains: 537 ms (s=7961072, size=354032) -Total: 1510 ms +Total: 1509 ms tbb::concurrent_hash_map, single threaded: -Word count: 1452 ms (s=14480868, size=354032) +Word count: 1449 ms (s=14480868, size=354032) -Contains: 769 ms (s=7961072, size=354032) +Contains: 768 ms (s=7961072, size=354032) -Total: 2222 ms +Total: 2217 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 494 ms (s=14480868, size=354032) +Word count: 488 ms (s=14480868, size=354032) -Contains: 278 ms (s=7961072, size=354032) +Contains: 280 ms (s=7961072, size=354032) -Total: 772 ms +Total: 769 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 938 ms (s=14480868, size=354032) +Word count: 1676 ms (s=14480868, size=354032) -Contains: 284 ms (s=7961072, size=354032) +Contains: 294 ms (s=7961072, size=354032) -Total: 1223 ms +Total: 1971 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 381 ms (s=14480868, size=354032) +Word count: 488 ms (s=14480868, size=354032) -Contains: 214 ms (s=7961072, size=354032) +Contains: 217 ms (s=7961072, size=354032) -Total: 595 ms +Total: 705 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 418 ms (s=14480868, size=354032) +Word count: 448 ms (s=14480868, size=354032) -Contains: 354 ms (s=7961072, size=354032) +Contains: 328 ms (s=7961072, size=354032) -Total: 773 ms +Total: 777 ms cfoa: -Word count: 586 ms (s=14480868, size=354032) - -Contains: 185 ms (s=7961072, size=354032) - -Total: 771 ms - -cfoa, tbb::spin_rw_mutex: - -Word count: 756 ms (s=14480868, size=354032) +Word count: 610 ms (s=14480868, size=354032) Contains: 181 ms (s=7961072, size=354032) -Total: 938 ms +Total: 792 ms -cfoa, std::shared_mutex: - -Word count: 606 ms (s=14480868, size=354032) - -Contains: 213 ms (s=7961072, size=354032) - -Total: 820 ms - -foa::concurrent_table: - -Word count: 583 ms (s=14480868, size=354032) - -Contains: 168 ms (s=7961072, size=354032) - -Total: 751 ms - -tbb::concurrent_hash_map: - -Word count: 652 ms (s=14480868, size=354032) - -Contains: 220 ms (s=7961072, size=354032) - -Total: 873 ms - -gtl::parallel_flat_hash_map: - -Word count: 736 ms (s=14480868, size=354032) - -Contains: 369 ms (s=7961072, size=354032) - -Total: 1106 ms - -gtl::parallel_flat_hash_map: +cfoa, tbb::spin_rw_mutex: Word count: 893 ms (s=14480868, size=354032) -Contains: 324 ms (s=7961072, size=354032) +Contains: 184 ms (s=7961072, size=354032) -Total: 1218 ms +Total: 1077 ms + +cfoa, std::shared_mutex: + +Word count: 579 ms (s=14480868, size=354032) + +Contains: 203 ms (s=7961072, size=354032) + +Total: 782 ms + +foa::concurrent_table: + +Word count: 558 ms (s=14480868, size=354032) + +Contains: 170 ms (s=7961072, size=354032) + +Total: 728 ms + +tbb::concurrent_hash_map: + +Word count: 648 ms (s=14480868, size=354032) + +Contains: 228 ms (s=7961072, size=354032) + +Total: 877 ms + +gtl::parallel_flat_hash_map: + +Word count: 730 ms (s=14480868, size=354032) + +Contains: 366 ms (s=7961072, size=354032) + +Total: 1097 ms + +gtl::parallel_flat_hash_map: + +Word count: 2039 ms (s=14480868, size=354032) + +Contains: 327 ms (s=7961072, size=354032) + +Total: 2367 ms gtl::parallel_flat_hash_map: -Word count: 485 ms (s=14480868, size=354032) +Word count: 459 ms (s=14480868, size=354032) -Contains: 463 ms (s=7961072, size=354032) +Contains: 348 ms (s=7961072, size=354032) -Total: 949 ms +Total: 808 ms --- Number of threads: 16 boost::unordered_flat_map, single threaded: 1050 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1138 ms - cfoa, single threaded: 1517 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1532 ms - cfoa, std::shared_mutex, single threaded: 1794 ms - foa::concurrent_table, single threaded: 1510 ms - tbb::concurrent_hash_map, single threaded: 2222 ms - boost::unordered_flat_map, sharded_prehashed: 772 ms -boost::unordered_flat_map, sharded_prehashed: 1223 ms - boost::unordered_flat_map, sharded_prehashed: 595 ms - boost::unordered_flat_map, sharded isolated, prehashed: 773 ms - cfoa: 771 ms - cfoa, tbb::spin_rw_mutex: 938 ms - cfoa, std::shared_mutex: 820 ms - foa::concurrent_table: 751 ms - tbb::concurrent_hash_map: 873 ms - gtl::parallel_flat_hash_map: 1106 ms - gtl::parallel_flat_hash_map: 1218 ms - gtl::parallel_flat_hash_map: 949 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1480 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms + cfoa, single threaded: 1518 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1534 ms + cfoa, std::shared_mutex, single threaded: 1795 ms + foa::concurrent_table, single threaded: 1509 ms + tbb::concurrent_hash_map, single threaded: 2217 ms + boost::unordered_flat_map, sharded_prehashed: 769 ms +boost::unordered_flat_map, sharded_prehashed: 1971 ms + boost::unordered_flat_map, sharded_prehashed: 705 ms + boost::unordered_flat_map, sharded isolated, prehashed: 777 ms + cfoa: 792 ms + cfoa, tbb::spin_rw_mutex: 1077 ms + cfoa, std::shared_mutex: 782 ms + foa::concurrent_table: 728 ms + tbb::concurrent_hash_map: 877 ms + gtl::parallel_flat_hash_map: 1097 ms + gtl::parallel_flat_hash_map: 2367 ms + gtl::parallel_flat_hash_map: 808 ms