From cc2f246d3643dbf5c5e71b47281a0b894e3d251e Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 18 Mar 2023 07:31:14 -0400 Subject: [PATCH] updated benchmark results --- clang-x64/main.cpp.txt | 164 ++++++++++++++++++++--------------------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/clang-x64/main.cpp.txt b/clang-x64/main.cpp.txt index 3898cac6..c48a95d1 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: 1494470 -enwik9: 141176630 words, 59188 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1525642 +enwik9: 141176630 words, 59155 ms boost::unordered_flat_map, single threaded: -Word count: 5220 ms (s=141176630, size=1418655) +Word count: 5212 ms (s=141176630, size=1418655) -Contains: 4066 ms (s=97891799, size=1418655) +Contains: 4063 ms (s=97891799, size=1418655) -Total: 9287 ms +Total: 9276 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7510 ms (s=141176630, size=1418655) +Word count: 7482 ms (s=141176630, size=1418655) -Contains: 5538 ms (s=97891799, size=1418655) +Contains: 5531 ms (s=97891799, size=1418655) -Total: 13048 ms +Total: 13013 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5859 ms (s=141176630, size=1418655) +Word count: 5832 ms (s=141176630, size=1418655) -Contains: 4488 ms (s=97891799, size=1418655) +Contains: 4487 ms (s=97891799, size=1418655) -Total: 10347 ms +Total: 10320 ms cfoa, single threaded: -Word count: 7336 ms (s=141176630, size=1418655) +Word count: 7318 ms (s=141176630, size=1418655) -Contains: 5343 ms (s=97891799, size=1418655) +Contains: 5255 ms (s=97891799, size=1418655) -Total: 12679 ms +Total: 12574 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7332 ms (s=141176630, size=1418655) +Word count: 7350 ms (s=141176630, size=1418655) -Contains: 5386 ms (s=97891799, size=1418655) +Contains: 5428 ms (s=97891799, size=1418655) -Total: 12718 ms +Total: 12779 ms cfoa, std::shared_mutex, single threaded: -Word count: 8377 ms (s=141176630, size=1418655) +Word count: 8370 ms (s=141176630, size=1418655) -Contains: 6234 ms (s=97891799, size=1418655) +Contains: 6298 ms (s=97891799, size=1418655) -Total: 14612 ms +Total: 14668 ms foa::concurrent_table, single threaded: -Word count: 7243 ms (s=141176630, size=1418655) +Word count: 7229 ms (s=141176630, size=1418655) -Contains: 5301 ms (s=97891799, size=1418655) +Contains: 5275 ms (s=97891799, size=1418655) -Total: 12545 ms +Total: 12504 ms tbb::concurrent_hash_map, single threaded: -Word count: 14915 ms (s=141176630, size=1418655) +Word count: 14822 ms (s=141176630, size=1418655) -Contains: 8560 ms (s=97891799, size=1418655) +Contains: 8500 ms (s=97891799, size=1418655) -Total: 23475 ms +Total: 23323 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3824 ms (s=141176630, size=1418655) +Word count: 3820 ms (s=141176630, size=1418655) -Contains: 2380 ms (s=97891799, size=1418655) +Contains: 2344 ms (s=97891799, size=1418655) -Total: 6205 ms +Total: 6165 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 13800 ms (s=141176630, size=1418655) +Word count: 14666 ms (s=141176630, size=1418655) -Contains: 2223 ms (s=97891799, size=1418655) +Contains: 2200 ms (s=97891799, size=1418655) -Total: 16024 ms +Total: 16866 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5667 ms (s=141176630, size=1418655) +Word count: 5763 ms (s=141176630, size=1418655) -Contains: 1737 ms (s=97891799, size=1418655) +Contains: 1758 ms (s=97891799, size=1418655) -Total: 7404 ms +Total: 7521 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3468 ms (s=141176630, size=1418655) +Word count: 3291 ms (s=141176630, size=1418655) -Contains: 3019 ms (s=97891799, size=1418655) +Contains: 3199 ms (s=97891799, size=1418655) -Total: 6487 ms +Total: 6490 ms cfoa: -Word count: 3680 ms (s=141176630, size=1418655) +Word count: 3855 ms (s=141176630, size=1418655) -Contains: 1646 ms (s=97891799, size=1418655) +Contains: 1667 ms (s=97891799, size=1418655) -Total: 5327 ms +Total: 5522 ms cfoa, tbb::spin_rw_mutex: -Word count: 3270 ms (s=141176630, size=1418655) +Word count: 3089 ms (s=141176630, size=1418655) -Contains: 1679 ms (s=97891799, size=1418655) +Contains: 1709 ms (s=97891799, size=1418655) -Total: 4950 ms +Total: 4798 ms cfoa, std::shared_mutex: -Word count: 3248 ms (s=141176630, size=1418655) +Word count: 3165 ms (s=141176630, size=1418655) -Contains: 1938 ms (s=97891799, size=1418655) +Contains: 1878 ms (s=97891799, size=1418655) -Total: 5187 ms +Total: 5043 ms foa::concurrent_table: -Word count: 3185 ms (s=141176630, size=1418655) +Word count: 3148 ms (s=141176630, size=1418655) -Contains: 1528 ms (s=97891799, size=1418655) +Contains: 1502 ms (s=97891799, size=1418655) -Total: 4713 ms +Total: 4650 ms tbb::concurrent_hash_map: -Word count: 5631 ms (s=141176630, size=1418655) +Word count: 5506 ms (s=141176630, size=1418655) -Contains: 1964 ms (s=97891799, size=1418655) +Contains: 1955 ms (s=97891799, size=1418655) -Total: 7595 ms +Total: 7462 ms gtl::parallel_flat_hash_map: -Word count: 5250 ms (s=141176630, size=1418655) +Word count: 5271 ms (s=141176630, size=1418655) -Contains: 2742 ms (s=97891799, size=1418655) +Contains: 2761 ms (s=97891799, size=1418655) -Total: 7993 ms +Total: 8032 ms gtl::parallel_flat_hash_map: -Word count: 16839 ms (s=141176630, size=1418655) +Word count: 12660 ms (s=141176630, size=1418655) -Contains: 2921 ms (s=97891799, size=1418655) +Contains: 2917 ms (s=97891799, size=1418655) -Total: 19760 ms +Total: 15577 ms gtl::parallel_flat_hash_map: -Word count: 7907 ms (s=141176630, size=1418655) +Word count: 7652 ms (s=141176630, size=1418655) -Contains: 3994 ms (s=97891799, size=1418655) +Contains: 4532 ms (s=97891799, size=1418655) -Total: 11901 ms +Total: 12184 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 9287 ms - boost::unordered_flat_map, single threaded, shared_mutex: 13048 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10347 ms - cfoa, single threaded: 12679 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12718 ms - cfoa, std::shared_mutex, single threaded: 14612 ms - foa::concurrent_table, single threaded: 12545 ms - tbb::concurrent_hash_map, single threaded: 23475 ms - boost::unordered_flat_map, sharded_prehashed: 6205 ms -boost::unordered_flat_map, sharded_prehashed: 16024 ms - boost::unordered_flat_map, sharded_prehashed: 7404 ms - boost::unordered_flat_map, sharded isolated, prehashed: 6487 ms - cfoa: 5327 ms - cfoa, tbb::spin_rw_mutex: 4950 ms - cfoa, std::shared_mutex: 5187 ms - foa::concurrent_table: 4713 ms - tbb::concurrent_hash_map: 7595 ms - gtl::parallel_flat_hash_map: 7993 ms - gtl::parallel_flat_hash_map: 19760 ms - gtl::parallel_flat_hash_map: 11901 ms + boost::unordered_flat_map, single threaded: 9276 ms + boost::unordered_flat_map, single threaded, shared_mutex: 13013 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10320 ms + cfoa, single threaded: 12574 ms + cfoa, tbb::spin_rw_mutex, single threaded: 12779 ms + cfoa, std::shared_mutex, single threaded: 14668 ms + foa::concurrent_table, single threaded: 12504 ms + tbb::concurrent_hash_map, single threaded: 23323 ms + boost::unordered_flat_map, sharded_prehashed: 6165 ms +boost::unordered_flat_map, sharded_prehashed: 16866 ms + boost::unordered_flat_map, sharded_prehashed: 7521 ms + boost::unordered_flat_map, sharded isolated, prehashed: 6490 ms + cfoa: 5522 ms + cfoa, tbb::spin_rw_mutex: 4798 ms + cfoa, std::shared_mutex: 5043 ms + foa::concurrent_table: 4650 ms + tbb::concurrent_hash_map: 7462 ms + gtl::parallel_flat_hash_map: 8032 ms + gtl::parallel_flat_hash_map: 15577 ms + gtl::parallel_flat_hash_map: 12184 ms