mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
updated benchmark results
This commit is contained in:
@@ -1,185 +1,185 @@
|
||||
enwik9: 141176630 words, 32205 ms
|
||||
enwik9: 141176630 words, 32193 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 3421 ms (s=141176630, size=1418655)
|
||||
Word count: 3433 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2301 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5722 ms
|
||||
Total: 5735 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 5746 ms (s=141176630, size=1418655)
|
||||
Word count: 5754 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4388 ms (s=97891799, size=1418655)
|
||||
Contains: 4391 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 10134 ms
|
||||
Total: 10146 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 3577 ms (s=141176630, size=1418655)
|
||||
Word count: 3536 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2495 ms (s=97891799, size=1418655)
|
||||
Contains: 2488 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6073 ms
|
||||
Total: 6024 ms
|
||||
|
||||
cfoa, single threaded:
|
||||
|
||||
Word count: 4393 ms (s=141176630, size=1418655)
|
||||
Word count: 4387 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3135 ms (s=97891799, size=1418655)
|
||||
Contains: 3116 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7529 ms
|
||||
Total: 7503 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 4400 ms (s=141176630, size=1418655)
|
||||
Word count: 4402 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3158 ms (s=97891799, size=1418655)
|
||||
Contains: 3182 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7559 ms
|
||||
Total: 7585 ms
|
||||
|
||||
cfoa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 6459 ms (s=141176630, size=1418655)
|
||||
Word count: 6446 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5179 ms (s=97891799, size=1418655)
|
||||
Contains: 5183 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11638 ms
|
||||
Total: 11629 ms
|
||||
|
||||
foa::concurrent_table, single threaded:
|
||||
|
||||
Word count: 4222 ms (s=141176630, size=1418655)
|
||||
Word count: 4259 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3020 ms (s=97891799, size=1418655)
|
||||
Contains: 3015 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7243 ms
|
||||
Total: 7274 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 11752 ms (s=141176630, size=1418655)
|
||||
Word count: 11759 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5515 ms (s=97891799, size=1418655)
|
||||
Contains: 5525 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 17267 ms
|
||||
Total: 17285 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 3361 ms (s=141176630, size=1418655)
|
||||
Word count: 3141 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2112 ms (s=97891799, size=1418655)
|
||||
Contains: 2209 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5473 ms
|
||||
Total: 5350 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 7755 ms (s=141176630, size=1418655)
|
||||
Word count: 7815 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3342 ms (s=97891799, size=1418655)
|
||||
Contains: 3909 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11098 ms
|
||||
Total: 11725 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 2101 ms (s=141176630, size=1418655)
|
||||
Word count: 2133 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1295 ms (s=97891799, size=1418655)
|
||||
Contains: 1308 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3397 ms
|
||||
Total: 3441 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 2309 ms (s=141176630, size=1418655)
|
||||
Word count: 2305 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2114 ms (s=97891799, size=1418655)
|
||||
Contains: 2127 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4423 ms
|
||||
Total: 4433 ms
|
||||
|
||||
cfoa:
|
||||
|
||||
Word count: 2350 ms (s=141176630, size=1418655)
|
||||
Word count: 2328 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1487 ms (s=97891799, size=1418655)
|
||||
Contains: 1458 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3837 ms
|
||||
Total: 3787 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 2492 ms (s=141176630, size=1418655)
|
||||
Word count: 2347 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1386 ms (s=97891799, size=1418655)
|
||||
Contains: 1631 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3878 ms
|
||||
Total: 3978 ms
|
||||
|
||||
cfoa, std::shared_mutex:
|
||||
|
||||
Word count: 2799 ms (s=141176630, size=1418655)
|
||||
Word count: 2729 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1837 ms (s=97891799, size=1418655)
|
||||
Contains: 1839 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4637 ms
|
||||
Total: 4568 ms
|
||||
|
||||
foa::concurrent_table:
|
||||
|
||||
Word count: 2349 ms (s=141176630, size=1418655)
|
||||
Word count: 2453 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1536 ms (s=97891799, size=1418655)
|
||||
Contains: 1583 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3885 ms
|
||||
Total: 4036 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 3929 ms (s=141176630, size=1418655)
|
||||
Word count: 3788 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1521 ms (s=97891799, size=1418655)
|
||||
Contains: 1538 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5451 ms
|
||||
Total: 5327 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 3592 ms (s=141176630, size=1418655)
|
||||
Word count: 3504 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2882 ms (s=97891799, size=1418655)
|
||||
Contains: 2955 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6475 ms
|
||||
Total: 6460 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 7613 ms (s=141176630, size=1418655)
|
||||
Word count: 7682 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3764 ms (s=97891799, size=1418655)
|
||||
Contains: 3892 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11377 ms
|
||||
Total: 11575 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 2184 ms (s=141176630, size=1418655)
|
||||
Word count: 2224 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1501 ms (s=97891799, size=1418655)
|
||||
Contains: 1512 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3685 ms
|
||||
Total: 3736 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 8
|
||||
boost::unordered_flat_map, single threaded: 5722 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10134 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6073 ms
|
||||
cfoa, single threaded: 7529 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7559 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11638 ms
|
||||
foa::concurrent_table, single threaded: 7243 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17267 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5473 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11098 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3397 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4423 ms
|
||||
cfoa: 3837 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3878 ms
|
||||
cfoa, std::shared_mutex: 4637 ms
|
||||
foa::concurrent_table: 3885 ms
|
||||
tbb::concurrent_hash_map: 5451 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6475 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11377 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3685 ms
|
||||
boost::unordered_flat_map, single threaded: 5735 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10146 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6024 ms
|
||||
cfoa, single threaded: 7503 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7585 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11629 ms
|
||||
foa::concurrent_table, single threaded: 7274 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17285 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5350 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11725 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3441 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4433 ms
|
||||
cfoa: 3787 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3978 ms
|
||||
cfoa, std::shared_mutex: 4568 ms
|
||||
foa::concurrent_table: 4036 ms
|
||||
tbb::concurrent_hash_map: 5327 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6460 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11575 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3736 ms
|
||||
|
||||
Reference in New Issue
Block a user