diff --git a/vs-x86/main.cpp.txt b/vs-x86/main.cpp.txt index 26127a74..6b6757dd 100644 --- a/vs-x86/main.cpp.txt +++ b/vs-x86/main.cpp.txt @@ -1,185 +1,185 @@ -enwik8: 14480868 words, 8105 ms +enwik8: 14480868 words, 8332 ms boost::unordered_flat_map, single threaded: -Word count: 842 ms (s=14480868, size=354032) +Word count: 837 ms (s=14480868, size=354032) -Contains: 507 ms (s=7961072, size=354032) +Contains: 501 ms (s=7961072, size=354032) -Total: 1349 ms +Total: 1339 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 1050 ms (s=14480868, size=354032) +Word count: 1032 ms (s=14480868, size=354032) -Contains: 684 ms (s=7961072, size=354032) +Contains: 690 ms (s=7961072, size=354032) -Total: 1734 ms +Total: 1723 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 906 ms (s=14480868, size=354032) +Word count: 917 ms (s=14480868, size=354032) -Contains: 607 ms (s=7961072, size=354032) +Contains: 638 ms (s=7961072, size=354032) -Total: 1513 ms +Total: 1555 ms cfoa, single threaded: -Word count: 1302 ms (s=14480868, size=354032) +Word count: 1322 ms (s=14480868, size=354032) -Contains: 739 ms (s=7961072, size=354032) +Contains: 740 ms (s=7961072, size=354032) -Total: 2042 ms +Total: 2062 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 1355 ms (s=14480868, size=354032) +Word count: 1304 ms (s=14480868, size=354032) -Contains: 744 ms (s=7961072, size=354032) +Contains: 729 ms (s=7961072, size=354032) -Total: 2099 ms +Total: 2034 ms cfoa, std::shared_mutex, single threaded: -Word count: 1458 ms (s=14480868, size=354032) +Word count: 1469 ms (s=14480868, size=354032) -Contains: 848 ms (s=7961072, size=354032) +Contains: 827 ms (s=7961072, size=354032) -Total: 2307 ms +Total: 2297 ms foa::concurrent_table, single threaded: -Word count: 1332 ms (s=14480868, size=354032) +Word count: 1233 ms (s=14480868, size=354032) -Contains: 738 ms (s=7961072, size=354032) +Contains: 743 ms (s=7961072, size=354032) -Total: 2070 ms +Total: 1977 ms tbb::concurrent_hash_map, single threaded: -Word count: 2886 ms (s=14480868, size=354032) +Word count: 2917 ms (s=14480868, size=354032) -Contains: 1183 ms (s=7961072, size=354032) +Contains: 1142 ms (s=7961072, size=354032) -Total: 4069 ms +Total: 4060 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 632 ms (s=14480868, size=354032) +Word count: 580 ms (s=14480868, size=354032) -Contains: 468 ms (s=7961072, size=354032) +Contains: 383 ms (s=7961072, size=354032) -Total: 1100 ms +Total: 964 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 517 ms (s=14480868, size=354032) +Word count: 416 ms (s=14480868, size=354032) -Contains: 352 ms (s=7961072, size=354032) +Contains: 282 ms (s=7961072, size=354032) -Total: 869 ms +Total: 698 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 425 ms (s=14480868, size=354032) +Word count: 498 ms (s=14480868, size=354032) -Contains: 251 ms (s=7961072, size=354032) +Contains: 308 ms (s=7961072, size=354032) -Total: 677 ms +Total: 806 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 519 ms (s=14480868, size=354032) +Word count: 579 ms (s=14480868, size=354032) -Contains: 419 ms (s=7961072, size=354032) +Contains: 443 ms (s=7961072, size=354032) -Total: 939 ms +Total: 1023 ms cfoa: -Word count: 468 ms (s=14480868, size=354032) +Word count: 500 ms (s=14480868, size=354032) -Contains: 314 ms (s=7961072, size=354032) +Contains: 241 ms (s=7961072, size=354032) -Total: 782 ms +Total: 742 ms cfoa, tbb::spin_rw_mutex: -Word count: 526 ms (s=14480868, size=354032) +Word count: 518 ms (s=14480868, size=354032) -Contains: 246 ms (s=7961072, size=354032) +Contains: 244 ms (s=7961072, size=354032) -Total: 772 ms +Total: 763 ms cfoa, std::shared_mutex: -Word count: 593 ms (s=14480868, size=354032) +Word count: 559 ms (s=14480868, size=354032) -Contains: 379 ms (s=7961072, size=354032) +Contains: 276 ms (s=7961072, size=354032) -Total: 973 ms +Total: 836 ms foa::concurrent_table: -Word count: 565 ms (s=14480868, size=354032) +Word count: 551 ms (s=14480868, size=354032) -Contains: 310 ms (s=7961072, size=354032) +Contains: 309 ms (s=7961072, size=354032) -Total: 875 ms +Total: 860 ms tbb::concurrent_hash_map: -Word count: 1083 ms (s=14480868, size=354032) +Word count: 949 ms (s=14480868, size=354032) -Contains: 354 ms (s=7961072, size=354032) +Contains: 337 ms (s=7961072, size=354032) -Total: 1438 ms +Total: 1287 ms gtl::parallel_flat_hash_map: -Word count: 671 ms (s=14480868, size=354032) +Word count: 652 ms (s=14480868, size=354032) -Contains: 505 ms (s=7961072, size=354032) +Contains: 508 ms (s=7961072, size=354032) -Total: 1176 ms +Total: 1160 ms gtl::parallel_flat_hash_map: -Word count: 555 ms (s=14480868, size=354032) +Word count: 552 ms (s=14480868, size=354032) -Contains: 380 ms (s=7961072, size=354032) +Contains: 383 ms (s=7961072, size=354032) Total: 935 ms gtl::parallel_flat_hash_map: -Word count: 532 ms (s=14480868, size=354032) +Word count: 487 ms (s=14480868, size=354032) -Contains: 378 ms (s=7961072, size=354032) +Contains: 359 ms (s=7961072, size=354032) -Total: 910 ms +Total: 847 ms --- Number of threads: 4 - boost::unordered_flat_map, single threaded: 1349 ms - boost::unordered_flat_map, single threaded, shared_mutex: 1734 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 1513 ms - cfoa, single threaded: 2042 ms - cfoa, tbb::spin_rw_mutex, single threaded: 2099 ms - cfoa, std::shared_mutex, single threaded: 2307 ms - foa::concurrent_table, single threaded: 2070 ms - tbb::concurrent_hash_map, single threaded: 4069 ms - boost::unordered_flat_map, sharded_prehashed: 1100 ms -boost::unordered_flat_map, sharded_prehashed: 869 ms - boost::unordered_flat_map, sharded_prehashed: 677 ms - boost::unordered_flat_map, sharded isolated, prehashed: 939 ms - cfoa: 782 ms - cfoa, tbb::spin_rw_mutex: 772 ms - cfoa, std::shared_mutex: 973 ms - foa::concurrent_table: 875 ms - tbb::concurrent_hash_map: 1438 ms - gtl::parallel_flat_hash_map: 1176 ms + boost::unordered_flat_map, single threaded: 1339 ms + boost::unordered_flat_map, single threaded, shared_mutex: 1723 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 1555 ms + cfoa, single threaded: 2062 ms + cfoa, tbb::spin_rw_mutex, single threaded: 2034 ms + cfoa, std::shared_mutex, single threaded: 2297 ms + foa::concurrent_table, single threaded: 1977 ms + tbb::concurrent_hash_map, single threaded: 4060 ms + boost::unordered_flat_map, sharded_prehashed: 964 ms +boost::unordered_flat_map, sharded_prehashed: 698 ms + boost::unordered_flat_map, sharded_prehashed: 806 ms + boost::unordered_flat_map, sharded isolated, prehashed: 1023 ms + cfoa: 742 ms + cfoa, tbb::spin_rw_mutex: 763 ms + cfoa, std::shared_mutex: 836 ms + foa::concurrent_table: 860 ms + tbb::concurrent_hash_map: 1287 ms + gtl::parallel_flat_hash_map: 1160 ms gtl::parallel_flat_hash_map: 935 ms - gtl::parallel_flat_hash_map: 910 ms + gtl::parallel_flat_hash_map: 847 ms