diff --git a/vs-x64/main.cpp.txt b/vs-x64/main.cpp.txt index 74a20799..bef23ba8 100644 --- a/vs-x64/main.cpp.txt +++ b/vs-x64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 82513 ms +enwik9: 141176630 words, 81789 ms boost::unordered_flat_map, single threaded: -Word count: 13050 ms (s=141176630, size=1418655) +Word count: 12746 ms (s=141176630, size=1418655) -Contains: 8897 ms (s=97891799, size=1418655) +Contains: 8825 ms (s=97891799, size=1418655) -Total: 21947 ms +Total: 21572 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 15181 ms (s=141176630, size=1418655) +Word count: 14907 ms (s=141176630, size=1418655) -Contains: 9607 ms (s=97891799, size=1418655) +Contains: 9528 ms (s=97891799, size=1418655) -Total: 24789 ms +Total: 24436 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 14359 ms (s=141176630, size=1418655) +Word count: 13873 ms (s=141176630, size=1418655) -Contains: 9957 ms (s=97891799, size=1418655) +Contains: 9510 ms (s=97891799, size=1418655) -Total: 24316 ms +Total: 23384 ms cfoa, single threaded: -Word count: 15418 ms (s=141176630, size=1418655) +Word count: 15387 ms (s=141176630, size=1418655) -Contains: 9416 ms (s=97891799, size=1418655) +Contains: 9304 ms (s=97891799, size=1418655) -Total: 24835 ms +Total: 24691 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 15313 ms (s=141176630, size=1418655) +Word count: 15536 ms (s=141176630, size=1418655) -Contains: 9951 ms (s=97891799, size=1418655) +Contains: 9660 ms (s=97891799, size=1418655) -Total: 25265 ms +Total: 25196 ms cfoa, std::shared_mutex, single threaded: -Word count: 15339 ms (s=141176630, size=1418655) +Word count: 15572 ms (s=141176630, size=1418655) -Contains: 10504 ms (s=97891799, size=1418655) +Contains: 9543 ms (s=97891799, size=1418655) -Total: 25844 ms +Total: 25116 ms foa::concurrent_table, single threaded: -Word count: 15891 ms (s=141176630, size=1418655) +Word count: 15739 ms (s=141176630, size=1418655) -Contains: 10008 ms (s=97891799, size=1418655) +Contains: 9763 ms (s=97891799, size=1418655) -Total: 25899 ms +Total: 25503 ms tbb::concurrent_hash_map, single threaded: -Word count: 28710 ms (s=141176630, size=1418655) +Word count: 29210 ms (s=141176630, size=1418655) -Contains: 13796 ms (s=97891799, size=1418655) +Contains: 13654 ms (s=97891799, size=1418655) -Total: 42506 ms +Total: 42864 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5602 ms (s=141176630, size=1418655) +Word count: 5975 ms (s=141176630, size=1418655) -Contains: 4687 ms (s=97891799, size=1418655) +Contains: 4770 ms (s=97891799, size=1418655) -Total: 10290 ms +Total: 10745 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5117 ms (s=141176630, size=1418655) +Word count: 5152 ms (s=141176630, size=1418655) -Contains: 3871 ms (s=97891799, size=1418655) +Contains: 3773 ms (s=97891799, size=1418655) -Total: 8989 ms +Total: 8925 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 6232 ms (s=141176630, size=1418655) +Word count: 6281 ms (s=141176630, size=1418655) -Contains: 3823 ms (s=97891799, size=1418655) +Contains: 3882 ms (s=97891799, size=1418655) -Total: 10056 ms +Total: 10164 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 5301 ms (s=141176630, size=1418655) +Word count: 5309 ms (s=141176630, size=1418655) -Contains: 4915 ms (s=97891799, size=1418655) +Contains: 5188 ms (s=97891799, size=1418655) -Total: 10216 ms +Total: 10498 ms cfoa: -Word count: 5440 ms (s=141176630, size=1418655) +Word count: 5606 ms (s=141176630, size=1418655) -Contains: 3624 ms (s=97891799, size=1418655) +Contains: 3737 ms (s=97891799, size=1418655) -Total: 9064 ms +Total: 9343 ms cfoa, tbb::spin_rw_mutex: -Word count: 5582 ms (s=141176630, size=1418655) +Word count: 5505 ms (s=141176630, size=1418655) -Contains: 3247 ms (s=97891799, size=1418655) +Contains: 3095 ms (s=97891799, size=1418655) -Total: 8829 ms +Total: 8600 ms cfoa, std::shared_mutex: -Word count: 5619 ms (s=141176630, size=1418655) +Word count: 5577 ms (s=141176630, size=1418655) -Contains: 3455 ms (s=97891799, size=1418655) +Contains: 3602 ms (s=97891799, size=1418655) -Total: 9074 ms +Total: 9179 ms foa::concurrent_table: -Word count: 5768 ms (s=141176630, size=1418655) +Word count: 5717 ms (s=141176630, size=1418655) -Contains: 3761 ms (s=97891799, size=1418655) +Contains: 3601 ms (s=97891799, size=1418655) -Total: 9530 ms +Total: 9319 ms tbb::concurrent_hash_map: -Word count: 10165 ms (s=141176630, size=1418655) +Word count: 10155 ms (s=141176630, size=1418655) -Contains: 4523 ms (s=97891799, size=1418655) +Contains: 4456 ms (s=97891799, size=1418655) -Total: 14689 ms +Total: 14611 ms gtl::parallel_flat_hash_map: -Word count: 7127 ms (s=141176630, size=1418655) +Word count: 7295 ms (s=141176630, size=1418655) -Contains: 5230 ms (s=97891799, size=1418655) +Contains: 5354 ms (s=97891799, size=1418655) -Total: 12358 ms +Total: 12649 ms gtl::parallel_flat_hash_map: -Word count: 6364 ms (s=141176630, size=1418655) +Word count: 6381 ms (s=141176630, size=1418655) -Contains: 4097 ms (s=97891799, size=1418655) +Contains: 4412 ms (s=97891799, size=1418655) -Total: 10462 ms +Total: 10793 ms gtl::parallel_flat_hash_map: -Word count: 7399 ms (s=141176630, size=1418655) +Word count: 7540 ms (s=141176630, size=1418655) -Contains: 4237 ms (s=97891799, size=1418655) +Contains: 3974 ms (s=97891799, size=1418655) -Total: 11636 ms +Total: 11515 ms --- Number of threads: 4 - boost::unordered_flat_map, single threaded: 21947 ms - boost::unordered_flat_map, single threaded, shared_mutex: 24789 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 24316 ms - cfoa, single threaded: 24835 ms - cfoa, tbb::spin_rw_mutex, single threaded: 25265 ms - cfoa, std::shared_mutex, single threaded: 25844 ms - foa::concurrent_table, single threaded: 25899 ms - tbb::concurrent_hash_map, single threaded: 42506 ms - boost::unordered_flat_map, sharded_prehashed: 10290 ms -boost::unordered_flat_map, sharded_prehashed: 8989 ms - boost::unordered_flat_map, sharded_prehashed: 10056 ms - boost::unordered_flat_map, sharded isolated, prehashed: 10216 ms - cfoa: 9064 ms - cfoa, tbb::spin_rw_mutex: 8829 ms - cfoa, std::shared_mutex: 9074 ms - foa::concurrent_table: 9530 ms - tbb::concurrent_hash_map: 14689 ms - gtl::parallel_flat_hash_map: 12358 ms - gtl::parallel_flat_hash_map: 10462 ms - gtl::parallel_flat_hash_map: 11636 ms + boost::unordered_flat_map, single threaded: 21572 ms + boost::unordered_flat_map, single threaded, shared_mutex: 24436 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 23384 ms + cfoa, single threaded: 24691 ms + cfoa, tbb::spin_rw_mutex, single threaded: 25196 ms + cfoa, std::shared_mutex, single threaded: 25116 ms + foa::concurrent_table, single threaded: 25503 ms + tbb::concurrent_hash_map, single threaded: 42864 ms + boost::unordered_flat_map, sharded_prehashed: 10745 ms +boost::unordered_flat_map, sharded_prehashed: 8925 ms + boost::unordered_flat_map, sharded_prehashed: 10164 ms + boost::unordered_flat_map, sharded isolated, prehashed: 10498 ms + cfoa: 9343 ms + cfoa, tbb::spin_rw_mutex: 8600 ms + cfoa, std::shared_mutex: 9179 ms + foa::concurrent_table: 9319 ms + tbb::concurrent_hash_map: 14611 ms + gtl::parallel_flat_hash_map: 12649 ms + gtl::parallel_flat_hash_map: 10793 ms + gtl::parallel_flat_hash_map: 11515 ms