From 6d44e23edd9618c1215b7646139dc983e0da8079 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Tue, 14 Mar 2023 04:11:24 -0400 Subject: [PATCH] updated benchmark results --- clang-x64/main.cpp.txt | 292 ++++++++++++++++++++--------------------- 1 file changed, 146 insertions(+), 146 deletions(-) diff --git a/clang-x64/main.cpp.txt b/clang-x64/main.cpp.txt index 9c493cbe..332cae69 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: 557112 -enwik9: 141176630 words, 59410 ms +cset: --> last message, executed args into cpuset "/user", new pid is: 630045 +enwik9: 141176630 words, 59388 ms boost::unordered_flat_map, single threaded: -Word count: 5227 ms (s=141176630, size=1418655) +Word count: 5216 ms (s=141176630, size=1418655) -Contains: 4025 ms (s=97891799, size=1418655) +Contains: 4016 ms (s=97891799, size=1418655) -Total: 9252 ms +Total: 9232 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 7433 ms (s=141176630, size=1418655) +Word count: 7404 ms (s=141176630, size=1418655) -Contains: 5452 ms (s=97891799, size=1418655) +Contains: 5434 ms (s=97891799, size=1418655) -Total: 12886 ms +Total: 12839 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 5814 ms (s=141176630, size=1418655) +Word count: 5830 ms (s=141176630, size=1418655) -Contains: 4435 ms (s=97891799, size=1418655) +Contains: 4434 ms (s=97891799, size=1418655) -Total: 10250 ms +Total: 10264 ms cfoa, single threaded: -Word count: 7422 ms (s=141176630, size=1418655) +Word count: 7308 ms (s=141176630, size=1418655) -Contains: 5500 ms (s=97891799, size=1418655) +Contains: 5346 ms (s=97891799, size=1418655) -Total: 12923 ms +Total: 12655 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 7435 ms (s=141176630, size=1418655) +Word count: 7303 ms (s=141176630, size=1418655) -Contains: 5526 ms (s=97891799, size=1418655) +Contains: 5385 ms (s=97891799, size=1418655) -Total: 12962 ms +Total: 12689 ms cfoa, std::shared_mutex, single threaded: -Word count: 8590 ms (s=141176630, size=1418655) +Word count: 8380 ms (s=141176630, size=1418655) -Contains: 6353 ms (s=97891799, size=1418655) - -Total: 14944 ms - -foa::concurrent_table, single threaded: - -Word count: 7299 ms (s=141176630, size=1418655) - -Contains: 5327 ms (s=97891799, size=1418655) - -Total: 12626 ms - -tbb::concurrent_hash_map, single threaded: - -Word count: 14859 ms (s=141176630, size=1418655) - -Contains: 8293 ms (s=97891799, size=1418655) - -Total: 23152 ms - -boost::unordered_flat_map, sharded_prehashed: - -Word count: 3852 ms (s=141176630, size=1418655) - -Contains: 2314 ms (s=97891799, size=1418655) - -Total: 6166 ms - -boost::unordered_flat_map, sharded_prehashed: - -Word count: 10203 ms (s=141176630, size=1418655) - -Contains: 2205 ms (s=97891799, size=1418655) - -Total: 12408 ms - -boost::unordered_flat_map, sharded_prehashed: - -Word count: 5525 ms (s=141176630, size=1418655) - -Contains: 1764 ms (s=97891799, size=1418655) - -Total: 7289 ms - -boost::unordered_flat_map, sharded isolated, prehashed: - -Word count: 3634 ms (s=141176630, size=1418655) - -Contains: 3420 ms (s=97891799, size=1418655) - -Total: 7054 ms - -cfoa: - -Word count: 3235 ms (s=141176630, size=1418655) - -Contains: 1522 ms (s=97891799, size=1418655) - -Total: 4758 ms - -cfoa, tbb::spin_rw_mutex: - -Word count: 3004 ms (s=141176630, size=1418655) - -Contains: 1602 ms (s=97891799, size=1418655) - -Total: 4607 ms - -cfoa, std::shared_mutex: - -Word count: 3224 ms (s=141176630, size=1418655) - -Contains: 1982 ms (s=97891799, size=1418655) - -Total: 5207 ms - -foa::concurrent_table: - -Word count: 3088 ms (s=141176630, size=1418655) - -Contains: 1701 ms (s=97891799, size=1418655) - -Total: 4789 ms - -tbb::concurrent_hash_map: - -Word count: 5652 ms (s=141176630, size=1418655) - -Contains: 1973 ms (s=97891799, size=1418655) - -Total: 7626 ms - -gtl::parallel_flat_hash_map: - -Word count: 5249 ms (s=141176630, size=1418655) - -Contains: 2768 ms (s=97891799, size=1418655) - -Total: 8017 ms - -gtl::parallel_flat_hash_map: - -Word count: 11576 ms (s=141176630, size=1418655) - -Contains: 2960 ms (s=97891799, size=1418655) +Contains: 6155 ms (s=97891799, size=1418655) Total: 14536 ms +foa::concurrent_table, single threaded: + +Word count: 7289 ms (s=141176630, size=1418655) + +Contains: 5353 ms (s=97891799, size=1418655) + +Total: 12642 ms + +tbb::concurrent_hash_map, single threaded: + +Word count: 14765 ms (s=141176630, size=1418655) + +Contains: 8547 ms (s=97891799, size=1418655) + +Total: 23312 ms + +boost::unordered_flat_map, sharded_prehashed: + +Word count: 3874 ms (s=141176630, size=1418655) + +Contains: 2391 ms (s=97891799, size=1418655) + +Total: 6266 ms + +boost::unordered_flat_map, sharded_prehashed: + +Word count: 14741 ms (s=141176630, size=1418655) + +Contains: 2195 ms (s=97891799, size=1418655) + +Total: 16936 ms + +boost::unordered_flat_map, sharded_prehashed: + +Word count: 4950 ms (s=141176630, size=1418655) + +Contains: 1783 ms (s=97891799, size=1418655) + +Total: 6734 ms + +boost::unordered_flat_map, sharded isolated, prehashed: + +Word count: 3558 ms (s=141176630, size=1418655) + +Contains: 3116 ms (s=97891799, size=1418655) + +Total: 6674 ms + +cfoa: + +Word count: 3114 ms (s=141176630, size=1418655) + +Contains: 1685 ms (s=97891799, size=1418655) + +Total: 4799 ms + +cfoa, tbb::spin_rw_mutex: + +Word count: 3153 ms (s=141176630, size=1418655) + +Contains: 1643 ms (s=97891799, size=1418655) + +Total: 4796 ms + +cfoa, std::shared_mutex: + +Word count: 3214 ms (s=141176630, size=1418655) + +Contains: 1978 ms (s=97891799, size=1418655) + +Total: 5192 ms + +foa::concurrent_table: + +Word count: 3461 ms (s=141176630, size=1418655) + +Contains: 1646 ms (s=97891799, size=1418655) + +Total: 5108 ms + +tbb::concurrent_hash_map: + +Word count: 5561 ms (s=141176630, size=1418655) + +Contains: 1989 ms (s=97891799, size=1418655) + +Total: 7551 ms + +gtl::parallel_flat_hash_map: + +Word count: 5347 ms (s=141176630, size=1418655) + +Contains: 2751 ms (s=97891799, size=1418655) + +Total: 8099 ms + +gtl::parallel_flat_hash_map: + +Word count: 17977 ms (s=141176630, size=1418655) + +Contains: 2949 ms (s=97891799, size=1418655) + +Total: 20927 ms + gtl::parallel_flat_hash_map: -Word count: 7883 ms (s=141176630, size=1418655) +Word count: 7907 ms (s=141176630, size=1418655) -Contains: 4751 ms (s=97891799, size=1418655) +Contains: 4362 ms (s=97891799, size=1418655) -Total: 12634 ms +Total: 12270 ms --- Number of threads: 16 - boost::unordered_flat_map, single threaded: 9252 ms - boost::unordered_flat_map, single threaded, shared_mutex: 12886 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 10250 ms - cfoa, single threaded: 12923 ms - cfoa, tbb::spin_rw_mutex, single threaded: 12962 ms - cfoa, std::shared_mutex, single threaded: 14944 ms - foa::concurrent_table, single threaded: 12626 ms - tbb::concurrent_hash_map, single threaded: 23152 ms - boost::unordered_flat_map, sharded_prehashed: 6166 ms -boost::unordered_flat_map, sharded_prehashed: 12408 ms - boost::unordered_flat_map, sharded_prehashed: 7289 ms - boost::unordered_flat_map, sharded isolated, prehashed: 7054 ms - cfoa: 4758 ms - cfoa, tbb::spin_rw_mutex: 4607 ms - cfoa, std::shared_mutex: 5207 ms - foa::concurrent_table: 4789 ms - tbb::concurrent_hash_map: 7626 ms - gtl::parallel_flat_hash_map: 8017 ms - gtl::parallel_flat_hash_map: 14536 ms - gtl::parallel_flat_hash_map: 12634 ms + boost::unordered_flat_map, single threaded: 9232 ms + boost::unordered_flat_map, single threaded, shared_mutex: 12839 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 10264 ms + cfoa, single threaded: 12655 ms + cfoa, tbb::spin_rw_mutex, single threaded: 12689 ms + cfoa, std::shared_mutex, single threaded: 14536 ms + foa::concurrent_table, single threaded: 12642 ms + tbb::concurrent_hash_map, single threaded: 23312 ms + boost::unordered_flat_map, sharded_prehashed: 6266 ms +boost::unordered_flat_map, sharded_prehashed: 16936 ms + boost::unordered_flat_map, sharded_prehashed: 6734 ms + boost::unordered_flat_map, sharded isolated, prehashed: 6674 ms + cfoa: 4799 ms + cfoa, tbb::spin_rw_mutex: 4796 ms + cfoa, std::shared_mutex: 5192 ms + foa::concurrent_table: 5108 ms + tbb::concurrent_hash_map: 7551 ms + gtl::parallel_flat_hash_map: 8099 ms + gtl::parallel_flat_hash_map: 20927 ms + gtl::parallel_flat_hash_map: 12270 ms