From 545ae9df99ef510d740ec7ee6cfb0c62cab3f252 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 16 Mar 2023 03:02:48 -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 47834f42..868cb8c5 100644 --- a/clang-arm64/main.cpp.txt +++ b/clang-arm64/main.cpp.txt @@ -1,185 +1,185 @@ -enwik9: 141176630 words, 32410 ms +enwik9: 141176630 words, 33065 ms boost::unordered_flat_map, single threaded: -Word count: 4051 ms (s=141176630, size=1418655) +Word count: 3961 ms (s=141176630, size=1418655) -Contains: 2319 ms (s=97891799, size=1418655) +Contains: 2316 ms (s=97891799, size=1418655) -Total: 6371 ms +Total: 6278 ms boost::unordered_flat_map, single threaded, shared_mutex: -Word count: 5754 ms (s=141176630, size=1418655) +Word count: 5773 ms (s=141176630, size=1418655) -Contains: 4396 ms (s=97891799, size=1418655) +Contains: 4388 ms (s=97891799, size=1418655) -Total: 10151 ms +Total: 10161 ms boost::unordered_flat_map, single threaded, rw_spinlock: -Word count: 3544 ms (s=141176630, size=1418655) +Word count: 3553 ms (s=141176630, size=1418655) -Contains: 2505 ms (s=97891799, size=1418655) +Contains: 2486 ms (s=97891799, size=1418655) -Total: 6049 ms +Total: 6040 ms cfoa, single threaded: -Word count: 4370 ms (s=141176630, size=1418655) +Word count: 4431 ms (s=141176630, size=1418655) -Contains: 3144 ms (s=97891799, size=1418655) +Contains: 3130 ms (s=97891799, size=1418655) -Total: 7514 ms +Total: 7562 ms cfoa, tbb::spin_rw_mutex, single threaded: -Word count: 4400 ms (s=141176630, size=1418655) +Word count: 4387 ms (s=141176630, size=1418655) -Contains: 3162 ms (s=97891799, size=1418655) +Contains: 3186 ms (s=97891799, size=1418655) -Total: 7563 ms +Total: 7574 ms cfoa, std::shared_mutex, single threaded: -Word count: 6438 ms (s=141176630, size=1418655) +Word count: 6429 ms (s=141176630, size=1418655) -Contains: 5175 ms (s=97891799, size=1418655) +Contains: 5214 ms (s=97891799, size=1418655) -Total: 11613 ms +Total: 11644 ms foa::concurrent_table, single threaded: -Word count: 4305 ms (s=141176630, size=1418655) +Word count: 4298 ms (s=141176630, size=1418655) -Contains: 3140 ms (s=97891799, size=1418655) +Contains: 3116 ms (s=97891799, size=1418655) -Total: 7445 ms +Total: 7414 ms tbb::concurrent_hash_map, single threaded: -Word count: 11878 ms (s=141176630, size=1418655) +Word count: 11850 ms (s=141176630, size=1418655) -Contains: 5486 ms (s=97891799, size=1418655) +Contains: 5490 ms (s=97891799, size=1418655) -Total: 17365 ms +Total: 17341 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 3106 ms (s=141176630, size=1418655) +Word count: 3169 ms (s=141176630, size=1418655) -Contains: 2214 ms (s=97891799, size=1418655) +Contains: 2152 ms (s=97891799, size=1418655) -Total: 5320 ms +Total: 5322 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 7861 ms (s=141176630, size=1418655) +Word count: 7877 ms (s=141176630, size=1418655) -Contains: 3371 ms (s=97891799, size=1418655) +Contains: 3577 ms (s=97891799, size=1418655) -Total: 11232 ms +Total: 11455 ms boost::unordered_flat_map, sharded_prehashed: -Word count: 2127 ms (s=141176630, size=1418655) +Word count: 2143 ms (s=141176630, size=1418655) -Contains: 1311 ms (s=97891799, size=1418655) +Contains: 1307 ms (s=97891799, size=1418655) -Total: 3439 ms +Total: 3450 ms boost::unordered_flat_map, sharded isolated, prehashed: -Word count: 2344 ms (s=141176630, size=1418655) +Word count: 2368 ms (s=141176630, size=1418655) -Contains: 2133 ms (s=97891799, size=1418655) +Contains: 2170 ms (s=97891799, size=1418655) -Total: 4478 ms +Total: 4538 ms cfoa: -Word count: 2311 ms (s=141176630, size=1418655) +Word count: 2254 ms (s=141176630, size=1418655) -Contains: 1466 ms (s=97891799, size=1418655) +Contains: 1387 ms (s=97891799, size=1418655) -Total: 3777 ms +Total: 3642 ms cfoa, tbb::spin_rw_mutex: -Word count: 2246 ms (s=141176630, size=1418655) +Word count: 2355 ms (s=141176630, size=1418655) -Contains: 1418 ms (s=97891799, size=1418655) +Contains: 1381 ms (s=97891799, size=1418655) -Total: 3665 ms +Total: 3736 ms cfoa, std::shared_mutex: -Word count: 2768 ms (s=141176630, size=1418655) +Word count: 2717 ms (s=141176630, size=1418655) -Contains: 1927 ms (s=97891799, size=1418655) +Contains: 1848 ms (s=97891799, size=1418655) -Total: 4695 ms +Total: 4565 ms foa::concurrent_table: -Word count: 2225 ms (s=141176630, size=1418655) +Word count: 2298 ms (s=141176630, size=1418655) -Contains: 1482 ms (s=97891799, size=1418655) +Contains: 1497 ms (s=97891799, size=1418655) -Total: 3707 ms +Total: 3796 ms tbb::concurrent_hash_map: -Word count: 3828 ms (s=141176630, size=1418655) +Word count: 3861 ms (s=141176630, size=1418655) -Contains: 1541 ms (s=97891799, size=1418655) +Contains: 1525 ms (s=97891799, size=1418655) -Total: 5369 ms +Total: 5387 ms gtl::parallel_flat_hash_map: -Word count: 3504 ms (s=141176630, size=1418655) +Word count: 3475 ms (s=141176630, size=1418655) -Contains: 2767 ms (s=97891799, size=1418655) +Contains: 2818 ms (s=97891799, size=1418655) -Total: 6271 ms +Total: 6294 ms gtl::parallel_flat_hash_map: -Word count: 7726 ms (s=141176630, size=1418655) +Word count: 7693 ms (s=141176630, size=1418655) -Contains: 3645 ms (s=97891799, size=1418655) +Contains: 3685 ms (s=97891799, size=1418655) -Total: 11372 ms +Total: 11378 ms gtl::parallel_flat_hash_map: -Word count: 2247 ms (s=141176630, size=1418655) +Word count: 2251 ms (s=141176630, size=1418655) -Contains: 1503 ms (s=97891799, size=1418655) +Contains: 1499 ms (s=97891799, size=1418655) -Total: 3750 ms +Total: 3751 ms --- Number of threads: 8 - boost::unordered_flat_map, single threaded: 6371 ms - boost::unordered_flat_map, single threaded, shared_mutex: 10151 ms - boost::unordered_flat_map, single threaded, rw_spinlock: 6049 ms - cfoa, single threaded: 7514 ms - cfoa, tbb::spin_rw_mutex, single threaded: 7563 ms - cfoa, std::shared_mutex, single threaded: 11613 ms - foa::concurrent_table, single threaded: 7445 ms - tbb::concurrent_hash_map, single threaded: 17365 ms - boost::unordered_flat_map, sharded_prehashed: 5320 ms -boost::unordered_flat_map, sharded_prehashed: 11232 ms - boost::unordered_flat_map, sharded_prehashed: 3439 ms - boost::unordered_flat_map, sharded isolated, prehashed: 4478 ms - cfoa: 3777 ms - cfoa, tbb::spin_rw_mutex: 3665 ms - cfoa, std::shared_mutex: 4695 ms - foa::concurrent_table: 3707 ms - tbb::concurrent_hash_map: 5369 ms - gtl::parallel_flat_hash_map: 6271 ms - gtl::parallel_flat_hash_map: 11372 ms - gtl::parallel_flat_hash_map: 3750 ms + boost::unordered_flat_map, single threaded: 6278 ms + boost::unordered_flat_map, single threaded, shared_mutex: 10161 ms + boost::unordered_flat_map, single threaded, rw_spinlock: 6040 ms + cfoa, single threaded: 7562 ms + cfoa, tbb::spin_rw_mutex, single threaded: 7574 ms + cfoa, std::shared_mutex, single threaded: 11644 ms + foa::concurrent_table, single threaded: 7414 ms + tbb::concurrent_hash_map, single threaded: 17341 ms + boost::unordered_flat_map, sharded_prehashed: 5322 ms +boost::unordered_flat_map, sharded_prehashed: 11455 ms + boost::unordered_flat_map, sharded_prehashed: 3450 ms + boost::unordered_flat_map, sharded isolated, prehashed: 4538 ms + cfoa: 3642 ms + cfoa, tbb::spin_rw_mutex: 3736 ms + cfoa, std::shared_mutex: 4565 ms + foa::concurrent_table: 3796 ms + tbb::concurrent_hash_map: 5387 ms + gtl::parallel_flat_hash_map: 6294 ms + gtl::parallel_flat_hash_map: 11378 ms + gtl::parallel_flat_hash_map: 3751 ms