mirror of
https://github.com/boostorg/boost_unordered_benchmarks.git
synced 2026-02-19 02:12:14 +00:00
updated benchmark results
This commit is contained in:
@@ -1,168 +1,168 @@
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 671831
|
||||
enwik9: 141176630 words, 57941 ms
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 779857
|
||||
enwik9: 141176630 words, 58225 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 5006 ms (s=141176630, size=1418655)
|
||||
Word count: 5010 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3608 ms (s=97891799, size=1418655)
|
||||
Contains: 3583 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 8614 ms
|
||||
Total: 8594 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 7317 ms (s=141176630, size=1418655)
|
||||
Word count: 7348 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5178 ms (s=97891799, size=1418655)
|
||||
Contains: 5188 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 12495 ms
|
||||
Total: 12537 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 5428 ms (s=141176630, size=1418655)
|
||||
Word count: 5447 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4000 ms (s=97891799, size=1418655)
|
||||
Contains: 4003 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 9428 ms
|
||||
Total: 9450 ms
|
||||
|
||||
concurrent_foa, single threaded:
|
||||
|
||||
Word count: 8097 ms (s=141176630, size=1418655)
|
||||
Word count: 8112 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 4979 ms (s=97891799, size=1418655)
|
||||
Contains: 4968 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 13076 ms
|
||||
Total: 13080 ms
|
||||
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 8002 ms (s=141176630, size=1418655)
|
||||
Word count: 8034 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 5114 ms (s=97891799, size=1418655)
|
||||
Contains: 5103 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 13117 ms
|
||||
Total: 13138 ms
|
||||
|
||||
concurrent_foa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 10360 ms (s=141176630, size=1418655)
|
||||
Word count: 10361 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 6075 ms (s=97891799, size=1418655)
|
||||
Contains: 6048 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 16436 ms
|
||||
Total: 16410 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 14361 ms (s=141176630, size=1418655)
|
||||
Word count: 14453 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 8350 ms (s=97891799, size=1418655)
|
||||
Contains: 8330 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 22712 ms
|
||||
Total: 22783 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 4284 ms (s=141176630, size=1418655)
|
||||
Word count: 4301 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2410 ms (s=97891799, size=1418655)
|
||||
Contains: 2420 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6695 ms
|
||||
Total: 6721 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 11331 ms (s=141176630, size=1418655)
|
||||
Word count: 12728 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2205 ms (s=97891799, size=1418655)
|
||||
Contains: 2123 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 13536 ms
|
||||
Total: 14852 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 5748 ms (s=141176630, size=1418655)
|
||||
Word count: 4671 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1772 ms (s=97891799, size=1418655)
|
||||
Contains: 1791 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7520 ms
|
||||
Total: 6463 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 4062 ms (s=141176630, size=1418655)
|
||||
Word count: 4031 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 3716 ms (s=97891799, size=1418655)
|
||||
Contains: 3714 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7778 ms
|
||||
Total: 7746 ms
|
||||
|
||||
concurrent foa:
|
||||
|
||||
Word count: 3024 ms (s=141176630, size=1418655)
|
||||
Word count: 2966 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1614 ms (s=97891799, size=1418655)
|
||||
Contains: 1632 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4638 ms
|
||||
Total: 4599 ms
|
||||
|
||||
concurrent foa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 3260 ms (s=141176630, size=1418655)
|
||||
Word count: 3326 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1644 ms (s=97891799, size=1418655)
|
||||
Contains: 1666 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 4904 ms
|
||||
Total: 4993 ms
|
||||
|
||||
concurrent foa, std::shared_mutex:
|
||||
|
||||
Word count: 3200 ms (s=141176630, size=1418655)
|
||||
Word count: 3190 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 1811 ms (s=97891799, size=1418655)
|
||||
Contains: 1843 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 5011 ms
|
||||
Total: 5034 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 5442 ms (s=141176630, size=1418655)
|
||||
Word count: 5412 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2021 ms (s=97891799, size=1418655)
|
||||
Contains: 1999 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 7464 ms
|
||||
Total: 7411 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 4345 ms (s=141176630, size=1418655)
|
||||
Word count: 4419 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2351 ms (s=97891799, size=1418655)
|
||||
Contains: 2348 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 6696 ms
|
||||
Total: 6768 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 33040 ms (s=141176630, size=1418655)
|
||||
Word count: 26467 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2388 ms (s=97891799, size=1418655)
|
||||
Contains: 2362 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 35428 ms
|
||||
Total: 28830 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 6737 ms (s=141176630, size=1418655)
|
||||
Word count: 7075 ms (s=141176630, size=1418655)
|
||||
|
||||
Contains: 2953 ms (s=97891799, size=1418655)
|
||||
Contains: 3034 ms (s=97891799, size=1418655)
|
||||
|
||||
Total: 9691 ms
|
||||
Total: 10110 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 16
|
||||
boost::unordered_flat_map, single threaded: 8614 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 12495 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 9428 ms
|
||||
concurrent_foa, single threaded: 13076 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13117 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 16436 ms
|
||||
tbb::concurrent_hash_map, single threaded: 22712 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 6695 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13536 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7520 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 7778 ms
|
||||
concurrent foa: 4638 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 4904 ms
|
||||
concurrent foa, std::shared_mutex: 5011 ms
|
||||
tbb::concurrent_hash_map: 7464 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6696 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 35428 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 9691 ms
|
||||
boost::unordered_flat_map, single threaded: 8594 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 12537 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 9450 ms
|
||||
concurrent_foa, single threaded: 13080 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13138 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 16410 ms
|
||||
tbb::concurrent_hash_map, single threaded: 22783 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 6721 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14852 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6463 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 7746 ms
|
||||
concurrent foa: 4599 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 4993 ms
|
||||
concurrent foa, std::shared_mutex: 5034 ms
|
||||
tbb::concurrent_hash_map: 7411 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 6768 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 28830 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 10110 ms
|
||||
|
||||
Reference in New Issue
Block a user