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, 7517 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 796 ms (s=14480868, size=354032)
|
|
|
|
Contains: 476 ms (s=7961072, size=354032)
|
|
|
|
Total: 1272 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 993 ms (s=14480868, size=354032)
|
|
|
|
Contains: 666 ms (s=7961072, size=354032)
|
|
|
|
Total: 1660 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 865 ms (s=14480868, size=354032)
|
|
|
|
Contains: 595 ms (s=7961072, size=354032)
|
|
|
|
Total: 1461 ms
|
|
|
|
cfoa, single threaded:
|
|
|
|
Word count: 1315 ms (s=14480868, size=354032)
|
|
|
|
Contains: 717 ms (s=7961072, size=354032)
|
|
|
|
Total: 2033 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1271 ms (s=14480868, size=354032)
|
|
|
|
Contains: 704 ms (s=7961072, size=354032)
|
|
|
|
Total: 1976 ms
|
|
|
|
cfoa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1379 ms (s=14480868, size=354032)
|
|
|
|
Contains: 805 ms (s=7961072, size=354032)
|
|
|
|
Total: 2184 ms
|
|
|
|
foa::concurrent_table, single threaded:
|
|
|
|
Word count: 1181 ms (s=14480868, size=354032)
|
|
|
|
Contains: 708 ms (s=7961072, size=354032)
|
|
|
|
Total: 1890 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 2742 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1070 ms (s=7961072, size=354032)
|
|
|
|
Total: 3813 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 471 ms (s=14480868, size=354032)
|
|
|
|
Contains: 366 ms (s=7961072, size=354032)
|
|
|
|
Total: 837 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 404 ms (s=14480868, size=354032)
|
|
|
|
Contains: 271 ms (s=7961072, size=354032)
|
|
|
|
Total: 675 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 3616 ms (s=14480868, size=354032)
|
|
|
|
Contains: 229 ms (s=7961072, size=354032)
|
|
|
|
Total: 3845 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 436 ms (s=14480868, size=354032)
|
|
|
|
Contains: 453 ms (s=7961072, size=354032)
|
|
|
|
Total: 890 ms
|
|
|
|
cfoa:
|
|
|
|
Word count: 510 ms (s=14480868, size=354032)
|
|
|
|
Contains: 295 ms (s=7961072, size=354032)
|
|
|
|
Total: 806 ms
|
|
|
|
cfoa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 534 ms (s=14480868, size=354032)
|
|
|
|
Contains: 242 ms (s=7961072, size=354032)
|
|
|
|
Total: 777 ms
|
|
|
|
cfoa, std::shared_mutex:
|
|
|
|
Word count: 517 ms (s=14480868, size=354032)
|
|
|
|
Contains: 268 ms (s=7961072, size=354032)
|
|
|
|
Total: 786 ms
|
|
|
|
foa::concurrent_table:
|
|
|
|
Word count: 474 ms (s=14480868, size=354032)
|
|
|
|
Contains: 239 ms (s=7961072, size=354032)
|
|
|
|
Total: 714 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 797 ms (s=14480868, size=354032)
|
|
|
|
Contains: 334 ms (s=7961072, size=354032)
|
|
|
|
Total: 1131 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 524 ms (s=14480868, size=354032)
|
|
|
|
Contains: 480 ms (s=7961072, size=354032)
|
|
|
|
Total: 1005 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 491 ms (s=14480868, size=354032)
|
|
|
|
Contains: 320 ms (s=7961072, size=354032)
|
|
|
|
Total: 811 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 552 ms (s=14480868, size=354032)
|
|
|
|
Contains: 294 ms (s=7961072, size=354032)
|
|
|
|
Total: 847 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1272 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1660 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1461 ms
|
|
cfoa, single threaded: 2033 ms
|
|
cfoa, tbb::spin_rw_mutex, single threaded: 1976 ms
|
|
cfoa, std::shared_mutex, single threaded: 2184 ms
|
|
foa::concurrent_table, single threaded: 1890 ms
|
|
tbb::concurrent_hash_map, single threaded: 3813 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 837 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 675 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3845 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 890 ms
|
|
cfoa: 806 ms
|
|
cfoa, tbb::spin_rw_mutex: 777 ms
|
|
cfoa, std::shared_mutex: 786 ms
|
|
foa::concurrent_table: 714 ms
|
|
tbb::concurrent_hash_map: 1131 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 1005 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 811 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 847 ms
|