From b1df8fb5ac0124bc2b4354058bcf29ddd8adf55c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 17 Mar 2023 14:34:13 -0400 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 160 ++++++++++++++++++++--------------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 5648f419..b4e6ab13 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,186 +1,186 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 1313847 -enwik8: 14480868 words, 6889 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1346416 +enwik8: 14480868 words, 6901 ms boost::unordered_flat_map, single threaded: -Word count: 670 ms (s=14480868, size=354032) +Word count: 671 ms (s=14480868, size=354032) -Contains: 463 ms (s=7961072, size=354032) +Contains: 473 ms (s=7961072, size=354032) -Total: 1133 ms +Total: 1145 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 908 ms (s=14480868, size=354032) +Word count: 907 ms (s=14480868, size=354032) -Contains: 647 ms (s=7961072, size=354032) +Contains: 671 ms (s=7961072, size=354032) -Total: 1556 ms +Total: 1578 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 712 ms (s=14480868, size=354032) +Word count: 709 ms (s=14480868, size=354032) -Contains: 513 ms (s=7961072, size=354032) +Contains: 517 ms (s=7961072, size=354032) -Total: 1225 ms +Total: 1226 ms cfoa, single threaded: -Word count: 905 ms (s=14480868, size=354032) +Word count: 906 ms (s=14480868, size=354032) Contains: 570 ms (s=7961072, size=354032) -Total: 1475 ms +Total: 1476 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 897 ms (s=14480868, size=354032) +Word count: 907 ms (s=14480868, size=354032) -Contains: 584 ms (s=7961072, size=354032) +Contains: 569 ms (s=7961072, size=354032) -Total: 1481 ms +Total: 1477 ms cfoa, std::shared_mutex, single threaded: Word count: 1052 ms (s=14480868, size=354032) -Contains: 728 ms (s=7961072, size=354032) +Contains: 727 ms (s=7961072, size=354032) -Total: 1781 ms +Total: 1780 ms foa::concurrent_table, single threaded: -Word count: 891 ms (s=14480868, size=354032) +Word count: 880 ms (s=14480868, size=354032) -Contains: 572 ms (s=7961072, size=354032) +Contains: 570 ms (s=7961072, size=354032) -Total: 1463 ms +Total: 1451 ms tbb::concurrent_hash_map, single threaded: -Word count: 1531 ms (s=14480868, size=354032) +Word count: 1545 ms (s=14480868, size=354032) -Contains: 845 ms (s=7961072, size=354032) +Contains: 838 ms (s=7961072, size=354032) -Total: 2376 ms +Total: 2383 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 478 ms (s=14480868, size=354032) +Word count: 488 ms (s=14480868, size=354032) -Contains: 289 ms (s=7961072, size=354032) +Contains: 283 ms (s=7961072, size=354032) -Total: 767 ms +Total: 772 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 746 ms (s=14480868, size=354032) +Word count: 1122 ms (s=14480868, size=354032) -Contains: 265 ms (s=7961072, size=354032) +Contains: 274 ms (s=7961072, size=354032) -Total: 1012 ms +Total: 1396 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 541 ms (s=14480868, size=354032) +Word count: 443 ms (s=14480868, size=354032) -Contains: 196 ms (s=7961072, size=354032) +Contains: 181 ms (s=7961072, size=354032) -Total: 737 ms +Total: 624 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 418 ms (s=14480868, size=354032) +Word count: 406 ms (s=14480868, size=354032) -Contains: 368 ms (s=7961072, size=354032) +Contains: 376 ms (s=7961072, size=354032) -Total: 786 ms +Total: 783 ms cfoa: -Word count: 667 ms (s=14480868, size=354032) +Word count: 567 ms (s=14480868, size=354032) -Contains: 183 ms (s=7961072, size=354032) +Contains: 191 ms (s=7961072, size=354032) -Total: 851 ms +Total: 759 ms cfoa, tbb::spin_rw_mutex: -Word count: 717 ms (s=14480868, size=354032) +Word count: 680 ms (s=14480868, size=354032) -Contains: 182 ms (s=7961072, size=354032) +Contains: 186 ms (s=7961072, size=354032) -Total: 900 ms +Total: 867 ms cfoa, std::shared_mutex: -Word count: 593 ms (s=14480868, size=354032) +Word count: 557 ms (s=14480868, size=354032) -Contains: 218 ms (s=7961072, size=354032) +Contains: 212 ms (s=7961072, size=354032) -Total: 811 ms +Total: 769 ms foa::concurrent_table: -Word count: 610 ms (s=14480868, size=354032) +Word count: 660 ms (s=14480868, size=354031) -Contains: 199 ms (s=7961072, size=354032) +Contains: 185 ms (s=7961072, size=354031) -Total: 810 ms +Total: 846 ms tbb::concurrent_hash_map: -Word count: 647 ms (s=14480868, size=354032) +Word count: 649 ms (s=14480868, size=354032) -Contains: 232 ms (s=7961072, size=354032) +Contains: 236 ms (s=7961072, size=354032) -Total: 880 ms +Total: 885 ms gtl::parallel_flat_hash_map: -Word count: 646 ms (s=14480868, size=354032) +Word count: 635 ms (s=14480868, size=354032) -Contains: 357 ms (s=7961072, size=354032) +Contains: 365 ms (s=7961072, size=354032) -Total: 1003 ms +Total: 1000 ms gtl::parallel_flat_hash_map: -Word count: 1787 ms (s=14480868, size=354032) +Word count: 979 ms (s=14480868, size=354032) -Contains: 324 ms (s=7961072, size=354032) +Contains: 323 ms (s=7961072, size=354032) -Total: 2112 ms +Total: 1303 ms gtl::parallel_flat_hash_map: -Word count: 573 ms (s=14480868, size=354032) +Word count: 495 ms (s=14480868, size=354032) -Contains: 354 ms (s=7961072, size=354032) +Contains: 377 ms (s=7961072, size=354032) -Total: 928 ms +Total: 872 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1133 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1556 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1225 ms - cfoa, single threaded: 1475 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1481 ms - cfoa, std::shared_mutex, single threaded: 1781 ms - foa::concurrent_table, single threaded: 1463 ms - tbb::concurrent_hash_map, single threaded: 2376 ms - boost::unordered_flat_map, sharded_prehashed: 767 ms -boost::unordered_flat_map, sharded_prehashed: 1012 ms - boost::unordered_flat_map, sharded_prehashed: 737 ms - boost::unordered_flat_map, sharded isolated, prehashed: 786 ms - cfoa: 851 ms - cfoa, tbb::spin_rw_mutex: 900 ms - cfoa, std::shared_mutex: 811 ms - foa::concurrent_table: 810 ms - tbb::concurrent_hash_map: 880 ms - gtl::parallel_flat_hash_map: 1003 ms - gtl::parallel_flat_hash_map: 2112 ms - gtl::parallel_flat_hash_map: 928 ms + boost::unordered_flat_map, single threaded: 1145 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1578 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms + cfoa, single threaded: 1476 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1477 ms + cfoa, std::shared_mutex, single threaded: 1780 ms + foa::concurrent_table, single threaded: 1451 ms + tbb::concurrent_hash_map, single threaded: 2383 ms + boost::unordered_flat_map, sharded_prehashed: 772 ms +boost::unordered_flat_map, sharded_prehashed: 1396 ms + boost::unordered_flat_map, sharded_prehashed: 624 ms + boost::unordered_flat_map, sharded isolated, prehashed: 783 ms + cfoa: 759 ms + cfoa, tbb::spin_rw_mutex: 867 ms + cfoa, std::shared_mutex: 769 ms + foa::concurrent_table: 846 ms + tbb::concurrent_hash_map: 885 ms + gtl::parallel_flat_hash_map: 1000 ms + gtl::parallel_flat_hash_map: 1303 ms + gtl::parallel_flat_hash_map: 872 ms