mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
186 lines
4.4 KiB
Plaintext
186 lines
4.4 KiB
Plaintext
enwik8: 14480868 words, 8535 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 896 ms (s=14480868, size=354032)
|
|
|
|
Contains: 539 ms (s=7961072, size=354032)
|
|
|
|
Total: 1436 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 1125 ms (s=14480868, size=354032)
|
|
|
|
Contains: 743 ms (s=7961072, size=354032)
|
|
|
|
Total: 1869 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 987 ms (s=14480868, size=354032)
|
|
|
|
Contains: 692 ms (s=7961072, size=354032)
|
|
|
|
Total: 1679 ms
|
|
|
|
concurrent_foa, single threaded:
|
|
|
|
Word count: 1612 ms (s=14480868, size=354032)
|
|
|
|
Contains: 830 ms (s=7961072, size=354032)
|
|
|
|
Total: 2442 ms
|
|
|
|
concurrent_foa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1458 ms (s=14480868, size=354032)
|
|
|
|
Contains: 810 ms (s=7961072, size=354032)
|
|
|
|
Total: 2268 ms
|
|
|
|
concurrent_foa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1593 ms (s=14480868, size=354032)
|
|
|
|
Contains: 937 ms (s=7961072, size=354032)
|
|
|
|
Total: 2530 ms
|
|
|
|
concurrent foa::concurrent_table, single threaded:
|
|
|
|
Word count: 1327 ms (s=14480868, size=354032)
|
|
|
|
Contains: 755 ms (s=7961072, size=354032)
|
|
|
|
Total: 2082 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 3224 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1204 ms (s=7961072, size=354032)
|
|
|
|
Total: 4428 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 535 ms (s=14480868, size=354032)
|
|
|
|
Contains: 503 ms (s=7961072, size=354032)
|
|
|
|
Total: 1039 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 512 ms (s=14480868, size=354032)
|
|
|
|
Contains: 356 ms (s=7961072, size=354032)
|
|
|
|
Total: 868 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 479 ms (s=14480868, size=354032)
|
|
|
|
Contains: 306 ms (s=7961072, size=354032)
|
|
|
|
Total: 785 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 537 ms (s=14480868, size=354032)
|
|
|
|
Contains: 484 ms (s=7961072, size=354032)
|
|
|
|
Total: 1021 ms
|
|
|
|
concurrent foa:
|
|
|
|
Word count: 607 ms (s=14480868, size=354032)
|
|
|
|
Contains: 337 ms (s=7961072, size=354032)
|
|
|
|
Total: 944 ms
|
|
|
|
concurrent foa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 560 ms (s=14480868, size=354032)
|
|
|
|
Contains: 322 ms (s=7961072, size=354032)
|
|
|
|
Total: 882 ms
|
|
|
|
concurrent foa, std::shared_mutex:
|
|
|
|
Word count: 611 ms (s=14480868, size=354032)
|
|
|
|
Contains: 359 ms (s=7961072, size=354032)
|
|
|
|
Total: 970 ms
|
|
|
|
concurrent foa::concurrent_table:
|
|
|
|
Word count: 572 ms (s=14480868, size=354032)
|
|
|
|
Contains: 265 ms (s=7961072, size=354032)
|
|
|
|
Total: 837 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 1095 ms (s=14480868, size=354032)
|
|
|
|
Contains: 423 ms (s=7961072, size=354032)
|
|
|
|
Total: 1518 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 673 ms (s=14480868, size=354032)
|
|
|
|
Contains: 493 ms (s=7961072, size=354032)
|
|
|
|
Total: 1167 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 537 ms (s=14480868, size=354032)
|
|
|
|
Contains: 404 ms (s=7961072, size=354032)
|
|
|
|
Total: 942 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 568 ms (s=14480868, size=354032)
|
|
|
|
Contains: 412 ms (s=7961072, size=354032)
|
|
|
|
Total: 980 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1436 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1869 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1679 ms
|
|
concurrent_foa, single threaded: 2442 ms
|
|
concurrent_foa, tbb::spin_rw_mutex, single threaded: 2268 ms
|
|
concurrent_foa, std::shared_mutex, single threaded: 2530 ms
|
|
concurrent foa::concurrent_table, single threaded: 2082 ms
|
|
tbb::concurrent_hash_map, single threaded: 4428 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 1039 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 868 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 785 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 1021 ms
|
|
concurrent foa: 944 ms
|
|
concurrent foa, tbb::spin_rw_mutex: 882 ms
|
|
concurrent foa, std::shared_mutex: 970 ms
|
|
concurrent foa::concurrent_table: 837 ms
|
|
tbb::concurrent_hash_map: 1518 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 1167 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 942 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 980 ms
|