From 9b7a517ee9fcc5b462b8dced2bfdaf91b65b61ce Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 16 Mar 2023 06:06:41 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 182 +++++++++++++++++++++---------------------- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index 987e0c53..befb402e 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: 959654 -enwik8: 14480868 words, 6921 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1039581 +enwik8: 14480868 words, 6968 ms boost::unordered_flat_map, single threaded: -Word count: 676 ms (s=14480868, size=354032) +Word count: 688 ms (s=14480868, size=354032) -Contains: 367 ms (s=7961072, size=354032) +Contains: 369 ms (s=7961072, size=354032) -Total: 1044 ms +Total: 1058 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 930 ms (s=14480868, size=354032) +Word count: 942 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 546 ms (s=7961072, size=354032) -Total: 1475 ms +Total: 1488 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 712 ms (s=14480868, size=354032) +Word count: 724 ms (s=14480868, size=354032) -Contains: 415 ms (s=7961072, size=354032) +Contains: 416 ms (s=7961072, size=354032) -Total: 1127 ms +Total: 1141 ms cfoa, single threaded: -Word count: 949 ms (s=14480868, size=354032) +Word count: 966 ms (s=14480868, size=354032) -Contains: 537 ms (s=7961072, size=354032) +Contains: 539 ms (s=7961072, size=354032) -Total: 1486 ms +Total: 1506 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 967 ms (s=14480868, size=354032) +Word count: 969 ms (s=14480868, size=354032) -Contains: 542 ms (s=7961072, size=354032) +Contains: 544 ms (s=7961072, size=354032) -Total: 1509 ms +Total: 1514 ms cfoa, std::shared_mutex, single threaded: -Word count: 1111 ms (s=14480868, size=354032) +Word count: 1125 ms (s=14480868, size=354032) -Contains: 653 ms (s=7961072, size=354032) +Contains: 655 ms (s=7961072, size=354032) -Total: 1764 ms +Total: 1781 ms foa::concurrent_table, single threaded: -Word count: 949 ms (s=14480868, size=354032) +Word count: 981 ms (s=14480868, size=354032) -Contains: 540 ms (s=7961072, size=354032) +Contains: 544 ms (s=7961072, size=354032) -Total: 1489 ms +Total: 1525 ms tbb::concurrent_hash_map, single threaded: -Word count: 1458 ms (s=14480868, size=354032) +Word count: 1476 ms (s=14480868, size=354032) -Contains: 777 ms (s=7961072, size=354032) +Contains: 787 ms (s=7961072, size=354032) -Total: 2236 ms +Total: 2264 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 464 ms (s=14480868, size=354032) +Word count: 481 ms (s=14480868, size=354032) -Contains: 287 ms (s=7961072, size=354032) +Contains: 299 ms (s=7961072, size=354032) -Total: 752 ms +Total: 780 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 827 ms (s=14480868, size=354032) +Word count: 1245 ms (s=14480868, size=354032) -Contains: 278 ms (s=7961072, size=354032) +Contains: 283 ms (s=7961072, size=354032) -Total: 1105 ms +Total: 1528 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 470 ms (s=14480868, size=354032) +Word count: 630 ms (s=14480868, size=354032) -Contains: 209 ms (s=7961072, size=354032) +Contains: 205 ms (s=7961072, size=354032) -Total: 680 ms +Total: 835 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 405 ms (s=14480868, size=354032) +Word count: 423 ms (s=14480868, size=354032) -Contains: 348 ms (s=7961072, size=354032) +Contains: 324 ms (s=7961072, size=354032) -Total: 753 ms +Total: 748 ms cfoa: -Word count: 479 ms (s=14480868, size=354032) +Word count: 501 ms (s=14480868, size=354032) -Contains: 182 ms (s=7961072, size=354032) +Contains: 181 ms (s=7961072, size=354032) -Total: 661 ms +Total: 682 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: 678 ms (s=14480868, size=354032) +Word count: 501 ms (s=14480868, size=354032) Contains: 189 ms (s=7961072, size=354032) -Total: 867 ms +Total: 691 ms + +cfoa, std::shared_mutex: + +Word count: 542 ms (s=14480868, size=354032) + +Contains: 202 ms (s=7961072, size=354032) + +Total: 744 ms + +foa::concurrent_table: + +Word count: 602 ms (s=14480868, size=354032) + +Contains: 195 ms (s=7961072, size=354032) + +Total: 798 ms tbb::concurrent_hash_map: -Word count: 648 ms (s=14480868, size=354032) +Word count: 627 ms (s=14480868, size=354032) -Contains: 227 ms (s=7961072, size=354032) +Contains: 223 ms (s=7961072, size=354032) -Total: 876 ms +Total: 851 ms gtl::parallel_flat_hash_map: -Word count: 737 ms (s=14480868, size=354032) +Word count: 733 ms (s=14480868, size=354032) -Contains: 375 ms (s=7961072, size=354032) +Contains: 368 ms (s=7961072, size=354032) -Total: 1113 ms +Total: 1101 ms gtl::parallel_flat_hash_map: -Word count: 2876 ms (s=14480868, size=354032) +Word count: 4502 ms (s=14480868, size=354032) -Contains: 322 ms (s=7961072, size=354032) +Contains: 312 ms (s=7961072, size=354032) -Total: 3199 ms +Total: 4814 ms gtl::parallel_flat_hash_map: -Word count: 537 ms (s=14480868, size=354032) +Word count: 541 ms (s=14480868, size=354032) -Contains: 449 ms (s=7961072, size=354032) +Contains: 442 ms (s=7961072, size=354032) -Total: 986 ms +Total: 984 ms --- Number of threads: 16 - 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: 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 + boost::unordered_flat_map, single threaded: 1058 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1488 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1141 ms + cfoa, single threaded: 1506 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1514 ms + cfoa, std::shared_mutex, single threaded: 1781 ms + foa::concurrent_table, single threaded: 1525 ms + tbb::concurrent_hash_map, single threaded: 2264 ms + boost::unordered_flat_map, sharded_prehashed: 780 ms +boost::unordered_flat_map, sharded_prehashed: 1528 ms + boost::unordered_flat_map, sharded_prehashed: 835 ms + boost::unordered_flat_map, sharded isolated, prehashed: 748 ms + cfoa: 682 ms + cfoa, tbb::spin_rw_mutex: 691 ms + cfoa, std::shared_mutex: 744 ms + foa::concurrent_table: 798 ms + tbb::concurrent_hash_map: 851 ms + gtl::parallel_flat_hash_map: 1101 ms + gtl::parallel_flat_hash_map: 4814 ms + gtl::parallel_flat_hash_map: 984 ms