mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-20 02:32:12 +00:00
186 lines
4.3 KiB
Plaintext
186 lines
4.3 KiB
Plaintext
enwik8: 14480868 words, 7799 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 830 ms (s=14480868, size=354032)
|
|
|
|
Contains: 502 ms (s=7961072, size=354032)
|
|
|
|
Total: 1333 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 1073 ms (s=14480868, size=354032)
|
|
|
|
Contains: 706 ms (s=7961072, size=354032)
|
|
|
|
Total: 1779 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 934 ms (s=14480868, size=354032)
|
|
|
|
Contains: 631 ms (s=7961072, size=354032)
|
|
|
|
Total: 1566 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 1334 ms (s=14480868, size=354032)
|
|
|
|
Contains: 751 ms (s=7961072, size=354032)
|
|
|
|
Total: 2086 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1303 ms (s=14480868, size=354032)
|
|
|
|
Contains: 728 ms (s=7961072, size=354032)
|
|
|
|
Total: 2031 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1483 ms (s=14480868, size=354032)
|
|
|
|
Contains: 871 ms (s=7961072, size=354032)
|
|
|
|
Total: 2354 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 1238 ms (s=14480868, size=354032)
|
|
|
|
Contains: 779 ms (s=7961072, size=354032)
|
|
|
|
Total: 2018 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 2824 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1116 ms (s=7961072, size=354032)
|
|
|
|
Total: 3940 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 556 ms (s=14480868, size=354032)
|
|
|
|
Contains: 485 ms (s=7961072, size=354032)
|
|
|
|
Total: 1042 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 495 ms (s=14480868, size=354032)
|
|
|
|
Contains: 329 ms (s=7961072, size=354032)
|
|
|
|
Total: 825 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 468 ms (s=14480868, size=354032)
|
|
|
|
Contains: 257 ms (s=7961072, size=354032)
|
|
|
|
Total: 725 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 583 ms (s=14480868, size=354032)
|
|
|
|
Contains: 456 ms (s=7961072, size=354032)
|
|
|
|
Total: 1039 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 570 ms (s=14480868, size=354032)
|
|
|
|
Contains: 303 ms (s=7961072, size=354032)
|
|
|
|
Total: 874 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 525 ms (s=14480868, size=354032)
|
|
|
|
Contains: 243 ms (s=7961072, size=354032)
|
|
|
|
Total: 768 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 579 ms (s=14480868, size=354032)
|
|
|
|
Contains: 274 ms (s=7961072, size=354032)
|
|
|
|
Total: 853 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 517 ms (s=14480868, size=354032)
|
|
|
|
Contains: 331 ms (s=7961072, size=354032)
|
|
|
|
Total: 848 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 1021 ms (s=14480868, size=354032)
|
|
|
|
Contains: 328 ms (s=7961072, size=354032)
|
|
|
|
Total: 1349 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 579 ms (s=14480868, size=354032)
|
|
|
|
Contains: 433 ms (s=7961072, size=354032)
|
|
|
|
Total: 1013 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 530 ms (s=14480868, size=354032)
|
|
|
|
Contains: 382 ms (s=7961072, size=354032)
|
|
|
|
Total: 912 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 578 ms (s=14480868, size=354032)
|
|
|
|
Contains: 371 ms (s=7961072, size=354032)
|
|
|
|
Total: 950 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1333 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1779 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1566 ms
|
|
cfoa, single threaded: 2086 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 2031 ms
|
|
cfoa, std::shared_mutex, single threaded: 2354 ms
|
|
foa::concurrent_table, single threaded: 2018 ms
|
|
tbb::concurrent_hash_map, single threaded: 3940 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 1042 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 825 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 725 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 1039 ms
|
|
cfoa: 874 ms
|
|
cfoa, tbb::spin_rw_mutex: 768 ms
|
|
cfoa, std::shared_mutex: 853 ms
|
|
foa::concurrent_table: 848 ms
|
|
tbb::concurrent_hash_map: 1349 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 1013 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 912 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 950 ms
|