From f86cbab205ef956cdcecf7f5241775c28acc3859 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 22 Mar 2023 14:46:58 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 138 +++++++++++++++++++++---------------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index bd5f5c30..a92aafa6 100644 --- a/gcc-x86/main.cpp.txt +++ b/gcc-x86/main.cpp.txt @@ -1,33 +1,33 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 2062588 -enwik8: 14480868 words, 6871 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 2355355 +enwik8: 14480868 words, 6941 ms boost::unordered_flat_map, single threaded: -Word count: 683 ms (s=14480868, size=354032) +Word count: 686 ms (s=14480868, size=354032) Contains: 369 ms (s=7961072, size=354032) -Total: 1052 ms +Total: 1056 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 936 ms (s=14480868, size=354032) +Word count: 935 ms (s=14480868, size=354032) Contains: 542 ms (s=7961072, size=354032) -Total: 1479 ms +Total: 1478 ms boost::unordered_flat_map, single threaded, rw_spinlock: Word count: 715 ms (s=14480868, size=354032) -Contains: 424 ms (s=7961072, size=354032) +Contains: 423 ms (s=7961072, size=354032) Total: 1139 ms cfoa, single threaded: -Word count: 979 ms (s=14480868, size=354032) +Word count: 980 ms (s=14480868, size=354032) Contains: 537 ms (s=7961072, size=354032) @@ -35,152 +35,152 @@ Total: 1517 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 992 ms (s=14480868, size=354032) +Word count: 990 ms (s=14480868, size=354032) -Contains: 542 ms (s=7961072, size=354032) +Contains: 543 ms (s=7961072, size=354032) -Total: 1535 ms +Total: 1533 ms cfoa, std::shared_mutex, single threaded: Word count: 1146 ms (s=14480868, size=354032) -Contains: 652 ms (s=7961072, size=354032) +Contains: 651 ms (s=7961072, size=354032) Total: 1798 ms foa::concurrent_table, single threaded: -Word count: 969 ms (s=14480868, size=354032) +Word count: 958 ms (s=14480868, size=354032) Contains: 540 ms (s=7961072, size=354032) -Total: 1510 ms +Total: 1498 ms tbb::concurrent_hash_map, single threaded: Word count: 1470 ms (s=14480868, size=354032) -Contains: 772 ms (s=7961072, size=354032) +Contains: 774 ms (s=7961072, size=354032) -Total: 2243 ms +Total: 2245 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 472 ms (s=14480868, size=354032) +Word count: 499 ms (s=14480868, size=354032) -Contains: 288 ms (s=7961072, size=354032) +Contains: 292 ms (s=7961072, size=354032) -Total: 761 ms +Total: 792 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 1125 ms (s=14480868, size=354032) +Word count: 2183 ms (s=14480868, size=354032) -Contains: 251 ms (s=7961072, size=354032) +Contains: 268 ms (s=7961072, size=354032) -Total: 1377 ms +Total: 2452 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 381 ms (s=14480868, size=354032) +Word count: 668 ms (s=14480868, size=354032) -Contains: 222 ms (s=7961072, size=354032) +Contains: 201 ms (s=7961072, size=354032) -Total: 604 ms +Total: 869 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 428 ms (s=14480868, size=354032) +Word count: 426 ms (s=14480868, size=354032) -Contains: 339 ms (s=7961072, size=354032) +Contains: 351 ms (s=7961072, size=354032) -Total: 768 ms +Total: 778 ms cfoa: -Word count: 598 ms (s=14480868, size=354032) +Word count: 574 ms (s=14480868, size=354032) -Contains: 187 ms (s=7961072, size=354032) +Contains: 186 ms (s=7961072, size=354032) -Total: 786 ms +Total: 761 ms cfoa, tbb::spin_rw_mutex: -Word count: 698 ms (s=14480868, size=354032) +Word count: 737 ms (s=14480868, size=354032) -Contains: 176 ms (s=7961072, size=354032) +Contains: 178 ms (s=7961072, size=354032) -Total: 874 ms +Total: 915 ms cfoa, std::shared_mutex: -Word count: 573 ms (s=14480868, size=354032) +Word count: 561 ms (s=14480868, size=354032) -Contains: 212 ms (s=7961072, size=354032) +Contains: 205 ms (s=7961072, size=354032) -Total: 785 ms +Total: 767 ms foa::concurrent_table: -Word count: 485 ms (s=14480868, size=354032) +Word count: 517 ms (s=14480868, size=354032) -Contains: 160 ms (s=7961072, size=354032) +Contains: 178 ms (s=7961072, size=354032) -Total: 645 ms +Total: 696 ms tbb::concurrent_hash_map: -Word count: 642 ms (s=14480868, size=354032) +Word count: 629 ms (s=14480868, size=354032) -Contains: 231 ms (s=7961072, size=354032) +Contains: 233 ms (s=7961072, size=354032) -Total: 873 ms +Total: 862 ms gtl::parallel_flat_hash_map: -Word count: 732 ms (s=14480868, size=354032) +Word count: 740 ms (s=14480868, size=354032) -Contains: 379 ms (s=7961072, size=354032) +Contains: 360 ms (s=7961072, size=354032) -Total: 1112 ms +Total: 1101 ms gtl::parallel_flat_hash_map: -Word count: 802 ms (s=14480868, size=354032) +Word count: 922 ms (s=14480868, size=354032) -Contains: 339 ms (s=7961072, size=354032) +Contains: 311 ms (s=7961072, size=354032) -Total: 1141 ms +Total: 1233 ms gtl::parallel_flat_hash_map: -Word count: 549 ms (s=14480868, size=354032) +Word count: 653 ms (s=14480868, size=354032) -Contains: 359 ms (s=7961072, size=354032) +Contains: 516 ms (s=7961072, size=354032) -Total: 908 ms +Total: 1170 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1052 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms + boost::unordered_flat_map, single threaded: 1056 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1478 ms boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms cfoa, single threaded: 1517 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1535 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1533 ms cfoa, std::shared_mutex, single threaded: 1798 ms - foa::concurrent_table, single threaded: 1510 ms - tbb::concurrent_hash_map, single threaded: 2243 ms - boost::unordered_flat_map, sharded_prehashed: 761 ms -boost::unordered_flat_map, sharded_prehashed: 1377 ms - boost::unordered_flat_map, sharded_prehashed: 604 ms - boost::unordered_flat_map, sharded isolated, prehashed: 768 ms - cfoa: 786 ms - cfoa, tbb::spin_rw_mutex: 874 ms - cfoa, std::shared_mutex: 785 ms - foa::concurrent_table: 645 ms - tbb::concurrent_hash_map: 873 ms - gtl::parallel_flat_hash_map: 1112 ms - gtl::parallel_flat_hash_map: 1141 ms - gtl::parallel_flat_hash_map: 908 ms + foa::concurrent_table, single threaded: 1498 ms + tbb::concurrent_hash_map, single threaded: 2245 ms + boost::unordered_flat_map, sharded_prehashed: 792 ms +boost::unordered_flat_map, sharded_prehashed: 2452 ms + boost::unordered_flat_map, sharded_prehashed: 869 ms + boost::unordered_flat_map, sharded isolated, prehashed: 778 ms + cfoa: 761 ms + cfoa, tbb::spin_rw_mutex: 915 ms + cfoa, std::shared_mutex: 767 ms + foa::concurrent_table: 696 ms + tbb::concurrent_hash_map: 862 ms + gtl::parallel_flat_hash_map: 1101 ms + gtl::parallel_flat_hash_map: 1233 ms + gtl::parallel_flat_hash_map: 1170 ms