From 72525efda2f5cedb2203e3be5254aabafb8a44e0 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Tue, 21 Mar 2023 11:04:33 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 188 +++++++++++++++++++++---------------------- 1 file changed, 94 insertions(+), 94 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index 37f5115d..ca01b16c 100644 --- a/gcc-x86/main.cpp.txt +++ b/gcc-x86/main.cpp.txt @@ -1,186 +1,186 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 1975337 -enwik8: 14480868 words, 6875 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 2015118 +enwik8: 14480868 words, 6860 ms boost::unordered_flat_map, single threaded: -Word count: 682 ms (s=14480868, size=354032) +Word count: 684 ms (s=14480868, size=354032) -Contains: 368 ms (s=7961072, size=354032) +Contains: 369 ms (s=7961072, size=354032) -Total: 1051 ms +Total: 1054 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 933 ms (s=14480868, size=354032) +Word count: 936 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 542 ms (s=7961072, size=354032) -Total: 1477 ms +Total: 1479 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 711 ms (s=14480868, size=354032) +Word count: 717 ms (s=14480868, size=354032) Contains: 423 ms (s=7961072, size=354032) -Total: 1135 ms +Total: 1141 ms cfoa, single threaded: -Word count: 982 ms (s=14480868, size=354032) - -Contains: 534 ms (s=7961072, size=354032) - -Total: 1517 ms - -cfoa, tbb::spin_rw_mutex, single threaded: - -Word count: 992 ms (s=14480868, size=354032) - -Contains: 545 ms (s=7961072, size=354032) - -Total: 1537 ms - -cfoa, std::shared_mutex, single threaded: - -Word count: 1144 ms (s=14480868, size=354032) - -Contains: 650 ms (s=7961072, size=354032) - -Total: 1795 ms - -foa::concurrent_table, single threaded: - -Word count: 964 ms (s=14480868, size=354032) +Word count: 980 ms (s=14480868, size=354032) Contains: 537 ms (s=7961072, size=354032) -Total: 1502 ms +Total: 1518 ms + +cfoa, tbb::spin_rw_mutex, single threaded: + +Word count: 993 ms (s=14480868, size=354032) + +Contains: 543 ms (s=7961072, size=354032) + +Total: 1536 ms + +cfoa, std::shared_mutex, single threaded: + +Word count: 1147 ms (s=14480868, size=354032) + +Contains: 652 ms (s=7961072, size=354032) + +Total: 1799 ms + +foa::concurrent_table, single threaded: + +Word count: 959 ms (s=14480868, size=354032) + +Contains: 540 ms (s=7961072, size=354032) + +Total: 1499 ms tbb::concurrent_hash_map, single threaded: -Word count: 1461 ms (s=14480868, size=354032) +Word count: 1471 ms (s=14480868, size=354032) -Contains: 770 ms (s=7961072, size=354032) +Contains: 772 ms (s=7961072, size=354032) -Total: 2232 ms +Total: 2243 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 489 ms (s=14480868, size=354032) +Word count: 484 ms (s=14480868, size=354032) -Contains: 283 ms (s=7961072, size=354032) +Contains: 284 ms (s=7961072, size=354032) -Total: 772 ms +Total: 768 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 932 ms (s=14480868, size=354032) +Word count: 1437 ms (s=14480868, size=354032) -Contains: 273 ms (s=7961072, size=354032) +Contains: 293 ms (s=7961072, size=354032) -Total: 1206 ms +Total: 1731 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 379 ms (s=14480868, size=354032) +Word count: 383 ms (s=14480868, size=354032) -Contains: 198 ms (s=7961072, size=354032) +Contains: 213 ms (s=7961072, size=354032) -Total: 577 ms +Total: 597 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 412 ms (s=14480868, size=354032) +Word count: 425 ms (s=14480868, size=354032) -Contains: 335 ms (s=7961072, size=354032) +Contains: 342 ms (s=7961072, size=354032) -Total: 748 ms +Total: 767 ms cfoa: -Word count: 565 ms (s=14480868, size=354032) +Word count: 621 ms (s=14480868, size=354032) -Contains: 179 ms (s=7961072, size=354032) +Contains: 187 ms (s=7961072, size=354032) -Total: 745 ms +Total: 808 ms cfoa, tbb::spin_rw_mutex: Word count: 696 ms (s=14480868, size=354032) -Contains: 187 ms (s=7961072, size=354032) +Contains: 183 ms (s=7961072, size=354032) -Total: 883 ms +Total: 879 ms cfoa, std::shared_mutex: -Word count: 572 ms (s=14480868, size=354032) +Word count: 590 ms (s=14480868, size=354032) -Contains: 227 ms (s=7961072, size=354032) +Contains: 215 ms (s=7961072, size=354032) -Total: 800 ms +Total: 806 ms foa::concurrent_table: -Word count: 497 ms (s=14480868, size=354032) +Word count: 606 ms (s=14480868, size=354032) -Contains: 173 ms (s=7961072, size=354032) +Contains: 168 ms (s=7961072, size=354032) -Total: 670 ms +Total: 774 ms tbb::concurrent_hash_map: -Word count: 637 ms (s=14480868, size=354032) +Word count: 654 ms (s=14480868, size=354032) -Contains: 224 ms (s=7961072, size=354032) +Contains: 236 ms (s=7961072, size=354032) -Total: 861 ms +Total: 890 ms gtl::parallel_flat_hash_map: -Word count: 723 ms (s=14480868, size=354032) +Word count: 731 ms (s=14480868, size=354032) -Contains: 367 ms (s=7961072, size=354032) +Contains: 378 ms (s=7961072, size=354032) -Total: 1091 ms +Total: 1109 ms gtl::parallel_flat_hash_map: -Word count: 1646 ms (s=14480868, size=354032) +Word count: 3874 ms (s=14480868, size=354032) -Contains: 335 ms (s=7961072, size=354032) +Contains: 322 ms (s=7961072, size=354032) -Total: 1981 ms +Total: 4196 ms gtl::parallel_flat_hash_map: -Word count: 634 ms (s=14480868, size=354032) +Word count: 643 ms (s=14480868, size=354032) -Contains: 310 ms (s=7961072, size=354032) +Contains: 311 ms (s=7961072, size=354032) -Total: 945 ms +Total: 954 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1051 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1477 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1135 ms - cfoa, single threaded: 1517 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1537 ms - cfoa, std::shared_mutex, single threaded: 1795 ms - foa::concurrent_table, single threaded: 1502 ms - tbb::concurrent_hash_map, single threaded: 2232 ms - boost::unordered_flat_map, sharded_prehashed: 772 ms -boost::unordered_flat_map, sharded_prehashed: 1206 ms - boost::unordered_flat_map, sharded_prehashed: 577 ms - boost::unordered_flat_map, sharded isolated, prehashed: 748 ms - cfoa: 745 ms - cfoa, tbb::spin_rw_mutex: 883 ms - cfoa, std::shared_mutex: 800 ms - foa::concurrent_table: 670 ms - tbb::concurrent_hash_map: 861 ms - gtl::parallel_flat_hash_map: 1091 ms - gtl::parallel_flat_hash_map: 1981 ms - gtl::parallel_flat_hash_map: 945 ms + boost::unordered_flat_map, single threaded: 1054 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1141 ms + cfoa, single threaded: 1518 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1536 ms + cfoa, std::shared_mutex, single threaded: 1799 ms + foa::concurrent_table, single threaded: 1499 ms + tbb::concurrent_hash_map, single threaded: 2243 ms + boost::unordered_flat_map, sharded_prehashed: 768 ms +boost::unordered_flat_map, sharded_prehashed: 1731 ms + boost::unordered_flat_map, sharded_prehashed: 597 ms + boost::unordered_flat_map, sharded isolated, prehashed: 767 ms + cfoa: 808 ms + cfoa, tbb::spin_rw_mutex: 879 ms + cfoa, std::shared_mutex: 806 ms + foa::concurrent_table: 774 ms + tbb::concurrent_hash_map: 890 ms + gtl::parallel_flat_hash_map: 1109 ms + gtl::parallel_flat_hash_map: 4196 ms + gtl::parallel_flat_hash_map: 954 ms