mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
168 lines
3.9 KiB
Plaintext
168 lines
3.9 KiB
Plaintext
enwik8: 14480868 words, 8403 ms
|
|
|
|
boost::unordered_flat_map, single threaded:
|
|
|
|
Word count: 869 ms (s=14480868, size=354032)
|
|
|
|
Contains: 511 ms (s=7961072, size=354032)
|
|
|
|
Total: 1380 ms
|
|
|
|
boost::unordered_flat_map, single threaded, shared_mutex:
|
|
|
|
Word count: 1042 ms (s=14480868, size=354032)
|
|
|
|
Contains: 705 ms (s=7961072, size=354032)
|
|
|
|
Total: 1748 ms
|
|
|
|
boost::unordered_flat_map, single threaded, rw_spinlock:
|
|
|
|
Word count: 931 ms (s=14480868, size=354032)
|
|
|
|
Contains: 627 ms (s=7961072, size=354032)
|
|
|
|
Total: 1558 ms
|
|
|
|
concurrent_foa, single threaded:
|
|
|
|
Word count: 1359 ms (s=14480868, size=354032)
|
|
|
|
Contains: 745 ms (s=7961072, size=354032)
|
|
|
|
Total: 2105 ms
|
|
|
|
concurrent_foa, tbb::spin_rw_mutex, single threaded:
|
|
|
|
Word count: 1403 ms (s=14480868, size=354032)
|
|
|
|
Contains: 764 ms (s=7961072, size=354032)
|
|
|
|
Total: 2168 ms
|
|
|
|
concurrent_foa, std::shared_mutex, single threaded:
|
|
|
|
Word count: 1491 ms (s=14480868, size=354032)
|
|
|
|
Contains: 882 ms (s=7961072, size=354032)
|
|
|
|
Total: 2373 ms
|
|
|
|
tbb::concurrent_hash_map, single threaded:
|
|
|
|
Word count: 2966 ms (s=14480868, size=354032)
|
|
|
|
Contains: 1238 ms (s=7961072, size=354032)
|
|
|
|
Total: 4205 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
|
|
|
Word count: 610 ms (s=14480868, size=354032)
|
|
|
|
Contains: 477 ms (s=7961072, size=354032)
|
|
|
|
Total: 1087 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
|
|
|
Word count: 482 ms (s=14480868, size=354032)
|
|
|
|
Contains: 323 ms (s=7961072, size=354032)
|
|
|
|
Total: 806 ms
|
|
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
|
|
|
Word count: 485 ms (s=14480868, size=354032)
|
|
|
|
Contains: 292 ms (s=7961072, size=354032)
|
|
|
|
Total: 778 ms
|
|
|
|
boost::unordered_flat_map, sharded isolated, prehashed:
|
|
|
|
Word count: 519 ms (s=14480868, size=354032)
|
|
|
|
Contains: 392 ms (s=7961072, size=354032)
|
|
|
|
Total: 912 ms
|
|
|
|
concurrent foa:
|
|
|
|
Word count: 505 ms (s=14480868, size=354032)
|
|
|
|
Contains: 298 ms (s=7961072, size=354032)
|
|
|
|
Total: 804 ms
|
|
|
|
concurrent foa, tbb::spin_rw_mutex:
|
|
|
|
Word count: 510 ms (s=14480868, size=354032)
|
|
|
|
Contains: 262 ms (s=7961072, size=354032)
|
|
|
|
Total: 773 ms
|
|
|
|
concurrent foa, std::shared_mutex:
|
|
|
|
Word count: 548 ms (s=14480868, size=354032)
|
|
|
|
Contains: 342 ms (s=7961072, size=354032)
|
|
|
|
Total: 891 ms
|
|
|
|
tbb::concurrent_hash_map:
|
|
|
|
Word count: 1071 ms (s=14480868, size=354032)
|
|
|
|
Contains: 406 ms (s=7961072, size=354032)
|
|
|
|
Total: 1477 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::mutex>:
|
|
|
|
Word count: 646 ms (s=14480868, size=354032)
|
|
|
|
Contains: 497 ms (s=7961072, size=354032)
|
|
|
|
Total: 1144 ms
|
|
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
|
|
|
Word count: 539 ms (s=14480868, size=354032)
|
|
|
|
Contains: 361 ms (s=7961072, size=354032)
|
|
|
|
Total: 901 ms
|
|
|
|
gtl::parallel_flat_hash_map<rw_spinlock>:
|
|
|
|
Word count: 534 ms (s=14480868, size=354032)
|
|
|
|
Contains: 340 ms (s=7961072, size=354032)
|
|
|
|
Total: 875 ms
|
|
|
|
---
|
|
|
|
Number of threads: 4
|
|
boost::unordered_flat_map, single threaded: 1380 ms
|
|
boost::unordered_flat_map, single threaded, shared_mutex: 1748 ms
|
|
boost::unordered_flat_map, single threaded, rw_spinlock: 1558 ms
|
|
concurrent_foa, single threaded: 2105 ms
|
|
concurrent_foa, tbb::spin_rw_mutex, single threaded: 2168 ms
|
|
concurrent_foa, std::shared_mutex, single threaded: 2373 ms
|
|
tbb::concurrent_hash_map, single threaded: 4205 ms
|
|
boost::unordered_flat_map, sharded_prehashed<mutex>: 1087 ms
|
|
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 806 ms
|
|
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 778 ms
|
|
boost::unordered_flat_map, sharded isolated, prehashed: 912 ms
|
|
concurrent foa: 804 ms
|
|
concurrent foa, tbb::spin_rw_mutex: 773 ms
|
|
concurrent foa, std::shared_mutex: 891 ms
|
|
tbb::concurrent_hash_map: 1477 ms
|
|
gtl::parallel_flat_hash_map<std::mutex>: 1144 ms
|
|
gtl::parallel_flat_hash_map<std::shared_mutex>: 901 ms
|
|
gtl::parallel_flat_hash_map<rw_spinlock>: 875 ms
|