From a1c262ca3904990f0fa27e6050b25344792556ae Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 24 Mar 2023 05:06:34 -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 5e5d091f..3ec09be9 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: 2394856 -enwik9: 141176630 words, 58985 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 2522014 +enwik9: 141176630 words, 58793 ms boost::unordered_flat_map, single threaded: -Word count: 4517 ms (s=141176630, size=1418655) +Word count: 4496 ms (s=141176630, size=1418655) -Contains: 3234 ms (s=97891799, size=1418655) +Contains: 3227 ms (s=97891799, size=1418655) -Total: 7751 ms +Total: 7724 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 6871 ms (s=141176630, size=1418655) +Word count: 6860 ms (s=141176630, size=1418655) -Contains: 4829 ms (s=97891799, size=1418655) +Contains: 4843 ms (s=97891799, size=1418655) -Total: 11701 ms +Total: 11703 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5538 ms (s=141176630, size=1418655) +Word count: 5519 ms (s=141176630, size=1418655) -Contains: 3753 ms (s=97891799, size=1418655) +Contains: 3766 ms (s=97891799, size=1418655) -Total: 9292 ms +Total: 9286 ms cfoa, single threaded: -Word count: 7930 ms (s=141176630, size=1418655) +Word count: 7929 ms (s=141176630, size=1418655) -Contains: 4732 ms (s=97891799, size=1418655) +Contains: 4798 ms (s=97891799, size=1418655) -Total: 12662 ms +Total: 12728 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7744 ms (s=141176630, size=1418655) +Word count: 7736 ms (s=141176630, size=1418655) -Contains: 4749 ms (s=97891799, size=1418655) +Contains: 4799 ms (s=97891799, size=1418655) -Total: 12493 ms +Total: 12536 ms cfoa, std::shared_mutex, single threaded: -Word count: 8754 ms (s=141176630, size=1418655) +Word count: 8736 ms (s=141176630, size=1418655) -Contains: 5707 ms (s=97891799, size=1418655) +Contains: 5700 ms (s=97891799, size=1418655) -Total: 14462 ms +Total: 14437 ms foa::concurrent_table, single threaded: -Word count: 7401 ms (s=141176630, size=1418655) +Word count: 7380 ms (s=141176630, size=1418655) -Contains: 4652 ms (s=97891799, size=1418655) +Contains: 4677 ms (s=97891799, size=1418655) -Total: 12053 ms +Total: 12058 ms tbb::concurrent_hash_map, single threaded: -Word count: 13868 ms (s=141176630, size=1418655) +Word count: 13896 ms (s=141176630, size=1418655) -Contains: 8007 ms (s=97891799, size=1418655) +Contains: 8002 ms (s=97891799, size=1418655) -Total: 21876 ms +Total: 21899 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4156 ms (s=141176630, size=1418655) +Word count: 4096 ms (s=141176630, size=1418655) -Contains: 2364 ms (s=97891799, size=1418655) +Contains: 2352 ms (s=97891799, size=1418655) -Total: 6520 ms +Total: 6448 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 13170 ms (s=141176630, size=1418655) +Word count: 14834 ms (s=141176630, size=1418655) -Contains: 2044 ms (s=97891799, size=1418655) +Contains: 2074 ms (s=97891799, size=1418655) -Total: 15215 ms +Total: 16908 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 4971 ms (s=141176630, size=1418655) +Word count: 5044 ms (s=141176630, size=1418655) -Contains: 1776 ms (s=97891799, size=1418655) +Contains: 1763 ms (s=97891799, size=1418655) -Total: 6748 ms +Total: 6807 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3036 ms (s=141176630, size=1418655) +Word count: 3071 ms (s=141176630, size=1418655) -Contains: 2816 ms (s=97891799, size=1418655) +Contains: 2799 ms (s=97891799, size=1418655) -Total: 5852 ms +Total: 5871 ms cfoa: -Word count: 3398 ms (s=141176630, size=1418655) +Word count: 3253 ms (s=141176630, size=1418655) -Contains: 1648 ms (s=97891799, size=1418655) +Contains: 1595 ms (s=97891799, size=1418655) -Total: 5046 ms +Total: 4848 ms cfoa, tbb::spin_rw_mutex: -Word count: 3081 ms (s=141176630, size=1418655) +Word count: 3061 ms (s=141176630, size=1418655) -Contains: 1593 ms (s=97891799, size=1418655) +Contains: 1588 ms (s=97891799, size=1418655) -Total: 4675 ms +Total: 4650 ms cfoa, std::shared_mutex: -Word count: 2965 ms (s=141176630, size=1418655) +Word count: 3036 ms (s=141176630, size=1418655) -Contains: 1769 ms (s=97891799, size=1418655) +Contains: 1801 ms (s=97891799, size=1418655) -Total: 4734 ms +Total: 4837 ms foa::concurrent_table: -Word count: 3302 ms (s=141176630, size=1418655) +Word count: 3192 ms (s=141176630, size=1418655) -Contains: 1480 ms (s=97891799, size=1418655) +Contains: 1416 ms (s=97891799, size=1418655) -Total: 4782 ms +Total: 4608 ms tbb::concurrent_hash_map: -Word count: 5685 ms (s=141176630, size=1418655) +Word count: 5552 ms (s=141176630, size=1418655) -Contains: 2004 ms (s=97891799, size=1418655) +Contains: 1953 ms (s=97891799, size=1418655) -Total: 7689 ms +Total: 7505 ms gtl::parallel_flat_hash_map: -Word count: 5186 ms (s=141176630, size=1418655) +Word count: 5103 ms (s=141176630, size=1418655) -Contains: 2712 ms (s=97891799, size=1418655) +Contains: 2754 ms (s=97891799, size=1418655) -Total: 7899 ms +Total: 7858 ms gtl::parallel_flat_hash_map: -Word count: 14775 ms (s=141176630, size=1418655) +Word count: 15172 ms (s=141176630, size=1418655) -Contains: 2225 ms (s=97891799, size=1418655) +Contains: 2157 ms (s=97891799, size=1418655) -Total: 17000 ms +Total: 17329 ms gtl::parallel_flat_hash_map: -Word count: 6673 ms (s=141176630, size=1418655) +Word count: 6372 ms (s=141176630, size=1418655) -Contains: 3113 ms (s=97891799, size=1418655) +Contains: 3345 ms (s=97891799, size=1418655) -Total: 9787 ms +Total: 9718 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 7751 ms - boost::unordered_flat_map, single threaded, shared_mutex: 11701 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 9292 ms - cfoa, single threaded: 12662 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12493 ms - cfoa, std::shared_mutex, single threaded: 14462 ms - foa::concurrent_table, single threaded: 12053 ms - tbb::concurrent_hash_map, single threaded: 21876 ms - boost::unordered_flat_map, sharded_prehashed: 6520 ms -boost::unordered_flat_map, sharded_prehashed: 15215 ms - boost::unordered_flat_map, sharded_prehashed: 6748 ms - boost::unordered_flat_map, sharded isolated, prehashed: 5852 ms - cfoa: 5046 ms - cfoa, tbb::spin_rw_mutex: 4675 ms - cfoa, std::shared_mutex: 4734 ms - foa::concurrent_table: 4782 ms - tbb::concurrent_hash_map: 7689 ms - gtl::parallel_flat_hash_map: 7899 ms - gtl::parallel_flat_hash_map: 17000 ms - gtl::parallel_flat_hash_map: 9787 ms + boost::unordered_flat_map, single threaded: 7724 ms + boost::unordered_flat_map, single threaded, shared_mutex: 11703 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 9286 ms + cfoa, single threaded: 12728 ms + cfoa, tbb::spin_rw_mutex, single threaded: 12536 ms + cfoa, std::shared_mutex, single threaded: 14437 ms + foa::concurrent_table, single threaded: 12058 ms + tbb::concurrent_hash_map, single threaded: 21899 ms + boost::unordered_flat_map, sharded_prehashed: 6448 ms +boost::unordered_flat_map, sharded_prehashed: 16908 ms + boost::unordered_flat_map, sharded_prehashed: 6807 ms + boost::unordered_flat_map, sharded isolated, prehashed: 5871 ms + cfoa: 4848 ms + cfoa, tbb::spin_rw_mutex: 4650 ms + cfoa, std::shared_mutex: 4837 ms + foa::concurrent_table: 4608 ms + tbb::concurrent_hash_map: 7505 ms + gtl::parallel_flat_hash_map: 7858 ms + gtl::parallel_flat_hash_map: 17329 ms + gtl::parallel_flat_hash_map: 9718 ms