From 274832ffb526e1ab67f09659e0fdd0709b0d576c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 16 Jan 2023 07:34:11 -0500 Subject: [PATCH] updated benchmark results --- clang-x86/main.cpp.txt | 158 ++++++++++++++++++++--------------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 0cc0eddb..3e2580e4 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,168 +1,168 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 3992696 -enwik8: 14480868 words, 6890 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 4031077 +enwik8: 14480868 words, 6898 ms boost::unordered_flat_map, single threaded: -Word count: 629 ms (s=14480868, size=354032) +Word count: 630 ms (s=14480868, size=354032) Contains: 451 ms (s=7961072, size=354032) -Total: 1081 ms +Total: 1082 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 863 ms (s=14480868, size=354032) +Word count: 864 ms (s=14480868, size=354032) Contains: 616 ms (s=7961072, size=354032) -Total: 1480 ms +Total: 1481 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 649 ms (s=14480868, size=354032) +Word count: 651 ms (s=14480868, size=354032) -Contains: 485 ms (s=7961072, size=354032) +Contains: 486 ms (s=7961072, size=354032) -Total: 1135 ms +Total: 1137 ms concurrent_foa, single threaded: -Word count: 812 ms (s=14480868, size=354032) +Word count: 814 ms (s=14480868, size=354032) Contains: 544 ms (s=7961072, size=354032) -Total: 1357 ms +Total: 1359 ms concurrent_foa, tbb::spin_rw_mutex, single threaded: -Word count: 812 ms (s=14480868, size=354032) +Word count: 814 ms (s=14480868, size=354032) Contains: 546 ms (s=7961072, size=354032) -Total: 1358 ms +Total: 1360 ms concurrent_foa, std::shared_mutex, single threaded: -Word count: 955 ms (s=14480868, size=354032) +Word count: 957 ms (s=14480868, size=354032) -Contains: 679 ms (s=7961072, size=354032) +Contains: 678 ms (s=7961072, size=354032) -Total: 1634 ms +Total: 1635 ms tbb::concurrent_hash_map, single threaded: -Word count: 1495 ms (s=14480868, size=354032) +Word count: 1500 ms (s=14480868, size=354032) -Contains: 832 ms (s=7961072, size=354032) +Contains: 855 ms (s=7961072, size=354032) -Total: 2328 ms +Total: 2355 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 468 ms (s=14480868, size=354032) +Word count: 483 ms (s=14480868, size=354032) -Contains: 267 ms (s=7961072, size=354032) +Contains: 278 ms (s=7961072, size=354032) -Total: 736 ms +Total: 762 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2354 ms (s=14480868, size=354032) +Word count: 3050 ms (s=14480868, size=354032) -Contains: 282 ms (s=7961072, size=354032) +Contains: 280 ms (s=7961072, size=354032) -Total: 2636 ms +Total: 3331 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 490 ms (s=14480868, size=354032) - -Contains: 192 ms (s=7961072, size=354032) - -Total: 683 ms - -boost::unordered_flat_map, sharded isolated, prehashed: - -Word count: 444 ms (s=14480868, size=354032) - -Contains: 402 ms (s=7961072, size=354032) - -Total: 847 ms - -concurrent foa: - -Word count: 419 ms (s=14480868, size=354032) +Word count: 407 ms (s=14480868, size=354032) Contains: 186 ms (s=7961072, size=354032) -Total: 606 ms +Total: 594 ms -concurrent foa, tbb::spin_rw_mutex: +boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 416 ms (s=14480868, size=354032) +Word count: 413 ms (s=14480868, size=354032) -Contains: 191 ms (s=7961072, size=354032) +Contains: 377 ms (s=7961072, size=354032) + +Total: 791 ms + +concurrent foa: + +Word count: 423 ms (s=14480868, size=354032) + +Contains: 185 ms (s=7961072, size=354032) Total: 608 ms +concurrent foa, tbb::spin_rw_mutex: + +Word count: 424 ms (s=14480868, size=354032) + +Contains: 192 ms (s=7961072, size=354032) + +Total: 616 ms + concurrent foa, std::shared_mutex: -Word count: 516 ms (s=14480868, size=354032) +Word count: 487 ms (s=14480868, size=354032) -Contains: 206 ms (s=7961072, size=354032) +Contains: 207 ms (s=7961072, size=354032) -Total: 723 ms +Total: 694 ms tbb::concurrent_hash_map: -Word count: 614 ms (s=14480868, size=354032) +Word count: 657 ms (s=14480868, size=354032) -Contains: 215 ms (s=7961072, size=354032) +Contains: 227 ms (s=7961072, size=354032) -Total: 830 ms +Total: 884 ms gtl::parallel_flat_hash_map: -Word count: 635 ms (s=14480868, size=354032) +Word count: 616 ms (s=14480868, size=354032) -Contains: 396 ms (s=7961072, size=354032) +Contains: 403 ms (s=7961072, size=354032) -Total: 1031 ms +Total: 1020 ms gtl::parallel_flat_hash_map: -Word count: 3743 ms (s=14480868, size=354032) +Word count: 3115 ms (s=14480868, size=354032) -Contains: 328 ms (s=7961072, size=354032) +Contains: 333 ms (s=7961072, size=354032) -Total: 4072 ms +Total: 3449 ms gtl::parallel_flat_hash_map: -Word count: 612 ms (s=14480868, size=354032) +Word count: 535 ms (s=14480868, size=354032) -Contains: 356 ms (s=7961072, size=354032) +Contains: 456 ms (s=7961072, size=354032) -Total: 969 ms +Total: 992 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1081 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1480 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1135 ms - concurrent_foa, single threaded: 1357 ms - concurrent_foa, tbb::spin_rw_mutex, single threaded: 1358 ms - concurrent_foa, std::shared_mutex, single threaded: 1634 ms - tbb::concurrent_hash_map, single threaded: 2328 ms - boost::unordered_flat_map, sharded_prehashed: 736 ms -boost::unordered_flat_map, sharded_prehashed: 2636 ms - boost::unordered_flat_map, sharded_prehashed: 683 ms - boost::unordered_flat_map, sharded isolated, prehashed: 847 ms - concurrent foa: 606 ms - concurrent foa, tbb::spin_rw_mutex: 608 ms - concurrent foa, std::shared_mutex: 723 ms - tbb::concurrent_hash_map: 830 ms - gtl::parallel_flat_hash_map: 1031 ms - gtl::parallel_flat_hash_map: 4072 ms - gtl::parallel_flat_hash_map: 969 ms + boost::unordered_flat_map, single threaded: 1082 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1481 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1137 ms + concurrent_foa, single threaded: 1359 ms + concurrent_foa, tbb::spin_rw_mutex, single threaded: 1360 ms + concurrent_foa, std::shared_mutex, single threaded: 1635 ms + tbb::concurrent_hash_map, single threaded: 2355 ms + boost::unordered_flat_map, sharded_prehashed: 762 ms +boost::unordered_flat_map, sharded_prehashed: 3331 ms + boost::unordered_flat_map, sharded_prehashed: 594 ms + boost::unordered_flat_map, sharded isolated, prehashed: 791 ms + concurrent foa: 608 ms + concurrent foa, tbb::spin_rw_mutex: 616 ms + concurrent foa, std::shared_mutex: 694 ms + tbb::concurrent_hash_map: 884 ms + gtl::parallel_flat_hash_map: 1020 ms + gtl::parallel_flat_hash_map: 3449 ms + gtl::parallel_flat_hash_map: 992 ms