diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 0c1996e4..07c20811 100644 --- a/clang-x86/main.cpp.txt +++ b/clang-x86/main.cpp.txt @@ -1,11 +1,11 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 1023439 -enwik8: 14480868 words, 6891 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1058371 +enwik8: 14480868 words, 6901 ms boost::unordered_flat_map, single threaded: -Word count: 669 ms (s=14480868, size=354032) +Word count: 668 ms (s=14480868, size=354032) -Contains: 460 ms (s=7961072, size=354032) +Contains: 461 ms (s=7961072, size=354032) Total: 1130 ms @@ -13,7 +13,7 @@ boost::unordered_flat_map, single threaded, shared_mutex: Word count: 905 ms (s=14480868, size=354032) -Contains: 717 ms (s=7961072, size=354032) +Contains: 716 ms (s=7961072, size=354032) Total: 1622 ms @@ -23,23 +23,23 @@ Word count: 706 ms (s=14480868, size=354032) Contains: 516 ms (s=7961072, size=354032) -Total: 1223 ms +Total: 1222 ms cfoa, single threaded: -Word count: 869 ms (s=14480868, size=354032) +Word count: 870 ms (s=14480868, size=354032) Contains: 571 ms (s=7961072, size=354032) -Total: 1440 ms +Total: 1441 ms cfoa, tbb::spin_rw_mutex, single threaded: Word count: 873 ms (s=14480868, size=354032) -Contains: 571 ms (s=7961072, size=354032) +Contains: 572 ms (s=7961072, size=354032) -Total: 1444 ms +Total: 1445 ms cfoa, std::shared_mutex, single threaded: @@ -55,67 +55,132 @@ Word count: 880 ms (s=14480868, size=354032) Contains: 572 ms (s=7961072, size=354032) -Total: 1452 ms +Total: 1453 ms tbb::concurrent_hash_map, single threaded: -Word count: 1557 ms (s=14480868, size=354032) +Word count: 1582 ms (s=14480868, size=354032) -Contains: 844 ms (s=7961072, size=354032) +Contains: 847 ms (s=7961072, size=354032) -Total: 2402 ms +Total: 2429 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 479 ms (s=14480868, size=354032) +Word count: 485 ms (s=14480868, size=354032) -Contains: 278 ms (s=7961072, size=354032) +Contains: 276 ms (s=7961072, size=354032) -Total: 758 ms +Total: 762 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2075 ms (s=14480868, size=354032) +Word count: 1135 ms (s=14480868, size=354032) -Contains: 281 ms (s=7961072, size=354032) +Contains: 252 ms (s=7961072, size=354032) -Total: 2356 ms +Total: 1388 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 389 ms (s=14480868, size=354032) +Word count: 460 ms (s=14480868, size=354032) -Contains: 198 ms (s=7961072, size=354032) +Contains: 192 ms (s=7961072, size=354032) -Total: 587 ms +Total: 653 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 405 ms (s=14480868, size=354032) +Word count: 393 ms (s=14480868, size=354032) -Contains: 341 ms (s=7961072, size=354032) +Contains: 348 ms (s=7961072, size=354032) -Total: 746 ms +Total: 741 ms cfoa: -Word count: 436 ms (s=14480868, size=354032) +Word count: 438 ms (s=14480868, size=354032) -Contains: 201 ms (s=7961072, size=354032) +Contains: 192 ms (s=7961072, size=354032) -Total: 637 ms +Total: 630 ms cfoa, tbb::spin_rw_mutex: -Word count: 438 ms (s=14480868, size=354032) +Word count: 433 ms (s=14480868, size=354032) -Contains: 186 ms (s=7961072, size=354032) +Contains: 194 ms (s=7961072, size=354032) -Total: 625 ms +Total: 628 ms cfoa, std::shared_mutex: -Word count: 531 ms (s=14480868, size=354032) +Word count: 520 ms (s=14480868, size=354032) -Contains: 212 ms (s=7961072, size=354032) +Contains: 207 ms (s=7961072, size=354032) +Total: 727 ms + +foa::concurrent_table: + +Word count: 606 ms (s=14480868, size=354032) + +Contains: 192 ms (s=7961072, size=354032) + +Total: 799 ms + +tbb::concurrent_hash_map: + +Word count: 653 ms (s=14480868, size=354032) + +Contains: 258 ms (s=7961072, size=354032) + +Total: 911 ms + +gtl::parallel_flat_hash_map: + +Word count: 638 ms (s=14480868, size=354032) + +Contains: 386 ms (s=7961072, size=354032) + +Total: 1024 ms + +gtl::parallel_flat_hash_map: + +Word count: 1859 ms (s=14480868, size=354032) + +Contains: 331 ms (s=7961072, size=354032) + +Total: 2190 ms + +gtl::parallel_flat_hash_map: + +Word count: 632 ms (s=14480868, size=354032) + +Contains: 384 ms (s=7961072, size=354032) + +Total: 1017 ms + +--- + +Number of threads: 16 + boost::unordered_flat_map, single threaded: 1130 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1622 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1222 ms + cfoa, single threaded: 1441 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1445 ms + cfoa, std::shared_mutex, single threaded: 1787 ms + foa::concurrent_table, single threaded: 1453 ms + tbb::concurrent_hash_map, single threaded: 2429 ms + boost::unordered_flat_map, sharded_prehashed: 762 ms +boost::unordered_flat_map, sharded_prehashed: 1388 ms + boost::unordered_flat_map, sharded_prehashed: 653 ms + boost::unordered_flat_map, sharded isolated, prehashed: 741 ms + cfoa: 630 ms + cfoa, tbb::spin_rw_mutex: 628 ms + cfoa, std::shared_mutex: 727 ms + foa::concurrent_table: 799 ms + tbb::concurrent_hash_map: 911 ms + gtl::parallel_flat_hash_map: 1024 ms + gtl::parallel_flat_hash_map: 2190 ms + gtl::parallel_flat_hash_map: 1017 ms