mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 14:22:09 +00:00
186 lines
4.3 KiB
Plaintext
186 lines
4.3 KiB
Plaintext
enwik8: 14480868 words, 7931 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 798 ms (s=14480868, size=354032)
|
|
|
|
Contains: 514 ms (s=7961072, size=354032)
|
|
|
|
Total: 1313 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 1061 ms (s=14480868, size=354032)
|
|
|
|
Contains: 761 ms (s=7961072, size=354032)
|
|
|
|
Total: 1822 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 861 ms (s=14480868, size=354032)
|
|
|
|
Contains: 633 ms (s=7961072, size=354032)
|
|
|
|
Total: 1495 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 1281 ms (s=14480868, size=354032)
|
|
|
|
Contains: 715 ms (s=7961072, size=354032)
|
|
|
|
Total: 1997 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1310 ms (s=14480868, size=354032)
|
|
|
|
Contains: 774 ms (s=7961072, size=354032)
|
|
|
|
Total: 2085 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1424 ms (s=14480868, size=354032)
|
|
|
|
Contains: 869 ms (s=7961072, size=354032)
|
|
|
|
Total: 2293 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 1177 ms (s=14480868, size=354032)
|
|
|
|
Contains: 714 ms (s=7961072, size=354032)
|
|
|
|
Total: 1891 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 2676 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1133 ms (s=7961072, size=354032)
|
|
|
|
Total: 3810 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 583 ms (s=14480868, size=354032)
|
|
|
|
Contains: 447 ms (s=7961072, size=354032)
|
|
|
|
Total: 1030 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 493 ms (s=14480868, size=354032)
|
|
|
|
Contains: 326 ms (s=7961072, size=354032)
|
|
|
|
Total: 819 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 446 ms (s=14480868, size=354032)
|
|
|
|
Contains: 291 ms (s=7961072, size=354032)
|
|
|
|
Total: 738 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 524 ms (s=14480868, size=354032)
|
|
|
|
Contains: 343 ms (s=7961072, size=354032)
|
|
|
|
Total: 867 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 428 ms (s=14480868, size=354032)
|
|
|
|
Contains: 341 ms (s=7961072, size=354032)
|
|
|
|
Total: 769 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 524 ms (s=14480868, size=354032)
|
|
|
|
Contains: 303 ms (s=7961072, size=354032)
|
|
|
|
Total: 828 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 553 ms (s=14480868, size=354032)
|
|
|
|
Contains: 331 ms (s=7961072, size=354032)
|
|
|
|
Total: 885 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 537 ms (s=14480868, size=354032)
|
|
|
|
Contains: 241 ms (s=7961072, size=354032)
|
|
|
|
Total: 778 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 826 ms (s=14480868, size=354032)
|
|
|
|
Contains: 421 ms (s=7961072, size=354032)
|
|
|
|
Total: 1248 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 574 ms (s=14480868, size=354032)
|
|
|
|
Contains: 419 ms (s=7961072, size=354032)
|
|
|
|
Total: 994 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 561 ms (s=14480868, size=354032)
|
|
|
|
Contains: 384 ms (s=7961072, size=354032)
|
|
|
|
Total: 945 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 451 ms (s=14480868, size=354032)
|
|
|
|
Contains: 300 ms (s=7961072, size=354032)
|
|
|
|
Total: 752 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1313 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1822 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1495 ms
|
|
cfoa, single threaded: 1997 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 2085 ms
|
|
cfoa, std::shared_mutex, single threaded: 2293 ms
|
|
foa::concurrent_table, single threaded: 1891 ms
|
|
tbb::concurrent_hash_map, single threaded: 3810 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 1030 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 819 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 738 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 867 ms
|
|
cfoa: 769 ms
|
|
cfoa, tbb::spin_rw_mutex: 828 ms
|
|
cfoa, std::shared_mutex: 885 ms
|
|
foa::concurrent_table: 778 ms
|
|
tbb::concurrent_hash_map: 1248 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 994 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 945 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 752 ms
|