mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-20 14:42:13 +00:00
186 lines
4.3 KiB
Plaintext
186 lines
4.3 KiB
Plaintext
enwik8: 14480868 words, 7965 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 849 ms (s=14480868, size=354032)
|
|
|
|
Contains: 518 ms (s=7961072, size=354032)
|
|
|
|
Total: 1368 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 1121 ms (s=14480868, size=354032)
|
|
|
|
Contains: 699 ms (s=7961072, size=354032)
|
|
|
|
Total: 1820 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 929 ms (s=14480868, size=354032)
|
|
|
|
Contains: 619 ms (s=7961072, size=354032)
|
|
|
|
Total: 1549 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 1344 ms (s=14480868, size=354032)
|
|
|
|
Contains: 758 ms (s=7961072, size=354032)
|
|
|
|
Total: 2103 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1362 ms (s=14480868, size=354032)
|
|
|
|
Contains: 745 ms (s=7961072, size=354032)
|
|
|
|
Total: 2107 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1446 ms (s=14480868, size=354032)
|
|
|
|
Contains: 849 ms (s=7961072, size=354032)
|
|
|
|
Total: 2295 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 1255 ms (s=14480868, size=354032)
|
|
|
|
Contains: 750 ms (s=7961072, size=354032)
|
|
|
|
Total: 2006 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 2819 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1132 ms (s=7961072, size=354032)
|
|
|
|
Total: 3951 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 547 ms (s=14480868, size=354032)
|
|
|
|
Contains: 450 ms (s=7961072, size=354032)
|
|
|
|
Total: 998 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 462 ms (s=14480868, size=354032)
|
|
|
|
Contains: 321 ms (s=7961072, size=354032)
|
|
|
|
Total: 783 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 472 ms (s=14480868, size=354032)
|
|
|
|
Contains: 312 ms (s=7961072, size=354032)
|
|
|
|
Total: 784 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 610 ms (s=14480868, size=354032)
|
|
|
|
Contains: 460 ms (s=7961072, size=354032)
|
|
|
|
Total: 1071 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 544 ms (s=14480868, size=354032)
|
|
|
|
Contains: 296 ms (s=7961072, size=354032)
|
|
|
|
Total: 840 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 501 ms (s=14480868, size=354032)
|
|
|
|
Contains: 295 ms (s=7961072, size=354032)
|
|
|
|
Total: 797 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 527 ms (s=14480868, size=354032)
|
|
|
|
Contains: 317 ms (s=7961072, size=354032)
|
|
|
|
Total: 845 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 517 ms (s=14480868, size=354032)
|
|
|
|
Contains: 285 ms (s=7961072, size=354032)
|
|
|
|
Total: 803 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 1139 ms (s=14480868, size=354032)
|
|
|
|
Contains: 429 ms (s=7961072, size=354032)
|
|
|
|
Total: 1568 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 679 ms (s=14480868, size=354032)
|
|
|
|
Contains: 434 ms (s=7961072, size=354032)
|
|
|
|
Total: 1113 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 498 ms (s=14480868, size=354032)
|
|
|
|
Contains: 333 ms (s=7961072, size=354032)
|
|
|
|
Total: 831 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 492 ms (s=14480868, size=354032)
|
|
|
|
Contains: 354 ms (s=7961072, size=354032)
|
|
|
|
Total: 847 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1368 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1820 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1549 ms
|
|
cfoa, single threaded: 2103 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 2107 ms
|
|
cfoa, std::shared_mutex, single threaded: 2295 ms
|
|
foa::concurrent_table, single threaded: 2006 ms
|
|
tbb::concurrent_hash_map, single threaded: 3951 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 998 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 783 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 784 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 1071 ms
|
|
cfoa: 840 ms
|
|
cfoa, tbb::spin_rw_mutex: 797 ms
|
|
cfoa, std::shared_mutex: 845 ms
|
|
foa::concurrent_table: 803 ms
|
|
tbb::concurrent_hash_map: 1568 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 1113 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 831 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 847 ms
|