mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 14:22:09 +00:00
186 lines
4.4 KiB
Plaintext
186 lines
4.4 KiB
Plaintext
enwik9: 141176630 words, 78890 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 14086 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9046 ms (s=97891799, size=1418655)
|
|
|
|
Total: 23133 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 15661 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 10155 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25817 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 15044 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9798 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24843 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 15701 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9975 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25676 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 15394 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9813 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25207 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 15416 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9758 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25175 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 15842 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9828 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25670 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 28753 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 13358 ms (s=97891799, size=1418655)
|
|
|
|
Total: 42112 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 5907 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4817 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10724 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 4993 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3679 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8673 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 5967 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3712 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9679 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 5695 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5092 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10787 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 5455 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3096 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8551 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 5500 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3304 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8805 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 5694 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3470 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9165 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 5599 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3566 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9165 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 9788 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4382 ms (s=97891799, size=1418655)
|
|
|
|
Total: 14170 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 7312 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5724 ms (s=97891799, size=1418655)
|
|
|
|
Total: 13036 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 6373 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4081 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10454 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 7659 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4076 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11736 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 23133 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 25817 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 24843 ms
|
|
cfoa, single threaded: 25676 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 25207 ms
|
|
cfoa, std::shared_mutex, single threaded: 25175 ms
|
|
foa::concurrent_table, single threaded: 25670 ms
|
|
tbb::concurrent_hash_map, single threaded: 42112 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 10724 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 8673 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9679 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 10787 ms
|
|
cfoa: 8551 ms
|
|
cfoa, tbb::spin_rw_mutex: 8805 ms
|
|
cfoa, std::shared_mutex: 9165 ms
|
|
foa::concurrent_table: 9165 ms
|
|
tbb::concurrent_hash_map: 14170 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 13036 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 10454 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 11736 ms
|