mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-21 15:02:18 +00:00
186 lines
4.4 KiB
Plaintext
186 lines
4.4 KiB
Plaintext
enwik9: 141176630 words, 80076 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 12971 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 8652 ms (s=97891799, size=1418655)
|
|
|
|
Total: 21623 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 14850 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9505 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24355 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 13884 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9724 ms (s=97891799, size=1418655)
|
|
|
|
Total: 23609 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 15386 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9310 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24697 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 15120 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9862 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24982 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 15727 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9687 ms (s=97891799, size=1418655)
|
|
|
|
Total: 25414 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 15129 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 9288 ms (s=97891799, size=1418655)
|
|
|
|
Total: 24418 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 29368 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 13689 ms (s=97891799, size=1418655)
|
|
|
|
Total: 43057 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 6169 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4992 ms (s=97891799, size=1418655)
|
|
|
|
Total: 11161 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 4724 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3896 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8620 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 5986 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3599 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9585 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 5483 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5078 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10561 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 5853 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3196 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9049 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 5822 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3533 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9355 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 5685 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3315 ms (s=97891799, size=1418655)
|
|
|
|
Total: 9001 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 5500 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3009 ms (s=97891799, size=1418655)
|
|
|
|
Total: 8510 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 10051 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4293 ms (s=97891799, size=1418655)
|
|
|
|
Total: 14344 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 7220 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 5332 ms (s=97891799, size=1418655)
|
|
|
|
Total: 12552 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 6407 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 3968 ms (s=97891799, size=1418655)
|
|
|
|
Total: 10376 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 7889 ms (s=141176630, size=1418655)
|
|
|
|
Contains: 4155 ms (s=97891799, size=1418655)
|
|
|
|
Total: 12044 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 21623 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 24355 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 23609 ms
|
|
cfoa, single threaded: 24697 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 24982 ms
|
|
cfoa, std::shared_mutex, single threaded: 25414 ms
|
|
foa::concurrent_table, single threaded: 24418 ms
|
|
tbb::concurrent_hash_map, single threaded: 43057 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 11161 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 8620 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9585 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 10561 ms
|
|
cfoa: 9049 ms
|
|
cfoa, tbb::spin_rw_mutex: 9355 ms
|
|
cfoa, std::shared_mutex: 9001 ms
|
|
foa::concurrent_table: 8510 ms
|
|
tbb::concurrent_hash_map: 14344 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 12552 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 10376 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 12044 ms
|