From 4671179d205e8f030160f4bf69fa59807a362fe2 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Tue, 14 Mar 2023 04:25:28 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 160 +++++++++++++++++++++---------------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index db881945..3edab944 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: 581250 -enwik8: 14480868 words, 7013 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 653915 +enwik8: 14480868 words, 6965 ms boost::unordered_flat_map, single threaded: -Word count: 686 ms (s=14480868, size=354032) +Word count: 687 ms (s=14480868, size=354032) -Contains: 368 ms (s=7961072, size=354032) +Contains: 369 ms (s=7961072, size=354032) -Total: 1054 ms +Total: 1056 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 942 ms (s=14480868, size=354032) +Word count: 934 ms (s=14480868, size=354032) -Contains: 543 ms (s=7961072, size=354032) +Contains: 545 ms (s=7961072, size=354032) -Total: 1486 ms +Total: 1479 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 722 ms (s=14480868, size=354032) +Word count: 716 ms (s=14480868, size=354032) -Contains: 415 ms (s=7961072, size=354032) +Contains: 416 ms (s=7961072, size=354032) -Total: 1137 ms +Total: 1132 ms cfoa, single threaded: -Word count: 974 ms (s=14480868, size=354032) +Word count: 952 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 537 ms (s=7961072, size=354032) -Total: 1519 ms +Total: 1489 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 991 ms (s=14480868, size=354032) +Word count: 959 ms (s=14480868, size=354032) -Contains: 549 ms (s=7961072, size=354032) +Contains: 543 ms (s=7961072, size=354032) -Total: 1540 ms +Total: 1502 ms cfoa, std::shared_mutex, single threaded: -Word count: 1143 ms (s=14480868, size=354032) +Word count: 1113 ms (s=14480868, size=354032) -Contains: 663 ms (s=7961072, size=354032) +Contains: 662 ms (s=7961072, size=354032) -Total: 1807 ms +Total: 1776 ms foa::concurrent_table, single threaded: -Word count: 943 ms (s=14480868, size=354032) +Word count: 932 ms (s=14480868, size=354032) -Contains: 542 ms (s=7961072, size=354032) +Contains: 541 ms (s=7961072, size=354032) -Total: 1486 ms +Total: 1473 ms tbb::concurrent_hash_map, single threaded: -Word count: 1452 ms (s=14480868, size=354032) +Word count: 1461 ms (s=14480868, size=354032) -Contains: 780 ms (s=7961072, size=354032) +Contains: 771 ms (s=7961072, size=354032) -Total: 2232 ms +Total: 2233 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 479 ms (s=14480868, size=354032) +Word count: 491 ms (s=14480868, size=354032) -Contains: 289 ms (s=7961072, size=354032) +Contains: 288 ms (s=7961072, size=354032) -Total: 768 ms +Total: 779 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 716 ms (s=14480868, size=354032) +Word count: 1310 ms (s=14480868, size=354032) -Contains: 271 ms (s=7961072, size=354032) +Contains: 293 ms (s=7961072, size=354032) -Total: 988 ms +Total: 1604 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 450 ms (s=14480868, size=354032) +Word count: 396 ms (s=14480868, size=354032) -Contains: 198 ms (s=7961072, size=354032) +Contains: 202 ms (s=7961072, size=354032) -Total: 648 ms +Total: 599 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 441 ms (s=14480868, size=354032) +Word count: 419 ms (s=14480868, size=354032) -Contains: 352 ms (s=7961072, size=354032) +Contains: 326 ms (s=7961072, size=354032) -Total: 793 ms +Total: 745 ms cfoa: -Word count: 395 ms (s=14480868, size=354032) +Word count: 453 ms (s=14480868, size=354032) -Contains: 169 ms (s=7961072, size=354032) +Contains: 193 ms (s=7961072, size=354032) -Total: 564 ms +Total: 647 ms cfoa, tbb::spin_rw_mutex: -Word count: 383 ms (s=14480868, size=354032) +Word count: 486 ms (s=14480868, size=354032) -Contains: 165 ms (s=7961072, size=354032) +Contains: 191 ms (s=7961072, size=354032) -Total: 549 ms +Total: 678 ms cfoa, std::shared_mutex: -Word count: 410 ms (s=14480868, size=354032) +Word count: 514 ms (s=14480868, size=354032) -Contains: 179 ms (s=7961072, size=354032) +Contains: 202 ms (s=7961072, size=354032) -Total: 590 ms +Total: 717 ms foa::concurrent_table: -Word count: 583 ms (s=14480868, size=354032) +Word count: 685 ms (s=14480868, size=354032) -Contains: 183 ms (s=7961072, size=354032) +Contains: 196 ms (s=7961072, size=354032) -Total: 766 ms +Total: 882 ms tbb::concurrent_hash_map: -Word count: 647 ms (s=14480868, size=354032) +Word count: 654 ms (s=14480868, size=354032) -Contains: 236 ms (s=7961072, size=354032) +Contains: 229 ms (s=7961072, size=354032) Total: 883 ms gtl::parallel_flat_hash_map: -Word count: 728 ms (s=14480868, size=354032) +Word count: 729 ms (s=14480868, size=354032) -Contains: 362 ms (s=7961072, size=354032) +Contains: 359 ms (s=7961072, size=354032) -Total: 1091 ms +Total: 1089 ms gtl::parallel_flat_hash_map: -Word count: 1951 ms (s=14480868, size=354032) +Word count: 4134 ms (s=14480868, size=354032) -Contains: 328 ms (s=7961072, size=354032) +Contains: 326 ms (s=7961072, size=354032) -Total: 2279 ms +Total: 4461 ms gtl::parallel_flat_hash_map: -Word count: 496 ms (s=14480868, size=354032) +Word count: 454 ms (s=14480868, size=354032) -Contains: 299 ms (s=7961072, size=354032) +Contains: 309 ms (s=7961072, size=354032) -Total: 796 ms +Total: 764 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1054 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1486 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1137 ms - cfoa, single threaded: 1519 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1540 ms - cfoa, std::shared_mutex, single threaded: 1807 ms - foa::concurrent_table, single threaded: 1486 ms - tbb::concurrent_hash_map, single threaded: 2232 ms - boost::unordered_flat_map, sharded_prehashed: 768 ms -boost::unordered_flat_map, sharded_prehashed: 988 ms - boost::unordered_flat_map, sharded_prehashed: 648 ms - boost::unordered_flat_map, sharded isolated, prehashed: 793 ms - cfoa: 564 ms - cfoa, tbb::spin_rw_mutex: 549 ms - cfoa, std::shared_mutex: 590 ms - foa::concurrent_table: 766 ms + boost::unordered_flat_map, single threaded: 1056 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1132 ms + cfoa, single threaded: 1489 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1502 ms + cfoa, std::shared_mutex, single threaded: 1776 ms + foa::concurrent_table, single threaded: 1473 ms + tbb::concurrent_hash_map, single threaded: 2233 ms + boost::unordered_flat_map, sharded_prehashed: 779 ms +boost::unordered_flat_map, sharded_prehashed: 1604 ms + boost::unordered_flat_map, sharded_prehashed: 599 ms + boost::unordered_flat_map, sharded isolated, prehashed: 745 ms + cfoa: 647 ms + cfoa, tbb::spin_rw_mutex: 678 ms + cfoa, std::shared_mutex: 717 ms + foa::concurrent_table: 882 ms tbb::concurrent_hash_map: 883 ms - gtl::parallel_flat_hash_map: 1091 ms - gtl::parallel_flat_hash_map: 2279 ms - gtl::parallel_flat_hash_map: 796 ms + gtl::parallel_flat_hash_map: 1089 ms + gtl::parallel_flat_hash_map: 4461 ms + gtl::parallel_flat_hash_map: 764 ms