diff --git a/clang-arm64/word_count.cpp.txt b/clang-arm64/word_count.cpp.txt index a1198a30..c033481b 100644 --- a/clang-arm64/word_count.cpp.txt +++ b/clang-arm64/word_count.cpp.txt @@ -1,184 +1,184 @@ -enwik9: 141176630 words, 34757 ms +enwik9: 141176630 words, 36826 ms std::unordered_map: -Word count: 8276 ms (s=141176630, size=1418655) +Word count: 12759 ms (s=141176630, size=1418655) Memory: 69916096 bytes in 1418656 allocations -Contains: 6732 ms (s=97891799, size=1418655) +Contains: 8902 ms (s=97891799, size=1418655) -Count: 6873 ms (s=97891799, size=1418655) +Count: 8913 ms (s=97891799, size=1418655) -Iterate and find max element: 60 ms (s=6498257, size=1418655) +Iterate and find max element: 69 ms (s=6498257, size=1418655) -Total: 21942 ms +Total: 30645 ms boost::unordered_map: -Word count: 7757 ms (s=141176630, size=1418655) +Word count: 14322 ms (s=141176630, size=1418655) Memory: 58766384 bytes in 1418657 allocations -Contains: 8178 ms (s=97891799, size=1418655) +Contains: 9594 ms (s=97891799, size=1418655) -Count: 8690 ms (s=97891799, size=1418655) +Count: 9106 ms (s=97891799, size=1418655) Iterate and find max element: 23 ms (s=6498257, size=1418655) -Total: 24650 ms +Total: 33047 ms boost::unordered_flat_map: -Word count: 8660 ms (s=141176630, size=1418655) +Word count: 9674 ms (s=141176630, size=1418655) Memory: 49283064 bytes in 1 allocations -Contains: 4901 ms (s=97891799, size=1418655) +Contains: 4910 ms (s=97891799, size=1418655) -Count: 4103 ms (s=97891799, size=1418655) +Count: 4097 ms (s=97891799, size=1418655) Iterate and find max element: 12 ms (s=6498257, size=1418655) -Total: 17676 ms +Total: 18695 ms ankerl::unordered_dense::map: -Word count: 12312 ms (s=141176630, size=1418655) +Word count: 10792 ms (s=141176630, size=1418655) Memory: 67108864 bytes in 2 allocations -Contains: 6385 ms (s=97891799, size=1418655) +Contains: 5495 ms (s=97891799, size=1418655) -Count: 5299 ms (s=97891799, size=1418655) +Count: 5488 ms (s=97891799, size=1418655) Iterate and find max element: 0 ms (s=6498257, size=1418655) -Total: 23997 ms +Total: 21776 ms absl::node_hash_map: -Word count: 14027 ms (s=141176630, size=1418655) +Word count: 11846 ms (s=141176630, size=1418655) Memory: 52922088 bytes in 1418656 allocations -Contains: 5294 ms (s=97891799, size=1418655) +Contains: 5087 ms (s=97891799, size=1418655) -Count: 4242 ms (s=97891799, size=1418655) +Count: 5229 ms (s=97891799, size=1418655) -Iterate and find max element: 8 ms (s=6498257, size=1418655) +Iterate and find max element: 7 ms (s=6498257, size=1418655) -Total: 23572 ms +Total: 22171 ms absl::flat_hash_map: -Word count: 13096 ms (s=141176630, size=1418655) +Word count: 10664 ms (s=141176630, size=1418655) Memory: 52428784 bytes in 1 allocations -Contains: 5561 ms (s=97891799, size=1418655) +Contains: 4802 ms (s=97891799, size=1418655) -Count: 4571 ms (s=97891799, size=1418655) +Count: 4030 ms (s=97891799, size=1418655) Iterate and find max element: 3 ms (s=6498257, size=1418655) -Total: 23233 ms +Total: 19501 ms std::unordered_map, FNV-1a: -Word count: 13465 ms (s=141176630, size=1418655) +Word count: 12605 ms (s=141176630, size=1418655) Memory: 69916096 bytes in 1418656 allocations -Contains: 7816 ms (s=97891799, size=1418655) +Contains: 7939 ms (s=97891799, size=1418655) -Count: 8177 ms (s=97891799, size=1418655) +Count: 8867 ms (s=97891799, size=1418655) -Iterate and find max element: 59 ms (s=6498257, size=1418655) +Iterate and find max element: 63 ms (s=6498257, size=1418655) -Total: 29519 ms +Total: 29475 ms boost::unordered_map, FNV-1a: -Word count: 11643 ms (s=141176630, size=1418655) +Word count: 11642 ms (s=141176630, size=1418655) Memory: 58766384 bytes in 1418657 allocations -Contains: 7698 ms (s=97891799, size=1418655) +Contains: 8177 ms (s=97891799, size=1418655) -Count: 8284 ms (s=97891799, size=1418655) +Count: 8070 ms (s=97891799, size=1418655) Iterate and find max element: 19 ms (s=6498257, size=1418655) -Total: 27646 ms +Total: 27910 ms boost::unordered_flat_map, FNV-1a: -Word count: 9263 ms (s=141176630, size=1418655) +Word count: 8945 ms (s=141176630, size=1418655) Memory: 49283064 bytes in 1 allocations -Contains: 4622 ms (s=97891799, size=1418655) +Contains: 4802 ms (s=97891799, size=1418655) -Count: 4342 ms (s=97891799, size=1418655) +Count: 4422 ms (s=97891799, size=1418655) Iterate and find max element: 12 ms (s=6498257, size=1418655) -Total: 18240 ms +Total: 18183 ms ankerl::unordered_dense::map, FNV-1a: -Word count: 14887 ms (s=141176630, size=1418655) +Word count: 14733 ms (s=141176630, size=1418655) Memory: 67108864 bytes in 2 allocations -Contains: 10354 ms (s=97891799, size=1418655) +Contains: 10268 ms (s=97891799, size=1418655) -Count: 10675 ms (s=97891799, size=1418655) +Count: 10635 ms (s=97891799, size=1418655) Iterate and find max element: 1 ms (s=6498257, size=1418655) -Total: 35918 ms +Total: 35638 ms absl::node_hash_map, FNV-1a: -Word count: 11482 ms (s=141176630, size=1418655) +Word count: 10953 ms (s=141176630, size=1418655) Memory: 52922088 bytes in 1418656 allocations -Contains: 4694 ms (s=97891799, size=1418655) +Contains: 4592 ms (s=97891799, size=1418655) -Count: 4127 ms (s=97891799, size=1418655) +Count: 4468 ms (s=97891799, size=1418655) -Iterate and find max element: 9 ms (s=6498257, size=1418655) +Iterate and find max element: 8 ms (s=6498257, size=1418655) -Total: 20314 ms +Total: 20023 ms absl::flat_hash_map, FNV-1a: -Word count: 13179 ms (s=141176630, size=1418655) +Word count: 10485 ms (s=141176630, size=1418655) Memory: 52428784 bytes in 1 allocations -Contains: 4683 ms (s=97891799, size=1418655) +Contains: 4294 ms (s=97891799, size=1418655) -Count: 4089 ms (s=97891799, size=1418655) +Count: 4269 ms (s=97891799, size=1418655) Iterate and find max element: 3 ms (s=6498257, size=1418655) -Total: 21957 ms +Total: 19052 ms --- - std::unordered_map: 21942 ms, 69916096 bytes in 1418656 allocations - boost::unordered_map: 24650 ms, 58766384 bytes in 1418657 allocations - boost::unordered_flat_map: 17676 ms, 49283064 bytes in 1 allocations - ankerl::unordered_dense::map: 23997 ms, 67108864 bytes in 2 allocations - absl::node_hash_map: 23572 ms, 52922088 bytes in 1418656 allocations - absl::flat_hash_map: 23233 ms, 52428784 bytes in 1 allocations - std::unordered_map, FNV-1a: 29519 ms, 69916096 bytes in 1418656 allocations - boost::unordered_map, FNV-1a: 27646 ms, 58766384 bytes in 1418657 allocations - boost::unordered_flat_map, FNV-1a: 18240 ms, 49283064 bytes in 1 allocations -ankerl::unordered_dense::map, FNV-1a: 35918 ms, 67108864 bytes in 2 allocations - absl::node_hash_map, FNV-1a: 20314 ms, 52922088 bytes in 1418656 allocations - absl::flat_hash_map, FNV-1a: 21957 ms, 52428784 bytes in 1 allocations + std::unordered_map: 30645 ms, 69916096 bytes in 1418656 allocations + boost::unordered_map: 33047 ms, 58766384 bytes in 1418657 allocations + boost::unordered_flat_map: 18695 ms, 49283064 bytes in 1 allocations + ankerl::unordered_dense::map: 21776 ms, 67108864 bytes in 2 allocations + absl::node_hash_map: 22171 ms, 52922088 bytes in 1418656 allocations + absl::flat_hash_map: 19501 ms, 52428784 bytes in 1 allocations + std::unordered_map, FNV-1a: 29475 ms, 69916096 bytes in 1418656 allocations + boost::unordered_map, FNV-1a: 27910 ms, 58766384 bytes in 1418657 allocations + boost::unordered_flat_map, FNV-1a: 18183 ms, 49283064 bytes in 1 allocations +ankerl::unordered_dense::map, FNV-1a: 35638 ms, 67108864 bytes in 2 allocations + absl::node_hash_map, FNV-1a: 20023 ms, 52922088 bytes in 1418656 allocations + absl::flat_hash_map, FNV-1a: 19052 ms, 52428784 bytes in 1 allocations