mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
186 lines
4.4 KiB
Plaintext
186 lines
4.4 KiB
Plaintext
enwik9: 141176630 words, 79902 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 12095 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 8385 ms (s=97891799, size=1418655)
|
|
|
|
Total: 20480 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 14332 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9499 ms (s=97891799, size=1418655)
|
|
|
|
Total: 23832 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 13990 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9450 ms (s=97891799, size=1418655)
|
|
|
|
Total: 23441 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 14815 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9374 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24190 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 15248 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9766 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25015 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 15508 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9865 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25374 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 14998 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9896 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24895 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 29056 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 13414 ms (s=97891799, size=1418655)
|
|
|
|
Total: 42471 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 6390 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4628 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11019 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 4920 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3585 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8505 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 5790 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3752 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9543 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 5237 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5250 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10488 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 5446 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3534 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8981 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 5885 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3855 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9741 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 5401 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3317 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8719 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 5864 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3286 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9151 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 8981 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4557 ms (s=97891799, size=1418655)
|
|
|
|
Total: 13538 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 7639 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4732 ms (s=97891799, size=1418655)
|
|
|
|
Total: 12371 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 6481 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3853 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10335 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 7865 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3982 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11848 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 20480 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 23832 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 23441 ms
|
|
cfoa, single threaded: 24190 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 25015 ms
|
|
cfoa, std::shared_mutex, single threaded: 25374 ms
|
|
foa::concurrent_table, single threaded: 24895 ms
|
|
tbb::concurrent_hash_map, single threaded: 42471 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 11019 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 8505 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9543 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 10488 ms
|
|
cfoa: 8981 ms
|
|
cfoa, tbb::spin_rw_mutex: 9741 ms
|
|
cfoa, std::shared_mutex: 8719 ms
|
|
foa::concurrent_table: 9151 ms
|
|
tbb::concurrent_hash_map: 13538 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 12371 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 10335 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 11848 ms
|