From e056421b54dad67ffedc254283823553540507ce Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 17 Mar 2023 14:41:26 -0400 Subject: [PATCH] updated benchmark results --- gcc-x64/main.cpp.txt | 164 +++++++++++++++++++++---------------------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/gcc-x64/main.cpp.txt b/gcc-x64/main.cpp.txt index 73406454..a547d352 100644 --- a/gcc-x64/main.cpp.txt +++ b/gcc-x64/main.cpp.txt @@ -1,186 +1,186 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 1329678 -enwik9: 141176630 words, 58610 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1354160 +enwik9: 141176630 words, 58150 ms boost::unordered_flat_map, single threaded: -Word count: 4481 ms (s=141176630, size=1418655) +Word count: 4508 ms (s=141176630, size=1418655) -Contains: 3240 ms (s=97891799, size=1418655) +Contains: 3264 ms (s=97891799, size=1418655) -Total: 7721 ms +Total: 7773 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 6815 ms (s=141176630, size=1418655) +Word count: 6875 ms (s=141176630, size=1418655) -Contains: 4790 ms (s=97891799, size=1418655) +Contains: 4841 ms (s=97891799, size=1418655) -Total: 11606 ms +Total: 11716 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5601 ms (s=141176630, size=1418655) +Word count: 5507 ms (s=141176630, size=1418655) -Contains: 3689 ms (s=97891799, size=1418655) +Contains: 3751 ms (s=97891799, size=1418655) -Total: 9291 ms +Total: 9259 ms cfoa, single threaded: -Word count: 7853 ms (s=141176630, size=1418655) +Word count: 7882 ms (s=141176630, size=1418655) -Contains: 4746 ms (s=97891799, size=1418655) +Contains: 4699 ms (s=97891799, size=1418655) -Total: 12600 ms +Total: 12581 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7607 ms (s=141176630, size=1418655) +Word count: 7645 ms (s=141176630, size=1418655) -Contains: 4744 ms (s=97891799, size=1418655) +Contains: 4750 ms (s=97891799, size=1418655) -Total: 12352 ms +Total: 12395 ms cfoa, std::shared_mutex, single threaded: -Word count: 8492 ms (s=141176630, size=1418655) +Word count: 8518 ms (s=141176630, size=1418655) -Contains: 5679 ms (s=97891799, size=1418655) +Contains: 5644 ms (s=97891799, size=1418655) -Total: 14171 ms +Total: 14163 ms foa::concurrent_table, single threaded: -Word count: 7412 ms (s=141176630, size=1418655) +Word count: 7424 ms (s=141176630, size=1418655) -Contains: 4785 ms (s=97891799, size=1418655) +Contains: 4784 ms (s=97891799, size=1418655) -Total: 12198 ms +Total: 12209 ms tbb::concurrent_hash_map, single threaded: -Word count: 13826 ms (s=141176630, size=1418655) +Word count: 13886 ms (s=141176630, size=1418655) -Contains: 8089 ms (s=97891799, size=1418655) +Contains: 8011 ms (s=97891799, size=1418655) -Total: 21916 ms +Total: 21898 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4123 ms (s=141176630, size=1418655) +Word count: 4102 ms (s=141176630, size=1418655) -Contains: 2355 ms (s=97891799, size=1418655) +Contains: 2358 ms (s=97891799, size=1418655) -Total: 6478 ms +Total: 6461 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 11565 ms (s=141176630, size=1418655) +Word count: 11262 ms (s=141176630, size=1418655) -Contains: 2046 ms (s=97891799, size=1418655) +Contains: 2112 ms (s=97891799, size=1418655) -Total: 13611 ms +Total: 13375 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5259 ms (s=141176630, size=1418655) +Word count: 5521 ms (s=141176630, size=1418655) -Contains: 1794 ms (s=97891799, size=1418655) +Contains: 1749 ms (s=97891799, size=1418655) -Total: 7054 ms +Total: 7270 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3112 ms (s=141176630, size=1418655) +Word count: 3276 ms (s=141176630, size=1418655) -Contains: 2902 ms (s=97891799, size=1418655) +Contains: 2701 ms (s=97891799, size=1418655) -Total: 6015 ms +Total: 5978 ms cfoa: -Word count: 3209 ms (s=141176630, size=1418655) +Word count: 3188 ms (s=141176630, size=1418655) -Contains: 1568 ms (s=97891799, size=1418655) +Contains: 1640 ms (s=97891799, size=1418655) -Total: 4778 ms +Total: 4829 ms cfoa, tbb::spin_rw_mutex: -Word count: 3085 ms (s=141176630, size=1418655) +Word count: 3134 ms (s=141176630, size=1418655) -Contains: 1585 ms (s=97891799, size=1418655) +Contains: 1610 ms (s=97891799, size=1418655) -Total: 4670 ms +Total: 4745 ms cfoa, std::shared_mutex: -Word count: 3126 ms (s=141176630, size=1418655) +Word count: 2919 ms (s=141176630, size=1418655) -Contains: 1822 ms (s=97891799, size=1418655) +Contains: 1827 ms (s=97891799, size=1418655) -Total: 4948 ms +Total: 4746 ms foa::concurrent_table: -Word count: 3342 ms (s=141176630, size=1418655) +Word count: 3203 ms (s=141176630, size=1418655) -Contains: 1620 ms (s=97891799, size=1418655) +Contains: 1603 ms (s=97891799, size=1418655) -Total: 4963 ms +Total: 4806 ms tbb::concurrent_hash_map: -Word count: 5562 ms (s=141176630, size=1418655) +Word count: 5447 ms (s=141176630, size=1418655) -Contains: 1974 ms (s=97891799, size=1418655) +Contains: 1956 ms (s=97891799, size=1418655) -Total: 7536 ms +Total: 7403 ms gtl::parallel_flat_hash_map: -Word count: 5118 ms (s=141176630, size=1418655) +Word count: 5099 ms (s=141176630, size=1418655) -Contains: 2758 ms (s=97891799, size=1418655) +Contains: 2766 ms (s=97891799, size=1418655) -Total: 7877 ms +Total: 7865 ms gtl::parallel_flat_hash_map: -Word count: 15281 ms (s=141176630, size=1418655) +Word count: 14420 ms (s=141176630, size=1418655) -Contains: 2165 ms (s=97891799, size=1418655) +Contains: 2194 ms (s=97891799, size=1418655) -Total: 17447 ms +Total: 16615 ms gtl::parallel_flat_hash_map: -Word count: 6575 ms (s=141176630, size=1418655) +Word count: 6129 ms (s=141176630, size=1418655) -Contains: 3045 ms (s=97891799, size=1418655) +Contains: 3351 ms (s=97891799, size=1418655) -Total: 9621 ms +Total: 9480 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 7721 ms - boost::unordered_flat_map, single threaded, shared_mutex: 11606 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 9291 ms - cfoa, single threaded: 12600 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12352 ms - cfoa, std::shared_mutex, single threaded: 14171 ms - foa::concurrent_table, single threaded: 12198 ms - tbb::concurrent_hash_map, single threaded: 21916 ms - boost::unordered_flat_map, sharded_prehashed: 6478 ms -boost::unordered_flat_map, sharded_prehashed: 13611 ms - boost::unordered_flat_map, sharded_prehashed: 7054 ms - boost::unordered_flat_map, sharded isolated, prehashed: 6015 ms - cfoa: 4778 ms - cfoa, tbb::spin_rw_mutex: 4670 ms - cfoa, std::shared_mutex: 4948 ms - foa::concurrent_table: 4963 ms - tbb::concurrent_hash_map: 7536 ms - gtl::parallel_flat_hash_map: 7877 ms - gtl::parallel_flat_hash_map: 17447 ms - gtl::parallel_flat_hash_map: 9621 ms + boost::unordered_flat_map, single threaded: 7773 ms + boost::unordered_flat_map, single threaded, shared_mutex: 11716 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9259 ms + cfoa, single threaded: 12581 ms + cfoa, tbb::spin_rw_mutex, single threaded: 12395 ms + cfoa, std::shared_mutex, single threaded: 14163 ms + foa::concurrent_table, single threaded: 12209 ms + tbb::concurrent_hash_map, single threaded: 21898 ms + boost::unordered_flat_map, sharded_prehashed: 6461 ms +boost::unordered_flat_map, sharded_prehashed: 13375 ms + boost::unordered_flat_map, sharded_prehashed: 7270 ms + boost::unordered_flat_map, sharded isolated, prehashed: 5978 ms + cfoa: 4829 ms + cfoa, tbb::spin_rw_mutex: 4745 ms + cfoa, std::shared_mutex: 4746 ms + foa::concurrent_table: 4806 ms + tbb::concurrent_hash_map: 7403 ms + gtl::parallel_flat_hash_map: 7865 ms + gtl::parallel_flat_hash_map: 16615 ms + gtl::parallel_flat_hash_map: 9480 ms