From 20ac726096d7801b069d00bc05eee6ffa958fad8 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 18 Mar 2023 07:03:59 -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 53adf8bf..3898cac6 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: 1456447 -enwik9: 141176630 words, 58927 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 1494470 +enwik9: 141176630 words, 59188 ms boost::unordered_flat_map, single threaded: -Word count: 5173 ms (s=141176630, size=1418655) +Word count: 5220 ms (s=141176630, size=1418655) -Contains: 4062 ms (s=97891799, size=1418655) +Contains: 4066 ms (s=97891799, size=1418655) -Total: 9236 ms +Total: 9287 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7377 ms (s=141176630, size=1418655) +Word count: 7510 ms (s=141176630, size=1418655) -Contains: 5491 ms (s=97891799, size=1418655) +Contains: 5538 ms (s=97891799, size=1418655) -Total: 12869 ms +Total: 13048 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5777 ms (s=141176630, size=1418655) +Word count: 5859 ms (s=141176630, size=1418655) -Contains: 4466 ms (s=97891799, size=1418655) +Contains: 4488 ms (s=97891799, size=1418655) -Total: 10244 ms +Total: 10347 ms cfoa, single threaded: -Word count: 7297 ms (s=141176630, size=1418655) +Word count: 7336 ms (s=141176630, size=1418655) -Contains: 5365 ms (s=97891799, size=1418655) +Contains: 5343 ms (s=97891799, size=1418655) -Total: 12662 ms +Total: 12679 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7285 ms (s=141176630, size=1418655) +Word count: 7332 ms (s=141176630, size=1418655) -Contains: 5427 ms (s=97891799, size=1418655) +Contains: 5386 ms (s=97891799, size=1418655) -Total: 12713 ms +Total: 12718 ms cfoa, std::shared_mutex, single threaded: -Word count: 8292 ms (s=141176630, size=1418655) +Word count: 8377 ms (s=141176630, size=1418655) -Contains: 6211 ms (s=97891799, size=1418655) +Contains: 6234 ms (s=97891799, size=1418655) -Total: 14503 ms +Total: 14612 ms foa::concurrent_table, single threaded: -Word count: 7231 ms (s=141176630, size=1418655) +Word count: 7243 ms (s=141176630, size=1418655) -Contains: 5325 ms (s=97891799, size=1418655) +Contains: 5301 ms (s=97891799, size=1418655) -Total: 12556 ms +Total: 12545 ms tbb::concurrent_hash_map, single threaded: -Word count: 14622 ms (s=141176630, size=1418655) +Word count: 14915 ms (s=141176630, size=1418655) -Contains: 8315 ms (s=97891799, size=1418655) +Contains: 8560 ms (s=97891799, size=1418655) -Total: 22937 ms +Total: 23475 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3878 ms (s=141176630, size=1418655) +Word count: 3824 ms (s=141176630, size=1418655) -Contains: 2309 ms (s=97891799, size=1418655) +Contains: 2380 ms (s=97891799, size=1418655) -Total: 6187 ms +Total: 6205 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 10546 ms (s=141176630, size=1418655) +Word count: 13800 ms (s=141176630, size=1418655) -Contains: 2252 ms (s=97891799, size=1418655) +Contains: 2223 ms (s=97891799, size=1418655) -Total: 12798 ms +Total: 16024 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 5532 ms (s=141176630, size=1418655) +Word count: 5667 ms (s=141176630, size=1418655) -Contains: 1779 ms (s=97891799, size=1418655) +Contains: 1737 ms (s=97891799, size=1418655) -Total: 7312 ms +Total: 7404 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 3445 ms (s=141176630, size=1418655) +Word count: 3468 ms (s=141176630, size=1418655) -Contains: 3091 ms (s=97891799, size=1418655) +Contains: 3019 ms (s=97891799, size=1418655) -Total: 6536 ms +Total: 6487 ms cfoa: -Word count: 3221 ms (s=141176630, size=1418655) +Word count: 3680 ms (s=141176630, size=1418655) -Contains: 1663 ms (s=97891799, size=1418655) +Contains: 1646 ms (s=97891799, size=1418655) -Total: 4884 ms +Total: 5327 ms cfoa, tbb::spin_rw_mutex: -Word count: 3055 ms (s=141176630, size=1418655) +Word count: 3270 ms (s=141176630, size=1418655) -Contains: 1674 ms (s=97891799, size=1418655) +Contains: 1679 ms (s=97891799, size=1418655) -Total: 4729 ms +Total: 4950 ms cfoa, std::shared_mutex: -Word count: 3198 ms (s=141176630, size=1418655) +Word count: 3248 ms (s=141176630, size=1418655) -Contains: 1981 ms (s=97891799, size=1418655) +Contains: 1938 ms (s=97891799, size=1418655) -Total: 5179 ms +Total: 5187 ms foa::concurrent_table: -Word count: 3490 ms (s=141176630, size=1418655) +Word count: 3185 ms (s=141176630, size=1418655) -Contains: 1747 ms (s=97891799, size=1418655) +Contains: 1528 ms (s=97891799, size=1418655) -Total: 5238 ms +Total: 4713 ms tbb::concurrent_hash_map: -Word count: 5587 ms (s=141176630, size=1418655) +Word count: 5631 ms (s=141176630, size=1418655) -Contains: 2004 ms (s=97891799, size=1418655) +Contains: 1964 ms (s=97891799, size=1418655) -Total: 7592 ms +Total: 7595 ms gtl::parallel_flat_hash_map: -Word count: 5335 ms (s=141176630, size=1418655) +Word count: 5250 ms (s=141176630, size=1418655) -Contains: 2739 ms (s=97891799, size=1418655) +Contains: 2742 ms (s=97891799, size=1418655) -Total: 8075 ms +Total: 7993 ms gtl::parallel_flat_hash_map: -Word count: 19021 ms (s=141176630, size=1418655) +Word count: 16839 ms (s=141176630, size=1418655) -Contains: 2916 ms (s=97891799, size=1418655) +Contains: 2921 ms (s=97891799, size=1418655) -Total: 21938 ms +Total: 19760 ms gtl::parallel_flat_hash_map: -Word count: 7618 ms (s=141176630, size=1418655) +Word count: 7907 ms (s=141176630, size=1418655) -Contains: 4401 ms (s=97891799, size=1418655) +Contains: 3994 ms (s=97891799, size=1418655) -Total: 12019 ms +Total: 11901 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 9236 ms - boost::unordered_flat_map, single threaded, shared_mutex: 12869 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10244 ms - cfoa, single threaded: 12662 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12713 ms - cfoa, std::shared_mutex, single threaded: 14503 ms - foa::concurrent_table, single threaded: 12556 ms - tbb::concurrent_hash_map, single threaded: 22937 ms - boost::unordered_flat_map, sharded_prehashed: 6187 ms -boost::unordered_flat_map, sharded_prehashed: 12798 ms - boost::unordered_flat_map, sharded_prehashed: 7312 ms - boost::unordered_flat_map, sharded isolated, prehashed: 6536 ms - cfoa: 4884 ms - cfoa, tbb::spin_rw_mutex: 4729 ms - cfoa, std::shared_mutex: 5179 ms - foa::concurrent_table: 5238 ms - tbb::concurrent_hash_map: 7592 ms - gtl::parallel_flat_hash_map: 8075 ms - gtl::parallel_flat_hash_map: 21938 ms - gtl::parallel_flat_hash_map: 12019 ms + 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