From 02af1c30e40e417a29cf2f9bb817a2934af0df2b Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 15 Mar 2023 13:57:24 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 210 +++++++++++++++++++++---------------------- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index 11833fbe..987e0c53 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: 880577 -enwik8: 14480868 words, 6971 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 959654 +enwik8: 14480868 words, 6921 ms boost::unordered_flat_map, single threaded: -Word count: 678 ms (s=14480868, size=354032) +Word count: 676 ms (s=14480868, size=354032) Contains: 367 ms (s=7961072, size=354032) -Total: 1046 ms +Total: 1044 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 932 ms (s=14480868, size=354032) +Word count: 930 ms (s=14480868, size=354032) Contains: 544 ms (s=7961072, size=354032) -Total: 1476 ms +Total: 1475 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 713 ms (s=14480868, size=354032) +Word count: 712 ms (s=14480868, size=354032) Contains: 415 ms (s=7961072, size=354032) -Total: 1129 ms +Total: 1127 ms cfoa, single threaded: -Word count: 952 ms (s=14480868, size=354032) +Word count: 949 ms (s=14480868, size=354032) Contains: 537 ms (s=7961072, size=354032) -Total: 1489 ms +Total: 1486 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 968 ms (s=14480868, size=354032) +Word count: 967 ms (s=14480868, size=354032) -Contains: 541 ms (s=7961072, size=354032) +Contains: 542 ms (s=7961072, size=354032) -Total: 1510 ms +Total: 1509 ms cfoa, std::shared_mutex, single threaded: -Word count: 1112 ms (s=14480868, size=354032) +Word count: 1111 ms (s=14480868, size=354032) -Contains: 652 ms (s=7961072, size=354032) +Contains: 653 ms (s=7961072, size=354032) Total: 1764 ms foa::concurrent_table, single threaded: -Word count: 941 ms (s=14480868, size=354032) +Word count: 949 ms (s=14480868, size=354032) -Contains: 539 ms (s=7961072, size=354032) +Contains: 540 ms (s=7961072, size=354032) -Total: 1481 ms +Total: 1489 ms tbb::concurrent_hash_map, single threaded: -Word count: 1459 ms (s=14480868, size=354032) +Word count: 1458 ms (s=14480868, size=354032) -Contains: 771 ms (s=7961072, size=354032) +Contains: 777 ms (s=7961072, size=354032) -Total: 2231 ms +Total: 2236 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 473 ms (s=14480868, size=354032) +Word count: 464 ms (s=14480868, size=354032) -Contains: 283 ms (s=7961072, size=354032) - -Total: 757 ms - -boost::unordered_flat_map, sharded_prehashed: - -Word count: 872 ms (s=14480868, size=354032) - -Contains: 281 ms (s=7961072, size=354032) - -Total: 1154 ms - -boost::unordered_flat_map, sharded_prehashed: - -Word count: 409 ms (s=14480868, size=354032) - -Contains: 217 ms (s=7961072, size=354032) - -Total: 627 ms - -boost::unordered_flat_map, sharded isolated, prehashed: - -Word count: 440 ms (s=14480868, size=354032) - -Contains: 336 ms (s=7961072, size=354032) - -Total: 776 ms - -cfoa: - -Word count: 487 ms (s=14480868, size=354032) - -Contains: 193 ms (s=7961072, size=354032) - -Total: 680 ms - -cfoa, tbb::spin_rw_mutex: - -Word count: 500 ms (s=14480868, size=354032) - -Contains: 199 ms (s=7961072, size=354032) - -Total: 700 ms - -cfoa, std::shared_mutex: - -Word count: 540 ms (s=14480868, size=354032) - -Contains: 211 ms (s=7961072, size=354032) +Contains: 287 ms (s=7961072, size=354032) Total: 752 ms +boost::unordered_flat_map, sharded_prehashed: + +Word count: 827 ms (s=14480868, size=354032) + +Contains: 278 ms (s=7961072, size=354032) + +Total: 1105 ms + +boost::unordered_flat_map, sharded_prehashed: + +Word count: 470 ms (s=14480868, size=354032) + +Contains: 209 ms (s=7961072, size=354032) + +Total: 680 ms + +boost::unordered_flat_map, sharded isolated, prehashed: + +Word count: 405 ms (s=14480868, size=354032) + +Contains: 348 ms (s=7961072, size=354032) + +Total: 753 ms + +cfoa: + +Word count: 479 ms (s=14480868, size=354032) + +Contains: 182 ms (s=7961072, size=354032) + +Total: 661 ms + +cfoa, tbb::spin_rw_mutex: + +Word count: 508 ms (s=14480868, size=354032) + +Contains: 179 ms (s=7961072, size=354032) + +Total: 687 ms + +cfoa, std::shared_mutex: + +Word count: 505 ms (s=14480868, size=354032) + +Contains: 211 ms (s=7961072, size=354032) + +Total: 716 ms + foa::concurrent_table: -Word count: 685 ms (s=14480868, size=354032) +Word count: 678 ms (s=14480868, size=354032) -Contains: 187 ms (s=7961072, size=354032) +Contains: 189 ms (s=7961072, size=354032) -Total: 873 ms +Total: 867 ms tbb::concurrent_hash_map: -Word count: 639 ms (s=14480868, size=354032) +Word count: 648 ms (s=14480868, size=354032) -Contains: 222 ms (s=7961072, size=354032) +Contains: 227 ms (s=7961072, size=354032) -Total: 861 ms +Total: 876 ms gtl::parallel_flat_hash_map: -Word count: 734 ms (s=14480868, size=354032) +Word count: 737 ms (s=14480868, size=354032) -Contains: 369 ms (s=7961072, size=354032) +Contains: 375 ms (s=7961072, size=354032) -Total: 1104 ms +Total: 1113 ms gtl::parallel_flat_hash_map: -Word count: 1091 ms (s=14480868, size=354032) +Word count: 2876 ms (s=14480868, size=354032) -Contains: 325 ms (s=7961072, size=354032) +Contains: 322 ms (s=7961072, size=354032) -Total: 1416 ms +Total: 3199 ms gtl::parallel_flat_hash_map: -Word count: 473 ms (s=14480868, size=354032) +Word count: 537 ms (s=14480868, size=354032) -Contains: 330 ms (s=7961072, size=354032) +Contains: 449 ms (s=7961072, size=354032) -Total: 803 ms +Total: 986 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1046 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1476 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1129 ms - cfoa, single threaded: 1489 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1510 ms + boost::unordered_flat_map, single threaded: 1044 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1475 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1127 ms + cfoa, single threaded: 1486 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1509 ms cfoa, std::shared_mutex, single threaded: 1764 ms - foa::concurrent_table, single threaded: 1481 ms - tbb::concurrent_hash_map, single threaded: 2231 ms - boost::unordered_flat_map, sharded_prehashed: 757 ms -boost::unordered_flat_map, sharded_prehashed: 1154 ms - boost::unordered_flat_map, sharded_prehashed: 627 ms - boost::unordered_flat_map, sharded isolated, prehashed: 776 ms - cfoa: 680 ms - cfoa, tbb::spin_rw_mutex: 700 ms - cfoa, std::shared_mutex: 752 ms - foa::concurrent_table: 873 ms - tbb::concurrent_hash_map: 861 ms - gtl::parallel_flat_hash_map: 1104 ms - gtl::parallel_flat_hash_map: 1416 ms - gtl::parallel_flat_hash_map: 803 ms + foa::concurrent_table, single threaded: 1489 ms + tbb::concurrent_hash_map, single threaded: 2236 ms + boost::unordered_flat_map, sharded_prehashed: 752 ms +boost::unordered_flat_map, sharded_prehashed: 1105 ms + boost::unordered_flat_map, sharded_prehashed: 680 ms + boost::unordered_flat_map, sharded isolated, prehashed: 753 ms + cfoa: 661 ms + cfoa, tbb::spin_rw_mutex: 687 ms + cfoa, std::shared_mutex: 716 ms + foa::concurrent_table: 867 ms + tbb::concurrent_hash_map: 876 ms + gtl::parallel_flat_hash_map: 1113 ms + gtl::parallel_flat_hash_map: 3199 ms + gtl::parallel_flat_hash_map: 986 ms