From e002a44f27a0e3389dfdb921b235e3f9a09c09d9 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Tue, 14 Mar 2023 01:20:57 -0700 Subject: [PATCH] updated benchmark results --- clang-arm64/main.cpp.txt | 162 +++++++++++++++++++-------------------- 1 file changed, 81 insertions(+), 81 deletions(-) diff --git a/clang-arm64/main.cpp.txt b/clang-arm64/main.cpp.txt index 922700b1..b0300d5f 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 32344 ms +enwik9: 141176630 words, 32813 ms boost::unordered_flat_map, single threaded: -Word count: 3462 ms (s=141176630, size=1418655) +Word count: 3779 ms (s=141176630, size=1418655) -Contains: 2291 ms (s=97891799, size=1418655) +Contains: 2325 ms (s=97891799, size=1418655) -Total: 5753 ms +Total: 6104 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5794 ms (s=141176630, size=1418655) +Word count: 5848 ms (s=141176630, size=1418655) -Contains: 4407 ms (s=97891799, size=1418655) +Contains: 4430 ms (s=97891799, size=1418655) -Total: 10202 ms +Total: 10278 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3536 ms (s=141176630, size=1418655) +Word count: 3561 ms (s=141176630, size=1418655) -Contains: 2484 ms (s=97891799, size=1418655) +Contains: 2493 ms (s=97891799, size=1418655) -Total: 6021 ms +Total: 6054 ms cfoa, single threaded: -Word count: 4484 ms (s=141176630, size=1418655) +Word count: 4425 ms (s=141176630, size=1418655) -Contains: 3197 ms (s=97891799, size=1418655) +Contains: 3127 ms (s=97891799, size=1418655) -Total: 7682 ms +Total: 7552 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 4428 ms (s=141176630, size=1418655) +Word count: 4353 ms (s=141176630, size=1418655) -Contains: 3233 ms (s=97891799, size=1418655) +Contains: 3172 ms (s=97891799, size=1418655) -Total: 7662 ms +Total: 7525 ms cfoa, std::shared_mutex, single threaded: -Word count: 6508 ms (s=141176630, size=1418655) +Word count: 6489 ms (s=141176630, size=1418655) -Contains: 5248 ms (s=97891799, size=1418655) +Contains: 5258 ms (s=97891799, size=1418655) -Total: 11756 ms +Total: 11748 ms foa::concurrent_table, single threaded: -Word count: 4292 ms (s=141176630, size=1418655) +Word count: 4316 ms (s=141176630, size=1418655) -Contains: 3140 ms (s=97891799, size=1418655) +Contains: 3121 ms (s=97891799, size=1418655) -Total: 7433 ms +Total: 7438 ms tbb::concurrent_hash_map, single threaded: -Word count: 11879 ms (s=141176630, size=1418655) +Word count: 11891 ms (s=141176630, size=1418655) -Contains: 5468 ms (s=97891799, size=1418655) +Contains: 5494 ms (s=97891799, size=1418655) -Total: 17347 ms +Total: 17385 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3104 ms (s=141176630, size=1418655) +Word count: 3239 ms (s=141176630, size=1418655) -Contains: 2193 ms (s=97891799, size=1418655) +Contains: 2135 ms (s=97891799, size=1418655) -Total: 5298 ms +Total: 5374 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 7868 ms (s=141176630, size=1418655) +Word count: 7855 ms (s=141176630, size=1418655) -Contains: 3330 ms (s=97891799, size=1418655) +Contains: 3429 ms (s=97891799, size=1418655) -Total: 11199 ms +Total: 11284 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2117 ms (s=141176630, size=1418655) +Word count: 2138 ms (s=141176630, size=1418655) -Contains: 1309 ms (s=97891799, size=1418655) +Contains: 1315 ms (s=97891799, size=1418655) -Total: 3426 ms +Total: 3454 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2358 ms (s=141176630, size=1418655) +Word count: 2340 ms (s=141176630, size=1418655) -Contains: 2143 ms (s=97891799, size=1418655) +Contains: 2140 ms (s=97891799, size=1418655) -Total: 4501 ms +Total: 4480 ms cfoa: -Word count: 2577 ms (s=141176630, size=1418655) +Word count: 2311 ms (s=141176630, size=1418655) -Contains: 1500 ms (s=97891799, size=1418655) +Contains: 1424 ms (s=97891799, size=1418655) -Total: 4078 ms +Total: 3735 ms cfoa, tbb::spin_rw_mutex: -Word count: 2539 ms (s=141176630, size=1418655) +Word count: 2392 ms (s=141176630, size=1418655) -Contains: 1573 ms (s=97891799, size=1418655) +Contains: 1422 ms (s=97891799, size=1418655) -Total: 4113 ms +Total: 3815 ms cfoa, std::shared_mutex: -Word count: 2772 ms (s=141176630, size=1418655) +Word count: 2726 ms (s=141176630, size=1418655) -Contains: 1863 ms (s=97891799, size=1418655) +Contains: 1854 ms (s=97891799, size=1418655) -Total: 4636 ms +Total: 4581 ms foa::concurrent_table: -Word count: 2311 ms (s=141176630, size=1418655) +Word count: 2321 ms (s=141176630, size=1418655) -Contains: 1396 ms (s=97891799, size=1418655) +Contains: 1369 ms (s=97891799, size=1418655) -Total: 3708 ms +Total: 3691 ms tbb::concurrent_hash_map: -Word count: 4089 ms (s=141176630, size=1418655) +Word count: 3908 ms (s=141176630, size=1418655) -Contains: 1529 ms (s=97891799, size=1418655) +Contains: 1521 ms (s=97891799, size=1418655) -Total: 5619 ms +Total: 5429 ms gtl::parallel_flat_hash_map: -Word count: 3530 ms (s=141176630, size=1418655) +Word count: 3644 ms (s=141176630, size=1418655) -Contains: 2837 ms (s=97891799, size=1418655) +Contains: 2892 ms (s=97891799, size=1418655) -Total: 6368 ms +Total: 6537 ms gtl::parallel_flat_hash_map: -Word count: 7663 ms (s=141176630, size=1418655) +Word count: 7686 ms (s=141176630, size=1418655) -Contains: 3753 ms (s=97891799, size=1418655) +Contains: 3785 ms (s=97891799, size=1418655) -Total: 11417 ms +Total: 11471 ms gtl::parallel_flat_hash_map: -Word count: 2216 ms (s=141176630, size=1418655) +Word count: 2251 ms (s=141176630, size=1418655) -Contains: 1492 ms (s=97891799, size=1418655) +Contains: 1499 ms (s=97891799, size=1418655) -Total: 3708 ms +Total: 3751 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 5753 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10202 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 6021 ms - cfoa, single threaded: 7682 ms - cfoa, tbb::spin_rw_mutex, single threaded: 7662 ms - cfoa, std::shared_mutex, single threaded: 11756 ms - foa::concurrent_table, single threaded: 7433 ms - tbb::concurrent_hash_map, single threaded: 17347 ms - boost::unordered_flat_map, sharded_prehashed: 5298 ms -boost::unordered_flat_map, sharded_prehashed: 11199 ms - boost::unordered_flat_map, sharded_prehashed: 3426 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4501 ms - cfoa: 4078 ms - cfoa, tbb::spin_rw_mutex: 4113 ms - cfoa, std::shared_mutex: 4636 ms - foa::concurrent_table: 3708 ms - tbb::concurrent_hash_map: 5619 ms - gtl::parallel_flat_hash_map: 6368 ms - gtl::parallel_flat_hash_map: 11417 ms - gtl::parallel_flat_hash_map: 3708 ms + boost::unordered_flat_map, single threaded: 6104 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10278 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6054 ms + cfoa, single threaded: 7552 ms + cfoa, tbb::spin_rw_mutex, single threaded: 7525 ms + cfoa, std::shared_mutex, single threaded: 11748 ms + foa::concurrent_table, single threaded: 7438 ms + tbb::concurrent_hash_map, single threaded: 17385 ms + boost::unordered_flat_map, sharded_prehashed: 5374 ms +boost::unordered_flat_map, sharded_prehashed: 11284 ms + boost::unordered_flat_map, sharded_prehashed: 3454 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4480 ms + cfoa: 3735 ms + cfoa, tbb::spin_rw_mutex: 3815 ms + cfoa, std::shared_mutex: 4581 ms + foa::concurrent_table: 3691 ms + tbb::concurrent_hash_map: 5429 ms + gtl::parallel_flat_hash_map: 6537 ms + gtl::parallel_flat_hash_map: 11471 ms + gtl::parallel_flat_hash_map: 3751 ms