diff --git a/clang-x86/main.cpp.txt b/clang-x86/main.cpp.txt index 4e86b428..825d8c0a 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: 902212 -enwik8: 14480868 words, 6863 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 935968 +enwik8: 14480868 words, 6877 ms boost::unordered_flat_map, single threaded: @@ -7,115 +7,180 @@ Word count: 669 ms (s=14480868, size=354032) Contains: 460 ms (s=7961072, size=354032) -Total: 1129 ms +Total: 1130 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 907 ms (s=14480868, size=354032) +Word count: 908 ms (s=14480868, size=354032) -Contains: 648 ms (s=7961072, size=354032) +Contains: 649 ms (s=7961072, size=354032) -Total: 1556 ms +Total: 1557 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 714 ms (s=14480868, size=354032) +Word count: 713 ms (s=14480868, size=354032) Contains: 517 ms (s=7961072, size=354032) -Total: 1232 ms +Total: 1231 ms cfoa, single threaded: -Word count: 870 ms (s=14480868, size=354032) +Word count: 869 ms (s=14480868, size=354032) Contains: 571 ms (s=7961072, size=354032) -Total: 1442 ms +Total: 1440 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 866 ms (s=14480868, size=354032) +Word count: 865 ms (s=14480868, size=354032) -Contains: 586 ms (s=7961072, size=354032) +Contains: 587 ms (s=7961072, size=354032) Total: 1453 ms cfoa, std::shared_mutex, single threaded: -Word count: 1021 ms (s=14480868, size=354032) +Word count: 1020 ms (s=14480868, size=354032) Contains: 745 ms (s=7961072, size=354032) -Total: 1767 ms +Total: 1766 ms foa::concurrent_table, single threaded: Word count: 880 ms (s=14480868, size=354032) -Contains: 584 ms (s=7961072, size=354032) +Contains: 575 ms (s=7961072, size=354032) -Total: 1464 ms +Total: 1456 ms tbb::concurrent_hash_map, single threaded: -Word count: 1532 ms (s=14480868, size=354032) +Word count: 1525 ms (s=14480868, size=354032) -Contains: 832 ms (s=7961072, size=354032) +Contains: 844 ms (s=7961072, size=354032) -Total: 2365 ms +Total: 2369 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 466 ms (s=14480868, size=354032) +Word count: 461 ms (s=14480868, size=354032) -Contains: 281 ms (s=7961072, size=354032) +Contains: 269 ms (s=7961072, size=354032) -Total: 747 ms +Total: 731 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 1142 ms (s=14480868, size=354032) +Word count: 1210 ms (s=14480868, size=354032) -Contains: 276 ms (s=7961072, size=354032) +Contains: 274 ms (s=7961072, size=354032) -Total: 1419 ms +Total: 1485 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 617 ms (s=14480868, size=354032) +Word count: 607 ms (s=14480868, size=354032) -Contains: 184 ms (s=7961072, size=354032) +Contains: 188 ms (s=7961072, size=354032) -Total: 802 ms +Total: 796 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 406 ms (s=14480868, size=354032) +Word count: 418 ms (s=14480868, size=354032) -Contains: 366 ms (s=7961072, size=354032) +Contains: 374 ms (s=7961072, size=354032) -Total: 773 ms +Total: 793 ms cfoa: -Word count: 469 ms (s=14480868, size=354032) +Word count: 420 ms (s=14480868, size=354032) -Contains: 185 ms (s=7961072, size=354032) +Contains: 194 ms (s=7961072, size=354032) -Total: 654 ms +Total: 615 ms cfoa, tbb::spin_rw_mutex: -Word count: 437 ms (s=14480868, size=354032) +Word count: 439 ms (s=14480868, size=354032) -Contains: 202 ms (s=7961072, size=354032) +Contains: 191 ms (s=7961072, size=354032) -Total: 639 ms +Total: 631 ms cfoa, std::shared_mutex: -Word count: 493 ms (s=14480868, size=354032) +Word count: 516 ms (s=14480868, size=354032) -Contains: 229 ms (s=7961072, size=354032) +Contains: 207 ms (s=7961072, size=354032) +Total: 723 ms + +foa::concurrent_table: + +Word count: 579 ms (s=14480868, size=354032) + +Contains: 183 ms (s=7961072, size=354032) + +Total: 762 ms + +tbb::concurrent_hash_map: + +Word count: 641 ms (s=14480868, size=354032) + +Contains: 236 ms (s=7961072, size=354032) + +Total: 878 ms + +gtl::parallel_flat_hash_map: + +Word count: 644 ms (s=14480868, size=354032) + +Contains: 363 ms (s=7961072, size=354032) + +Total: 1007 ms + +gtl::parallel_flat_hash_map: + +Word count: 1872 ms (s=14480868, size=354032) + +Contains: 318 ms (s=7961072, size=354032) + +Total: 2190 ms + +gtl::parallel_flat_hash_map: + +Word count: 808 ms (s=14480868, size=354032) + +Contains: 651 ms (s=7961072, size=354032) + +Total: 1459 ms + +--- + +Number of threads: 16 + boost::unordered_flat_map, single threaded: 1130 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1557 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1231 ms + cfoa, single threaded: 1440 ms + cfoa, tbb::spin_rw_mutex, single threaded: 1453 ms + cfoa, std::shared_mutex, single threaded: 1766 ms + foa::concurrent_table, single threaded: 1456 ms + tbb::concurrent_hash_map, single threaded: 2369 ms + boost::unordered_flat_map, sharded_prehashed: 731 ms +boost::unordered_flat_map, sharded_prehashed: 1485 ms + boost::unordered_flat_map, sharded_prehashed: 796 ms + boost::unordered_flat_map, sharded isolated, prehashed: 793 ms + cfoa: 615 ms + cfoa, tbb::spin_rw_mutex: 631 ms + cfoa, std::shared_mutex: 723 ms + foa::concurrent_table: 762 ms + tbb::concurrent_hash_map: 878 ms + gtl::parallel_flat_hash_map: 1007 ms + gtl::parallel_flat_hash_map: 2190 ms + gtl::parallel_flat_hash_map: 1459 ms