mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-18 14:02:09 +00:00
updated benchmark results
This commit is contained in:
@@ -1,185 +1,185 @@
|
||||
enwik9: 141176630 words, 32277 ms
|
||||
enwik9: 141176630 words, 32387 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 3379 ms (s=141176630, size=1418655)
|
||||
Word count: 3484 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2299 ms (s=97891799, size=1418655)
|
||||
Contains: 2306 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5679 ms
|
||||
Total: 5790 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 5745 ms (s=141176630, size=1418655)
|
||||
Word count: 5760 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4397 ms (s=97891799, size=1418655)
|
||||
Contains: 4396 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 10142 ms
|
||||
Total: 10157 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 3545 ms (s=141176630, size=1418655)
|
||||
Word count: 3544 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2491 ms (s=97891799, size=1418655)
|
||||
Contains: 2498 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6037 ms
|
||||
Total: 6043 ms
|
||||
|
||||
cfoa, single threaded:
|
||||
|
||||
Word count: 4421 ms (s=141176630, size=1418655)
|
||||
Word count: 4391 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3112 ms (s=97891799, size=1418655)
|
||||
Contains: 3130 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7534 ms
|
||||
Total: 7522 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 4384 ms (s=141176630, size=1418655)
|
||||
Word count: 4371 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3171 ms (s=97891799, size=1418655)
|
||||
Contains: 3199 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7556 ms
|
||||
Total: 7570 ms
|
||||
|
||||
cfoa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 6410 ms (s=141176630, size=1418655)
|
||||
Word count: 6435 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5200 ms (s=97891799, size=1418655)
|
||||
Contains: 5198 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11611 ms
|
||||
Total: 11634 ms
|
||||
|
||||
foa::concurrent_table, single threaded:
|
||||
|
||||
Word count: 4213 ms (s=141176630, size=1418655)
|
||||
Word count: 4113 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3026 ms (s=97891799, size=1418655)
|
||||
Contains: 3029 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7240 ms
|
||||
Total: 7143 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 11795 ms (s=141176630, size=1418655)
|
||||
Word count: 11836 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5446 ms (s=97891799, size=1418655)
|
||||
Contains: 5509 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 17242 ms
|
||||
Total: 17346 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 3288 ms (s=141176630, size=1418655)
|
||||
Word count: 3265 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2142 ms (s=97891799, size=1418655)
|
||||
Contains: 2075 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5430 ms
|
||||
Total: 5341 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 7784 ms (s=141176630, size=1418655)
|
||||
Word count: 7746 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3466 ms (s=97891799, size=1418655)
|
||||
Contains: 3419 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11251 ms
|
||||
Total: 11166 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 2118 ms (s=141176630, size=1418655)
|
||||
Word count: 2126 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1290 ms (s=97891799, size=1418655)
|
||||
Contains: 1308 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3408 ms
|
||||
Total: 3434 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 2357 ms (s=141176630, size=1418655)
|
||||
Word count: 2308 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2119 ms (s=97891799, size=1418655)
|
||||
Contains: 2156 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4476 ms
|
||||
Total: 4465 ms
|
||||
|
||||
cfoa:
|
||||
|
||||
Word count: 2346 ms (s=141176630, size=1418655)
|
||||
Word count: 2359 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1396 ms (s=97891799, size=1418655)
|
||||
Contains: 1406 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3743 ms
|
||||
Total: 3766 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 2403 ms (s=141176630, size=1418655)
|
||||
Word count: 2374 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1427 ms (s=97891799, size=1418655)
|
||||
Contains: 1631 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3830 ms
|
||||
Total: 4006 ms
|
||||
|
||||
cfoa, std::shared_mutex:
|
||||
|
||||
Word count: 2760 ms (s=141176630, size=1418655)
|
||||
Word count: 2773 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2091 ms (s=97891799, size=1418655)
|
||||
Contains: 1935 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4852 ms
|
||||
Total: 4709 ms
|
||||
|
||||
foa::concurrent_table:
|
||||
|
||||
Word count: 2434 ms (s=141176630, size=1418655)
|
||||
Word count: 2498 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1457 ms (s=97891799, size=1418655)
|
||||
Contains: 1557 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3891 ms
|
||||
Total: 4055 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 3791 ms (s=141176630, size=1418655)
|
||||
Word count: 3933 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1520 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5312 ms
|
||||
Total: 5454 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 3463 ms (s=141176630, size=1418655)
|
||||
Word count: 3561 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2867 ms (s=97891799, size=1418655)
|
||||
Contains: 2833 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6331 ms
|
||||
Total: 6395 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 7581 ms (s=141176630, size=1418655)
|
||||
Word count: 7648 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3649 ms (s=97891799, size=1418655)
|
||||
Contains: 3794 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11230 ms
|
||||
Total: 11442 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 2235 ms (s=141176630, size=1418655)
|
||||
Word count: 2238 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1530 ms (s=97891799, size=1418655)
|
||||
Contains: 1511 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3766 ms
|
||||
Total: 3750 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 8
|
||||
boost::unordered_flat_map, single threaded: 5679 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10142 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6037 ms
|
||||
cfoa, single threaded: 7534 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7556 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11611 ms
|
||||
foa::concurrent_table, single threaded: 7240 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17242 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5430 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11251 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3408 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4476 ms
|
||||
cfoa: 3743 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3830 ms
|
||||
cfoa, std::shared_mutex: 4852 ms
|
||||
foa::concurrent_table: 3891 ms
|
||||
tbb::concurrent_hash_map: 5312 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6331 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11230 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3766 ms
|
||||
boost::unordered_flat_map, single threaded: 5790 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10157 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6043 ms
|
||||
cfoa, single threaded: 7522 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7570 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11634 ms
|
||||
foa::concurrent_table, single threaded: 7143 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17346 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5341 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11166 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3434 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4465 ms
|
||||
cfoa: 3766 ms
|
||||
cfoa, tbb::spin_rw_mutex: 4006 ms
|
||||
cfoa, std::shared_mutex: 4709 ms
|
||||
foa::concurrent_table: 4055 ms
|
||||
tbb::concurrent_hash_map: 5454 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6395 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11442 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3750 ms
|
||||
|
||||
Reference in New Issue
Block a user