mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-20 02:32:12 +00:00
186 lines
4.4 KiB
Plaintext
186 lines
4.4 KiB
Plaintext
enwik9: 141176630 words, 78808 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 12364 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 8480 ms (s=97891799, size=1418655)
|
|
|
|
Total: 20845 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 14994 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9724 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24719 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 13954 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9558 ms (s=97891799, size=1418655)
|
|
|
|
Total: 23512 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 15110 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9604 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24714 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 15360 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9645 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25005 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 15429 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9600 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25030 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 15217 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9681 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24899 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 28987 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 13651 ms (s=97891799, size=1418655)
|
|
|
|
Total: 42639 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 6197 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4806 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11003 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 5172 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3809 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8981 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 5839 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3835 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9674 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 5127 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5292 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10419 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 5268 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3435 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8703 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 5624 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3091 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8715 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 5768 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3356 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9125 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 5115 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3320 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8435 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 9827 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4676 ms (s=97891799, size=1418655)
|
|
|
|
Total: 14504 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 6761 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5067 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11828 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 6118 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3906 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10025 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 7740 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4226 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11966 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 20845 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 24719 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 23512 ms
|
|
cfoa, single threaded: 24714 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 25005 ms
|
|
cfoa, std::shared_mutex, single threaded: 25030 ms
|
|
foa::concurrent_table, single threaded: 24899 ms
|
|
tbb::concurrent_hash_map, single threaded: 42639 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 11003 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 8981 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9674 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 10419 ms
|
|
cfoa: 8703 ms
|
|
cfoa, tbb::spin_rw_mutex: 8715 ms
|
|
cfoa, std::shared_mutex: 9125 ms
|
|
foa::concurrent_table: 8435 ms
|
|
tbb::concurrent_hash_map: 14504 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 11828 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 10025 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 11966 ms
|