mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-20 02:32:12 +00:00
updated benchmark results
This commit is contained in:
@@ -1,185 +1,185 @@
|
||||
enwik9: 141176630 words, 32415 ms
|
||||
enwik9: 141176630 words, 32445 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 3453 ms (s=141176630, size=1418655)
|
||||
Word count: 3586 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2298 ms (s=97891799, size=1418655)
|
||||
Contains: 2302 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5752 ms
|
||||
Total: 5888 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 5696 ms (s=141176630, size=1418655)
|
||||
Word count: 5818 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4385 ms (s=97891799, size=1418655)
|
||||
Contains: 4417 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 10081 ms
|
||||
Total: 10235 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 3604 ms (s=141176630, size=1418655)
|
||||
Word count: 3585 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2507 ms (s=97891799, size=1418655)
|
||||
Contains: 2493 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6111 ms
|
||||
Total: 6079 ms
|
||||
|
||||
cfoa, single threaded:
|
||||
|
||||
Word count: 4412 ms (s=141176630, size=1418655)
|
||||
Word count: 4397 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3123 ms (s=97891799, size=1418655)
|
||||
Contains: 3127 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7536 ms
|
||||
Total: 7525 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 4373 ms (s=141176630, size=1418655)
|
||||
Word count: 4421 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3189 ms (s=97891799, size=1418655)
|
||||
Contains: 3199 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7562 ms
|
||||
Total: 7620 ms
|
||||
|
||||
cfoa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 6466 ms (s=141176630, size=1418655)
|
||||
Word count: 6427 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5191 ms (s=97891799, size=1418655)
|
||||
Contains: 5201 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11658 ms
|
||||
Total: 11628 ms
|
||||
|
||||
foa::concurrent_table, single threaded:
|
||||
|
||||
Word count: 4301 ms (s=141176630, size=1418655)
|
||||
Word count: 4270 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3128 ms (s=97891799, size=1418655)
|
||||
Contains: 3130 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7429 ms
|
||||
Total: 7401 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 11977 ms (s=141176630, size=1418655)
|
||||
Word count: 11964 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5533 ms (s=97891799, size=1418655)
|
||||
Contains: 5532 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 17511 ms
|
||||
Total: 17496 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 3187 ms (s=141176630, size=1418655)
|
||||
Word count: 3149 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2189 ms (s=97891799, size=1418655)
|
||||
Contains: 2131 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5377 ms
|
||||
Total: 5281 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 7886 ms (s=141176630, size=1418655)
|
||||
Word count: 7945 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3582 ms (s=97891799, size=1418655)
|
||||
Contains: 3557 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11468 ms
|
||||
Total: 11502 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 2123 ms (s=141176630, size=1418655)
|
||||
Word count: 2089 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1306 ms (s=97891799, size=1418655)
|
||||
Contains: 1300 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3429 ms
|
||||
Total: 3389 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 2360 ms (s=141176630, size=1418655)
|
||||
Word count: 2398 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2151 ms (s=97891799, size=1418655)
|
||||
Contains: 2197 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4511 ms
|
||||
Total: 4595 ms
|
||||
|
||||
cfoa:
|
||||
|
||||
Word count: 2278 ms (s=141176630, size=1418655)
|
||||
Word count: 2227 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1345 ms (s=97891799, size=1418655)
|
||||
Contains: 1377 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3624 ms
|
||||
Total: 3605 ms
|
||||
|
||||
cfoa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 2287 ms (s=141176630, size=1418655)
|
||||
Word count: 2326 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1406 ms (s=97891799, size=1418655)
|
||||
Contains: 1437 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3694 ms
|
||||
Total: 3764 ms
|
||||
|
||||
cfoa, std::shared_mutex:
|
||||
|
||||
Word count: 2808 ms (s=141176630, size=1418655)
|
||||
Word count: 2758 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1996 ms (s=97891799, size=1418655)
|
||||
Contains: 1971 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4805 ms
|
||||
Total: 4730 ms
|
||||
|
||||
foa::concurrent_table:
|
||||
|
||||
Word count: 2362 ms (s=141176630, size=1418655)
|
||||
Word count: 2241 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1423 ms (s=97891799, size=1418655)
|
||||
Contains: 1373 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3785 ms
|
||||
Total: 3615 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 4097 ms (s=141176630, size=1418655)
|
||||
Word count: 3765 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1559 ms (s=97891799, size=1418655)
|
||||
Contains: 1545 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5657 ms
|
||||
Total: 5311 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 3415 ms (s=141176630, size=1418655)
|
||||
Word count: 3502 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2907 ms (s=97891799, size=1418655)
|
||||
Contains: 2856 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6322 ms
|
||||
Total: 6358 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 7750 ms (s=141176630, size=1418655)
|
||||
Word count: 7721 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3768 ms (s=97891799, size=1418655)
|
||||
Contains: 3688 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 11518 ms
|
||||
Total: 11410 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 2231 ms (s=141176630, size=1418655)
|
||||
Word count: 2277 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1527 ms (s=97891799, size=1418655)
|
||||
Contains: 1487 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 3758 ms
|
||||
Total: 3764 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 8
|
||||
boost::unordered_flat_map, single threaded: 5752 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10081 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6111 ms
|
||||
cfoa, single threaded: 7536 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7562 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11658 ms
|
||||
foa::concurrent_table, single threaded: 7429 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17511 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5377 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11468 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3429 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4511 ms
|
||||
cfoa: 3624 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3694 ms
|
||||
cfoa, std::shared_mutex: 4805 ms
|
||||
foa::concurrent_table: 3785 ms
|
||||
tbb::concurrent_hash_map: 5657 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6322 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11518 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3758 ms
|
||||
boost::unordered_flat_map, single threaded: 5888 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 10235 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 6079 ms
|
||||
cfoa, single threaded: 7525 ms
|
||||
cfoa, tbb::spin_rw_mutex, single threaded: 7620 ms
|
||||
cfoa, std::shared_mutex, single threaded: 11628 ms
|
||||
foa::concurrent_table, single threaded: 7401 ms
|
||||
tbb::concurrent_hash_map, single threaded: 17496 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 5281 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11502 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3389 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 4595 ms
|
||||
cfoa: 3605 ms
|
||||
cfoa, tbb::spin_rw_mutex: 3764 ms
|
||||
cfoa, std::shared_mutex: 4730 ms
|
||||
foa::concurrent_table: 3615 ms
|
||||
tbb::concurrent_hash_map: 5311 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6358 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 11410 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 3764 ms
|
||||
|
||||
Reference in New Issue
Block a user