From 888eeb828943575289cb168ff2be222e895af7f5 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 13 Mar 2023 15:12:54 -0400 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 156 ++++++++++++++++++++--------------------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index f3804741..72c168dd 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,5 +1,5 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 523119 -enwik8: 14480868 words, 7017 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 565206 +enwik8: 14480868 words, 6901 ms boost::unordered_flat_map, single threaded: @@ -7,7 +7,7 @@ Word count: 669 ms (s=14480868, size=354032) Contains: 462 ms (s=7961072, size=354032) -Total: 1131 ms +Total: 1132 ms boost::unordered_flat_map, single threaded, shared_mutex: @@ -19,168 +19,168 @@ Total: 1556 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 709 ms (s=14480868, size=354032) +Word count: 710 ms (s=14480868, size=354032) Contains: 516 ms (s=7961072, size=354032) -Total: 1226 ms +Total: 1227 ms -concurrent_foa, single threaded: +cfoa, single threaded: -Word count: 886 ms (s=14480868, size=354032) +Word count: 884 ms (s=14480868, size=354032) Contains: 581 ms (s=7961072, size=354032) -Total: 1467 ms +Total: 1466 ms -concurrent_foa, tbb::spin_rw_mutex, single threaded: +cfoa, tbb::spin_rw_mutex, single threaded: Word count: 875 ms (s=14480868, size=354032) -Contains: 578 ms (s=7961072, size=354032) +Contains: 577 ms (s=7961072, size=354032) -Total: 1454 ms +Total: 1453 ms -concurrent_foa, std::shared_mutex, single threaded: +cfoa, std::shared_mutex, single threaded: -Word count: 1036 ms (s=14480868, size=354032) +Word count: 1035 ms (s=14480868, size=354032) -Contains: 723 ms (s=7961072, size=354032) +Contains: 724 ms (s=7961072, size=354032) -Total: 1760 ms +Total: 1759 ms -concurrent foa::concurrent_table, single threaded: +foa::concurrent_table, single threaded: -Word count: 881 ms (s=14480868, size=354032) +Word count: 880 ms (s=14480868, size=354032) -Contains: 570 ms (s=7961072, size=354032) +Contains: 571 ms (s=7961072, size=354032) Total: 1451 ms tbb::concurrent_hash_map, single threaded: -Word count: 1538 ms (s=14480868, size=354032) +Word count: 1541 ms (s=14480868, size=354032) -Contains: 845 ms (s=7961072, size=354032) +Contains: 846 ms (s=7961072, size=354032) -Total: 2384 ms +Total: 2388 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 469 ms (s=14480868, size=354032) +Word count: 479 ms (s=14480868, size=354032) -Contains: 281 ms (s=7961072, size=354032) +Contains: 286 ms (s=7961072, size=354032) -Total: 750 ms +Total: 765 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 989 ms (s=14480868, size=354032) +Word count: 1045 ms (s=14480868, size=354032) -Contains: 270 ms (s=7961072, size=354032) +Contains: 272 ms (s=7961072, size=354032) -Total: 1260 ms +Total: 1317 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 391 ms (s=14480868, size=354032) +Word count: 632 ms (s=14480868, size=354032) -Contains: 196 ms (s=7961072, size=354032) +Contains: 183 ms (s=7961072, size=354032) -Total: 588 ms +Total: 815 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 388 ms (s=14480868, size=354032) +Word count: 404 ms (s=14480868, size=354032) -Contains: 359 ms (s=7961072, size=354032) +Contains: 379 ms (s=7961072, size=354032) -Total: 747 ms +Total: 783 ms -concurrent foa: +cfoa: -Word count: 407 ms (s=14480868, size=354032) +Word count: 410 ms (s=14480868, size=354032) -Contains: 174 ms (s=7961072, size=354032) +Contains: 172 ms (s=7961072, size=354032) Total: 582 ms -concurrent foa, tbb::spin_rw_mutex: +cfoa, tbb::spin_rw_mutex: Word count: 406 ms (s=14480868, size=354032) -Contains: 163 ms (s=7961072, size=354032) +Contains: 172 ms (s=7961072, size=354032) -Total: 570 ms +Total: 579 ms -concurrent foa, std::shared_mutex: +cfoa, std::shared_mutex: -Word count: 407 ms (s=14480868, size=354032) +Word count: 420 ms (s=14480868, size=354032) -Contains: 191 ms (s=7961072, size=354032) +Contains: 192 ms (s=7961072, size=354032) -Total: 598 ms +Total: 613 ms -concurrent foa::concurrent_table: +foa::concurrent_table: -Word count: 696 ms (s=14480868, size=354032) +Word count: 739 ms (s=14480868, size=354032) -Contains: 186 ms (s=7961072, size=354032) +Contains: 200 ms (s=7961072, size=354032) -Total: 882 ms +Total: 939 ms tbb::concurrent_hash_map: -Word count: 643 ms (s=14480868, size=354032) +Word count: 658 ms (s=14480868, size=354032) -Contains: 231 ms (s=7961072, size=354032) +Contains: 238 ms (s=7961072, size=354032) -Total: 874 ms +Total: 896 ms gtl::parallel_flat_hash_map: -Word count: 647 ms (s=14480868, size=354032) +Word count: 651 ms (s=14480868, size=354032) -Contains: 357 ms (s=7961072, size=354032) +Contains: 355 ms (s=7961072, size=354032) -Total: 1005 ms +Total: 1006 ms gtl::parallel_flat_hash_map: -Word count: 1265 ms (s=14480868, size=354032) +Word count: 946 ms (s=14480868, size=354032) -Contains: 306 ms (s=7961072, size=354032) +Contains: 318 ms (s=7961072, size=354032) -Total: 1571 ms +Total: 1264 ms gtl::parallel_flat_hash_map: -Word count: 585 ms (s=14480868, size=354032) +Word count: 531 ms (s=14480868, size=354032) -Contains: 384 ms (s=7961072, size=354032) +Contains: 367 ms (s=7961072, size=354032) -Total: 969 ms +Total: 899 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1131 ms + boost::unordered_flat_map, single threaded: 1132 ms boost::unordered_flat_map, single threaded, shared_mutex: 1556 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms - concurrent_foa, single threaded: 1467 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 1454 ms - concurrent_foa, std::shared_mutex, single threaded: 1760 ms - concurrent foa::concurrent_table, single threaded: 1451 ms - tbb::concurrent_hash_map, single threaded: 2384 ms - boost::unordered_flat_map, sharded_prehashed: 750 ms -boost::unordered_flat_map, sharded_prehashed: 1260 ms - boost::unordered_flat_map, sharded_prehashed: 588 ms - boost::unordered_flat_map, sharded isolated, prehashed: 747 ms - concurrent foa: 582 ms - concurrent foa, tbb::spin_rw_mutex: 570 ms - concurrent foa, std::shared_mutex: 598 ms - concurrent foa::concurrent_table: 882 ms - tbb::concurrent_hash_map: 874 ms - gtl::parallel_flat_hash_map: 1005 ms - gtl::parallel_flat_hash_map: 1571 ms - gtl::parallel_flat_hash_map: 969 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1227 ms + cfoa, single threaded: 1466 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1453 ms + cfoa, std::shared_mutex, single threaded: 1759 ms + foa::concurrent_table, single threaded: 1451 ms + tbb::concurrent_hash_map, single threaded: 2388 ms + boost::unordered_flat_map, sharded_prehashed: 765 ms +boost::unordered_flat_map, sharded_prehashed: 1317 ms + boost::unordered_flat_map, sharded_prehashed: 815 ms + boost::unordered_flat_map, sharded isolated, prehashed: 783 ms + cfoa: 582 ms + cfoa, tbb::spin_rw_mutex: 579 ms + cfoa, std::shared_mutex: 613 ms + foa::concurrent_table: 939 ms + tbb::concurrent_hash_map: 896 ms + gtl::parallel_flat_hash_map: 1006 ms + gtl::parallel_flat_hash_map: 1264 ms + gtl::parallel_flat_hash_map: 899 ms