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,25 +1,25 @@
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 722508
|
||||
enwik8: 14480868 words, 6896 ms
|
||||
cset: --> last message, executed args into cpuset "/user", new pid is: 742651
|
||||
enwik8: 14480868 words, 6900 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded:
|
||||
|
||||
Word count: 635 ms (s=14480868, size=354032)
|
||||
Word count: 633 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 451 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1086 ms
|
||||
Total: 1084 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, shared_mutex:
|
||||
|
||||
Word count: 872 ms (s=14480868, size=354032)
|
||||
Word count: 870 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 615 ms (s=7961072, size=354032)
|
||||
Contains: 614 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1487 ms
|
||||
Total: 1485 ms
|
||||
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock:
|
||||
|
||||
Word count: 662 ms (s=14480868, size=354032)
|
||||
Word count: 661 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 484 ms (s=7961072, size=354032)
|
||||
|
||||
@@ -27,142 +27,142 @@ Total: 1146 ms
|
||||
|
||||
concurrent_foa, single threaded:
|
||||
|
||||
Word count: 823 ms (s=14480868, size=354032)
|
||||
Word count: 833 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 544 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1368 ms
|
||||
Total: 1377 ms
|
||||
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded:
|
||||
|
||||
Word count: 819 ms (s=14480868, size=354032)
|
||||
Word count: 817 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 564 ms (s=7961072, size=354032)
|
||||
Contains: 563 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1383 ms
|
||||
Total: 1381 ms
|
||||
|
||||
concurrent_foa, std::shared_mutex, single threaded:
|
||||
|
||||
Word count: 969 ms (s=14480868, size=354032)
|
||||
Word count: 970 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 692 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1661 ms
|
||||
Total: 1663 ms
|
||||
|
||||
tbb::concurrent_hash_map, single threaded:
|
||||
|
||||
Word count: 1490 ms (s=14480868, size=354032)
|
||||
Word count: 1494 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 852 ms (s=7961072, size=354032)
|
||||
Contains: 851 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 2343 ms
|
||||
Total: 2346 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>:
|
||||
|
||||
Word count: 475 ms (s=14480868, size=354032)
|
||||
Word count: 492 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 269 ms (s=7961072, size=354032)
|
||||
Contains: 267 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 744 ms
|
||||
Total: 759 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
|
||||
|
||||
Word count: 897 ms (s=14480868, size=354032)
|
||||
Word count: 677 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 261 ms (s=7961072, size=354032)
|
||||
Contains: 266 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1159 ms
|
||||
Total: 943 ms
|
||||
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
|
||||
|
||||
Word count: 487 ms (s=14480868, size=354032)
|
||||
Word count: 591 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 182 ms (s=7961072, size=354032)
|
||||
Contains: 184 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 669 ms
|
||||
Total: 775 ms
|
||||
|
||||
boost::unordered_flat_map, sharded isolated, prehashed:
|
||||
|
||||
Word count: 426 ms (s=14480868, size=354032)
|
||||
Word count: 435 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 398 ms (s=7961072, size=354032)
|
||||
Contains: 396 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 824 ms
|
||||
Total: 831 ms
|
||||
|
||||
concurrent foa:
|
||||
|
||||
Word count: 428 ms (s=14480868, size=354032)
|
||||
Word count: 462 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 179 ms (s=7961072, size=354032)
|
||||
Contains: 183 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 607 ms
|
||||
Total: 646 ms
|
||||
|
||||
concurrent foa, tbb::spin_rw_mutex:
|
||||
|
||||
Word count: 431 ms (s=14480868, size=354032)
|
||||
Word count: 425 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 191 ms (s=7961072, size=354032)
|
||||
Contains: 189 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 622 ms
|
||||
Total: 614 ms
|
||||
|
||||
concurrent foa, std::shared_mutex:
|
||||
|
||||
Word count: 501 ms (s=14480868, size=354032)
|
||||
Word count: 495 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 217 ms (s=7961072, size=354032)
|
||||
Contains: 215 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 719 ms
|
||||
Total: 710 ms
|
||||
|
||||
tbb::concurrent_hash_map:
|
||||
|
||||
Word count: 651 ms (s=14480868, size=354032)
|
||||
Word count: 647 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 232 ms (s=7961072, size=354032)
|
||||
Contains: 209 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 884 ms
|
||||
Total: 856 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::mutex>:
|
||||
|
||||
Word count: 619 ms (s=14480868, size=354032)
|
||||
Word count: 628 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 386 ms (s=7961072, size=354032)
|
||||
Contains: 387 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 1006 ms
|
||||
Total: 1015 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>:
|
||||
|
||||
Word count: 1981 ms (s=14480868, size=354032)
|
||||
Word count: 971 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 320 ms (s=7961072, size=354032)
|
||||
Contains: 309 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 2302 ms
|
||||
Total: 1281 ms
|
||||
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>:
|
||||
|
||||
Word count: 537 ms (s=14480868, size=354032)
|
||||
Word count: 465 ms (s=14480868, size=354032)
|
||||
|
||||
Contains: 350 ms (s=7961072, size=354032)
|
||||
Contains: 303 ms (s=7961072, size=354032)
|
||||
|
||||
Total: 887 ms
|
||||
Total: 769 ms
|
||||
|
||||
---
|
||||
|
||||
Number of threads: 16
|
||||
boost::unordered_flat_map, single threaded: 1086 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 1487 ms
|
||||
boost::unordered_flat_map, single threaded: 1084 ms
|
||||
boost::unordered_flat_map, single threaded, shared_mutex: 1485 ms
|
||||
boost::unordered_flat_map, single threaded, rw_spinlock: 1146 ms
|
||||
concurrent_foa, single threaded: 1368 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 1661 ms
|
||||
tbb::concurrent_hash_map, single threaded: 2343 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 744 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1159 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 669 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 824 ms
|
||||
concurrent foa: 607 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 622 ms
|
||||
concurrent foa, std::shared_mutex: 719 ms
|
||||
tbb::concurrent_hash_map: 884 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 1006 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 2302 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 887 ms
|
||||
concurrent_foa, single threaded: 1377 ms
|
||||
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms
|
||||
concurrent_foa, std::shared_mutex, single threaded: 1663 ms
|
||||
tbb::concurrent_hash_map, single threaded: 2346 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<mutex>: 759 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 943 ms
|
||||
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 775 ms
|
||||
boost::unordered_flat_map, sharded isolated, prehashed: 831 ms
|
||||
concurrent foa: 646 ms
|
||||
concurrent foa, tbb::spin_rw_mutex: 614 ms
|
||||
concurrent foa, std::shared_mutex: 710 ms
|
||||
tbb::concurrent_hash_map: 856 ms
|
||||
gtl::parallel_flat_hash_map<std::mutex>: 1015 ms
|
||||
gtl::parallel_flat_hash_map<std::shared_mutex>: 1281 ms
|
||||
gtl::parallel_flat_hash_map<rw_spinlock>: 769 ms
|
||||
|
||||
Reference in New Issue
Block a user