From 0ce6135a06f57e33a67b1d9eec2a4f0428b1c762 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 25 Mar 2023 08:08:50 -0400 Subject: [PATCH] updated benchmark results --- gcc-x86/main.cpp.txt | 188 +++++++++++++++++++++---------------------- 1 file changed, 94 insertions(+), 94 deletions(-) diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt index a1190486..8cd40f70 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: 2586808 -enwik8: 14480868 words, 6902 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 2688943 +enwik8: 14480868 words, 6933 ms boost::unordered_flat_map, single threaded: -Word count: 680 ms (s=14480868, size=354032) +Word count: 700 ms (s=14480868, size=354032) Contains: 368 ms (s=7961072, size=354032) -Total: 1049 ms +Total: 1069 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 935 ms (s=14480868, size=354032) +Word count: 951 ms (s=14480868, size=354032) -Contains: 544 ms (s=7961072, size=354032) +Contains: 543 ms (s=7961072, size=354032) -Total: 1479 ms +Total: 1494 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 718 ms (s=14480868, size=354032) +Word count: 734 ms (s=14480868, size=354032) -Contains: 429 ms (s=7961072, size=354032) +Contains: 424 ms (s=7961072, size=354032) -Total: 1147 ms +Total: 1159 ms cfoa, single threaded: -Word count: 984 ms (s=14480868, size=354032) +Word count: 979 ms (s=14480868, size=354032) -Contains: 535 ms (s=7961072, size=354032) +Contains: 536 ms (s=7961072, size=354032) -Total: 1520 ms +Total: 1515 ms cfoa, tbb::spin_rw_mutex, single threaded: Word count: 994 ms (s=14480868, size=354032) -Contains: 543 ms (s=7961072, size=354032) +Contains: 541 ms (s=7961072, size=354032) -Total: 1538 ms +Total: 1535 ms cfoa, std::shared_mutex, single threaded: -Word count: 1142 ms (s=14480868, size=354032) +Word count: 1141 ms (s=14480868, size=354032) -Contains: 650 ms (s=7961072, size=354032) +Contains: 657 ms (s=7961072, size=354032) -Total: 1793 ms +Total: 1798 ms foa::concurrent_table, single threaded: -Word count: 970 ms (s=14480868, size=354032) +Word count: 931 ms (s=14480868, size=354032) -Contains: 536 ms (s=7961072, size=354032) +Contains: 537 ms (s=7961072, size=354032) -Total: 1506 ms +Total: 1469 ms tbb::concurrent_hash_map, single threaded: -Word count: 1475 ms (s=14480868, size=354032) +Word count: 1459 ms (s=14480868, size=354032) -Contains: 775 ms (s=7961072, size=354032) +Contains: 770 ms (s=7961072, size=354032) -Total: 2250 ms +Total: 2230 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 470 ms (s=14480868, size=354032) +Word count: 471 ms (s=14480868, size=354032) -Contains: 284 ms (s=7961072, size=354032) +Contains: 287 ms (s=7961072, size=354032) -Total: 754 ms +Total: 758 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 573 ms (s=14480868, size=354032) +Word count: 992 ms (s=14480868, size=354032) -Contains: 274 ms (s=7961072, size=354032) +Contains: 264 ms (s=7961072, size=354032) -Total: 848 ms +Total: 1257 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 480 ms (s=14480868, size=354032) +Word count: 396 ms (s=14480868, size=354032) -Contains: 211 ms (s=7961072, size=354032) +Contains: 201 ms (s=7961072, size=354032) -Total: 691 ms +Total: 597 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 405 ms (s=14480868, size=354032) +Word count: 443 ms (s=14480868, size=354032) -Contains: 339 ms (s=7961072, size=354032) +Contains: 333 ms (s=7961072, size=354032) -Total: 744 ms +Total: 776 ms cfoa: -Word count: 664 ms (s=14480868, size=354032) +Word count: 622 ms (s=14480868, size=354032) -Contains: 187 ms (s=7961072, size=354032) +Contains: 183 ms (s=7961072, size=354032) -Total: 851 ms +Total: 805 ms cfoa, tbb::spin_rw_mutex: -Word count: 704 ms (s=14480868, size=354032) +Word count: 680 ms (s=14480868, size=354032) -Contains: 194 ms (s=7961072, size=354032) - -Total: 899 ms - -cfoa, std::shared_mutex: - -Word count: 597 ms (s=14480868, size=354032) - -Contains: 219 ms (s=7961072, size=354032) - -Total: 816 ms - -foa::concurrent_table: - -Word count: 657 ms (s=14480868, size=354032) - -Contains: 173 ms (s=7961072, size=354032) - -Total: 830 ms - -tbb::concurrent_hash_map: - -Word count: 640 ms (s=14480868, size=354032) - -Contains: 221 ms (s=7961072, size=354032) +Contains: 180 ms (s=7961072, size=354032) Total: 861 ms +cfoa, std::shared_mutex: + +Word count: 601 ms (s=14480868, size=354032) + +Contains: 202 ms (s=7961072, size=354032) + +Total: 803 ms + +foa::concurrent_table: + +Word count: 673 ms (s=14480868, size=354032) + +Contains: 166 ms (s=7961072, size=354032) + +Total: 840 ms + +tbb::concurrent_hash_map: + +Word count: 670 ms (s=14480868, size=354032) + +Contains: 226 ms (s=7961072, size=354032) + +Total: 897 ms + gtl::parallel_flat_hash_map: -Word count: 739 ms (s=14480868, size=354032) +Word count: 726 ms (s=14480868, size=354032) -Contains: 355 ms (s=7961072, size=354032) +Contains: 365 ms (s=7961072, size=354032) -Total: 1095 ms +Total: 1091 ms gtl::parallel_flat_hash_map: -Word count: 1313 ms (s=14480868, size=354032) +Word count: 1319 ms (s=14480868, size=354032) -Contains: 337 ms (s=7961072, size=354032) +Contains: 309 ms (s=7961072, size=354032) -Total: 1650 ms +Total: 1628 ms gtl::parallel_flat_hash_map: -Word count: 461 ms (s=14480868, size=354032) +Word count: 595 ms (s=14480868, size=354032) -Contains: 342 ms (s=7961072, size=354032) +Contains: 430 ms (s=7961072, size=354032) -Total: 804 ms +Total: 1025 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 1049 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1147 ms - cfoa, single threaded: 1520 ms - cfoa, tbb::spin_rw_mutex, single threaded: 1538 ms - cfoa, std::shared_mutex, single threaded: 1793 ms - foa::concurrent_table, single threaded: 1506 ms - tbb::concurrent_hash_map, single threaded: 2250 ms - boost::unordered_flat_map, sharded_prehashed: 754 ms -boost::unordered_flat_map, sharded_prehashed: 848 ms - boost::unordered_flat_map, sharded_prehashed: 691 ms - boost::unordered_flat_map, sharded isolated, prehashed: 744 ms - cfoa: 851 ms - cfoa, tbb::spin_rw_mutex: 899 ms - cfoa, std::shared_mutex: 816 ms - foa::concurrent_table: 830 ms - tbb::concurrent_hash_map: 861 ms - gtl::parallel_flat_hash_map: 1095 ms - gtl::parallel_flat_hash_map: 1650 ms - gtl::parallel_flat_hash_map: 804 ms + boost::unordered_flat_map, single threaded: 1069 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1494 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1159 ms + cfoa, single threaded: 1515 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1535 ms + cfoa, std::shared_mutex, single threaded: 1798 ms + foa::concurrent_table, single threaded: 1469 ms + tbb::concurrent_hash_map, single threaded: 2230 ms + boost::unordered_flat_map, sharded_prehashed: 758 ms +boost::unordered_flat_map, sharded_prehashed: 1257 ms + boost::unordered_flat_map, sharded_prehashed: 597 ms + boost::unordered_flat_map, sharded isolated, prehashed: 776 ms + cfoa: 805 ms + cfoa, tbb::spin_rw_mutex: 861 ms + cfoa, std::shared_mutex: 803 ms + foa::concurrent_table: 840 ms + tbb::concurrent_hash_map: 897 ms + gtl::parallel_flat_hash_map: 1091 ms + gtl::parallel_flat_hash_map: 1628 ms + gtl::parallel_flat_hash_map: 1025 ms