diff --git a/vs-x86/main.cpp.txt b/vs-x86/main.cpp.txt index 1255a695..141b3923 100644 --- a/vs-x86/main.cpp.txt +++ b/vs-x86/main.cpp.txt @@ -1,185 +1,185 @@ -enwik8: 14480868 words, 8139 ms +enwik8: 14480868 words, 8200 ms boost::unordered_flat_map, single threaded: -Word count: 832 ms (s=14480868, size=354032) +Word count: 812 ms (s=14480868, size=354032) -Contains: 490 ms (s=7961072, size=354032) +Contains: 481 ms (s=7961072, size=354032) -Total: 1322 ms +Total: 1294 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 1044 ms (s=14480868, size=354032) +Word count: 1010 ms (s=14480868, size=354032) -Contains: 737 ms (s=7961072, size=354032) +Contains: 675 ms (s=7961072, size=354032) -Total: 1781 ms +Total: 1685 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 936 ms (s=14480868, size=354032) +Word count: 868 ms (s=14480868, size=354032) -Contains: 642 ms (s=7961072, size=354032) +Contains: 600 ms (s=7961072, size=354032) -Total: 1578 ms +Total: 1469 ms cfoa, single threaded: -Word count: 1350 ms (s=14480868, size=354032) +Word count: 1263 ms (s=14480868, size=354032) -Contains: 748 ms (s=7961072, size=354032) +Contains: 733 ms (s=7961072, size=354032) -Total: 2099 ms +Total: 1996 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 1341 ms (s=14480868, size=354032) +Word count: 1337 ms (s=14480868, size=354032) -Contains: 764 ms (s=7961072, size=354032) +Contains: 725 ms (s=7961072, size=354032) -Total: 2105 ms +Total: 2062 ms cfoa, std::shared_mutex, single threaded: -Word count: 1451 ms (s=14480868, size=354032) +Word count: 1432 ms (s=14480868, size=354032) -Contains: 865 ms (s=7961072, size=354032) +Contains: 839 ms (s=7961072, size=354032) -Total: 2316 ms +Total: 2272 ms foa::concurrent_table, single threaded: -Word count: 1320 ms (s=14480868, size=354032) +Word count: 1305 ms (s=14480868, size=354032) -Contains: 774 ms (s=7961072, size=354032) +Contains: 721 ms (s=7961072, size=354032) -Total: 2094 ms +Total: 2026 ms tbb::concurrent_hash_map, single threaded: -Word count: 2865 ms (s=14480868, size=354032) +Word count: 2965 ms (s=14480868, size=354032) -Contains: 1165 ms (s=7961072, size=354032) +Contains: 1135 ms (s=7961072, size=354032) -Total: 4031 ms +Total: 4101 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 498 ms (s=14480868, size=354032) +Word count: 586 ms (s=14480868, size=354032) -Contains: 443 ms (s=7961072, size=354032) +Contains: 471 ms (s=7961072, size=354032) -Total: 941 ms +Total: 1058 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 473 ms (s=14480868, size=354032) +Word count: 477 ms (s=14480868, size=354032) -Contains: 329 ms (s=7961072, size=354032) +Contains: 279 ms (s=7961072, size=354032) -Total: 802 ms +Total: 756 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 538 ms (s=14480868, size=354032) +Word count: 485 ms (s=14480868, size=354032) -Contains: 247 ms (s=7961072, size=354032) +Contains: 309 ms (s=7961072, size=354032) -Total: 786 ms +Total: 794 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 449 ms (s=14480868, size=354032) +Word count: 492 ms (s=14480868, size=354032) -Contains: 354 ms (s=7961072, size=354032) +Contains: 422 ms (s=7961072, size=354032) -Total: 803 ms +Total: 915 ms cfoa: -Word count: 570 ms (s=14480868, size=354032) +Word count: 545 ms (s=14480868, size=354032) -Contains: 286 ms (s=7961072, size=354032) +Contains: 308 ms (s=7961072, size=354032) -Total: 856 ms +Total: 853 ms cfoa, tbb::spin_rw_mutex: -Word count: 542 ms (s=14480868, size=354032) +Word count: 568 ms (s=14480868, size=354032) -Contains: 301 ms (s=7961072, size=354032) +Contains: 313 ms (s=7961072, size=354032) -Total: 844 ms +Total: 882 ms cfoa, std::shared_mutex: -Word count: 623 ms (s=14480868, size=354032) +Word count: 658 ms (s=14480868, size=354032) -Contains: 324 ms (s=7961072, size=354032) +Contains: 297 ms (s=7961072, size=354032) -Total: 948 ms +Total: 955 ms foa::concurrent_table: -Word count: 585 ms (s=14480868, size=354032) +Word count: 599 ms (s=14480868, size=354032) -Contains: 230 ms (s=7961072, size=354032) +Contains: 294 ms (s=7961072, size=354032) -Total: 815 ms +Total: 894 ms tbb::concurrent_hash_map: -Word count: 845 ms (s=14480868, size=354032) +Word count: 1165 ms (s=14480868, size=354032) -Contains: 346 ms (s=7961072, size=354032) +Contains: 417 ms (s=7961072, size=354032) -Total: 1191 ms +Total: 1582 ms gtl::parallel_flat_hash_map: -Word count: 625 ms (s=14480868, size=354032) +Word count: 622 ms (s=14480868, size=354032) -Contains: 505 ms (s=7961072, size=354032) +Contains: 504 ms (s=7961072, size=354032) -Total: 1131 ms +Total: 1126 ms gtl::parallel_flat_hash_map: -Word count: 500 ms (s=14480868, size=354032) +Word count: 563 ms (s=14480868, size=354032) -Contains: 333 ms (s=7961072, size=354032) +Contains: 395 ms (s=7961072, size=354032) -Total: 834 ms +Total: 959 ms gtl::parallel_flat_hash_map: -Word count: 472 ms (s=14480868, size=354032) +Word count: 486 ms (s=14480868, size=354032) -Contains: 364 ms (s=7961072, size=354032) +Contains: 305 ms (s=7961072, size=354032) -Total: 837 ms +Total: 792 ms --- Number of threads: 4 - boost::unordered_flat_map, single threaded: 1322 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1781 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1578 ms - cfoa, single threaded: 2099 ms - cfoa, tbb::spin_rw_mutex, single threaded: 2105 ms - cfoa, std::shared_mutex, single threaded: 2316 ms - foa::concurrent_table, single threaded: 2094 ms - tbb::concurrent_hash_map, single threaded: 4031 ms - boost::unordered_flat_map, sharded_prehashed: 941 ms -boost::unordered_flat_map, sharded_prehashed: 802 ms - boost::unordered_flat_map, sharded_prehashed: 786 ms - boost::unordered_flat_map, sharded isolated, prehashed: 803 ms - cfoa: 856 ms - cfoa, tbb::spin_rw_mutex: 844 ms - cfoa, std::shared_mutex: 948 ms - foa::concurrent_table: 815 ms - tbb::concurrent_hash_map: 1191 ms - gtl::parallel_flat_hash_map: 1131 ms - gtl::parallel_flat_hash_map: 834 ms - gtl::parallel_flat_hash_map: 837 ms + boost::unordered_flat_map, single threaded: 1294 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1685 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1469 ms + cfoa, single threaded: 1996 ms + cfoa, tbb::spin_rw_mutex, single threaded: 2062 ms + cfoa, std::shared_mutex, single threaded: 2272 ms + foa::concurrent_table, single threaded: 2026 ms + tbb::concurrent_hash_map, single threaded: 4101 ms + boost::unordered_flat_map, sharded_prehashed: 1058 ms +boost::unordered_flat_map, sharded_prehashed: 756 ms + boost::unordered_flat_map, sharded_prehashed: 794 ms + boost::unordered_flat_map, sharded isolated, prehashed: 915 ms + cfoa: 853 ms + cfoa, tbb::spin_rw_mutex: 882 ms + cfoa, std::shared_mutex: 955 ms + foa::concurrent_table: 894 ms + tbb::concurrent_hash_map: 1582 ms + gtl::parallel_flat_hash_map: 1126 ms + gtl::parallel_flat_hash_map: 959 ms + gtl::parallel_flat_hash_map: 792 ms