From a5caa92c07c248799f640a2c692aa1785aba65ad Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 27 Mar 2023 04:39:15 -0400 Subject: [PATCH] updated benchmark results --- clang-x64/main.cpp.txt | 160 ++++++++++++++++++++--------------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/clang-x64/main.cpp.txt b/clang-x64/main.cpp.txt index 60686f45..05a4760f 100644 --- a/clang-x64/main.cpp.txt +++ b/clang-x64/main.cpp.txt @@ -1,186 +1,186 @@ -cset: --> last message, executed args into cpuset "/user", new pid is: 2715542 -enwik9: 141176630 words, 59397 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 2871793 +enwik9: 141176630 words, 58794 ms boost::unordered_flat_map, single threaded: -Word count: 5158 ms (s=141176630, size=1418655) +Word count: 5210 ms (s=141176630, size=1418655) -Contains: 4047 ms (s=97891799, size=1418655) +Contains: 4041 ms (s=97891799, size=1418655) -Total: 9206 ms +Total: 9251 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7347 ms (s=141176630, size=1418655) +Word count: 7390 ms (s=141176630, size=1418655) -Contains: 5515 ms (s=97891799, size=1418655) +Contains: 5472 ms (s=97891799, size=1418655) Total: 12862 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5740 ms (s=141176630, size=1418655) +Word count: 5809 ms (s=141176630, size=1418655) -Contains: 4436 ms (s=97891799, size=1418655) +Contains: 4445 ms (s=97891799, size=1418655) -Total: 10177 ms +Total: 10255 ms cfoa, single threaded: -Word count: 7254 ms (s=141176630, size=1418655) +Word count: 6975 ms (s=141176630, size=1418655) -Contains: 5345 ms (s=97891799, size=1418655) +Contains: 5185 ms (s=97891799, size=1418655) -Total: 12599 ms +Total: 12161 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7266 ms (s=141176630, size=1418655) +Word count: 6995 ms (s=141176630, size=1418655) -Contains: 5369 ms (s=97891799, size=1418655) +Contains: 5126 ms (s=97891799, size=1418655) -Total: 12635 ms +Total: 12122 ms cfoa, std::shared_mutex, single threaded: -Word count: 8282 ms (s=141176630, size=1418655) +Word count: 8157 ms (s=141176630, size=1418655) -Contains: 6209 ms (s=97891799, size=1418655) +Contains: 6183 ms (s=97891799, size=1418655) -Total: 14492 ms +Total: 14341 ms foa::concurrent_table, single threaded: -Word count: 6905 ms (s=141176630, size=1418655) +Word count: 6940 ms (s=141176630, size=1418655) -Contains: 5264 ms (s=97891799, size=1418655) +Contains: 5299 ms (s=97891799, size=1418655) -Total: 12169 ms +Total: 12240 ms tbb::concurrent_hash_map, single threaded: -Word count: 14664 ms (s=141176630, size=1418655) +Word count: 14721 ms (s=141176630, size=1418655) -Contains: 8555 ms (s=97891799, size=1418655) +Contains: 8335 ms (s=97891799, size=1418655) -Total: 23219 ms +Total: 23057 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3827 ms (s=141176630, size=1418655) +Word count: 3863 ms (s=141176630, size=1418655) -Contains: 2404 ms (s=97891799, size=1418655) +Contains: 2310 ms (s=97891799, size=1418655) -Total: 6232 ms +Total: 6174 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 15476 ms (s=141176630, size=1418655) +Word count: 10967 ms (s=141176630, size=1418655) -Contains: 2238 ms (s=97891799, size=1418655) +Contains: 2230 ms (s=97891799, size=1418655) -Total: 17715 ms +Total: 13197 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5023 ms (s=141176630, size=1418655) +Word count: 5322 ms (s=141176630, size=1418655) -Contains: 1730 ms (s=97891799, size=1418655) +Contains: 1777 ms (s=97891799, size=1418655) -Total: 6753 ms +Total: 7099 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3520 ms (s=141176630, size=1418655) +Word count: 3350 ms (s=141176630, size=1418655) -Contains: 3253 ms (s=97891799, size=1418655) +Contains: 2886 ms (s=97891799, size=1418655) -Total: 6773 ms +Total: 6237 ms cfoa: -Word count: 3317 ms (s=141176630, size=1418655) +Word count: 4372 ms (s=141176630, size=1418655) -Contains: 1644 ms (s=97891799, size=1418655) +Contains: 2193 ms (s=97891799, size=1418655) -Total: 4962 ms +Total: 6566 ms cfoa, tbb::spin_rw_mutex: -Word count: 3282 ms (s=141176630, size=1418655) +Word count: 4002 ms (s=141176630, size=1418655) -Contains: 1684 ms (s=97891799, size=1418655) +Contains: 2404 ms (s=97891799, size=1418655) -Total: 4966 ms +Total: 6407 ms cfoa, std::shared_mutex: -Word count: 3245 ms (s=141176630, size=1418655) +Word count: 3762 ms (s=141176630, size=1418655) -Contains: 1949 ms (s=97891799, size=1418655) +Contains: 2267 ms (s=97891799, size=1418655) -Total: 5195 ms +Total: 6029 ms foa::concurrent_table: -Word count: 3769 ms (s=141176630, size=1418655) +Word count: 4147 ms (s=141176630, size=1418655) -Contains: 1496 ms (s=97891799, size=1418655) +Contains: 1519 ms (s=97891799, size=1418655) -Total: 5266 ms +Total: 5666 ms tbb::concurrent_hash_map: -Word count: 5656 ms (s=141176630, size=1418655) +Word count: 5503 ms (s=141176630, size=1418655) -Contains: 2012 ms (s=97891799, size=1418655) +Contains: 1978 ms (s=97891799, size=1418655) -Total: 7669 ms +Total: 7482 ms gtl::parallel_flat_hash_map: -Word count: 5347 ms (s=141176630, size=1418655) +Word count: 5286 ms (s=141176630, size=1418655) -Contains: 2779 ms (s=97891799, size=1418655) +Contains: 2766 ms (s=97891799, size=1418655) -Total: 8127 ms +Total: 8053 ms gtl::parallel_flat_hash_map: -Word count: 11837 ms (s=141176630, size=1418655) +Word count: 15737 ms (s=141176630, size=1418655) -Contains: 2983 ms (s=97891799, size=1418655) +Contains: 2996 ms (s=97891799, size=1418655) -Total: 14821 ms +Total: 18734 ms gtl::parallel_flat_hash_map: -Word count: 7718 ms (s=141176630, size=1418655) +Word count: 7735 ms (s=141176630, size=1418655) -Contains: 4242 ms (s=97891799, size=1418655) +Contains: 4076 ms (s=97891799, size=1418655) -Total: 11961 ms +Total: 11812 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 9206 ms + boost::unordered_flat_map, single threaded: 9251 ms boost::unordered_flat_map, single threaded, shared_mutex: 12862 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10177 ms - cfoa, single threaded: 12599 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12635 ms - cfoa, std::shared_mutex, single threaded: 14492 ms - foa::concurrent_table, single threaded: 12169 ms - tbb::concurrent_hash_map, single threaded: 23219 ms - boost::unordered_flat_map, sharded_prehashed: 6232 ms -boost::unordered_flat_map, sharded_prehashed: 17715 ms - boost::unordered_flat_map, sharded_prehashed: 6753 ms - boost::unordered_flat_map, sharded isolated, prehashed: 6773 ms - cfoa: 4962 ms - cfoa, tbb::spin_rw_mutex: 4966 ms - cfoa, std::shared_mutex: 5195 ms - foa::concurrent_table: 5266 ms - tbb::concurrent_hash_map: 7669 ms - gtl::parallel_flat_hash_map: 8127 ms - gtl::parallel_flat_hash_map: 14821 ms - gtl::parallel_flat_hash_map: 11961 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10255 ms + cfoa, single threaded: 12161 ms + cfoa, tbb::spin_rw_mutex, single threaded: 12122 ms + cfoa, std::shared_mutex, single threaded: 14341 ms + foa::concurrent_table, single threaded: 12240 ms + tbb::concurrent_hash_map, single threaded: 23057 ms + boost::unordered_flat_map, sharded_prehashed: 6174 ms +boost::unordered_flat_map, sharded_prehashed: 13197 ms + boost::unordered_flat_map, sharded_prehashed: 7099 ms + boost::unordered_flat_map, sharded isolated, prehashed: 6237 ms + cfoa: 6566 ms + cfoa, tbb::spin_rw_mutex: 6407 ms + cfoa, std::shared_mutex: 6029 ms + foa::concurrent_table: 5666 ms + tbb::concurrent_hash_map: 7482 ms + gtl::parallel_flat_hash_map: 8053 ms + gtl::parallel_flat_hash_map: 18734 ms + gtl::parallel_flat_hash_map: 11812 ms