updated benchmark results

This commit is contained in:
joaquintides
2023-01-16 12:07:35 -05:00
parent 349ab57da4
commit bbae46fbe4

View File

@@ -1,13 +1,13 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 4031077
enwik8: 14480868 words, 6898 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 4080844
enwik8: 14480868 words, 6900 ms
boost::unordered_flat_map, single threaded:
Word count: 630 ms (s=14480868, size=354032)
Word count: 631 ms (s=14480868, size=354032)
Contains: 451 ms (s=7961072, size=354032)
Contains: 452 ms (s=7961072, size=354032)
Total: 1082 ms
Total: 1083 ms
boost::unordered_flat_map, single threaded, shared_mutex:
@@ -31,19 +31,19 @@ Word count: 814 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1359 ms
Total: 1358 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 814 ms (s=14480868, size=354032)
Word count: 813 ms (s=14480868, size=354032)
Contains: 546 ms (s=7961072, size=354032)
Total: 1360 ms
Total: 1359 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 957 ms (s=14480868, size=354032)
Word count: 956 ms (s=14480868, size=354032)
Contains: 678 ms (s=7961072, size=354032)
@@ -51,118 +51,118 @@ Total: 1635 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1500 ms (s=14480868, size=354032)
Word count: 1497 ms (s=14480868, size=354032)
Contains: 855 ms (s=7961072, size=354032)
Contains: 832 ms (s=7961072, size=354032)
Total: 2355 ms
Total: 2330 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 483 ms (s=14480868, size=354032)
Word count: 479 ms (s=14480868, size=354032)
Contains: 278 ms (s=7961072, size=354032)
Contains: 270 ms (s=7961072, size=354032)
Total: 762 ms
Total: 749 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 3050 ms (s=14480868, size=354032)
Word count: 2342 ms (s=14480868, size=354032)
Contains: 280 ms (s=7961072, size=354032)
Contains: 263 ms (s=7961072, size=354032)
Total: 3331 ms
Total: 2605 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 407 ms (s=14480868, size=354032)
Word count: 583 ms (s=14480868, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Contains: 202 ms (s=7961072, size=354032)
Total: 594 ms
Total: 785 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 413 ms (s=14480868, size=354032)
Word count: 420 ms (s=14480868, size=354032)
Contains: 377 ms (s=7961072, size=354032)
Contains: 394 ms (s=7961072, size=354032)
Total: 791 ms
Total: 815 ms
concurrent foa:
Word count: 423 ms (s=14480868, size=354032)
Word count: 411 ms (s=14480868, size=354032)
Contains: 185 ms (s=7961072, size=354032)
Contains: 184 ms (s=7961072, size=354032)
Total: 608 ms
Total: 595 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 424 ms (s=14480868, size=354032)
Word count: 442 ms (s=14480868, size=354032)
Contains: 192 ms (s=7961072, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Total: 616 ms
Total: 637 ms
concurrent foa, std::shared_mutex:
Word count: 487 ms (s=14480868, size=354032)
Word count: 519 ms (s=14480868, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Contains: 215 ms (s=7961072, size=354032)
Total: 694 ms
Total: 734 ms
tbb::concurrent_hash_map:
Word count: 657 ms (s=14480868, size=354032)
Word count: 651 ms (s=14480868, size=354032)
Contains: 227 ms (s=7961072, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Total: 884 ms
Total: 857 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 616 ms (s=14480868, size=354032)
Contains: 403 ms (s=7961072, size=354032)
Contains: 379 ms (s=7961072, size=354032)
Total: 1020 ms
Total: 996 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 3115 ms (s=14480868, size=354032)
Word count: 1486 ms (s=14480868, size=354032)
Contains: 333 ms (s=7961072, size=354032)
Contains: 344 ms (s=7961072, size=354032)
Total: 3449 ms
Total: 1831 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 535 ms (s=14480868, size=354032)
Word count: 582 ms (s=14480868, size=354032)
Contains: 456 ms (s=7961072, size=354032)
Contains: 450 ms (s=7961072, size=354032)
Total: 992 ms
Total: 1032 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1082 ms
boost::unordered_flat_map, single threaded: 1083 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1481 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1137 ms
concurrent_foa, single threaded: 1359 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1360 ms
concurrent_foa, single threaded: 1358 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1359 ms
concurrent_foa, std::shared_mutex, single threaded: 1635 ms
tbb::concurrent_hash_map, single threaded: 2355 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 762 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 3331 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 594 ms
boost::unordered_flat_map, sharded isolated, prehashed: 791 ms
concurrent foa: 608 ms
concurrent foa, tbb::spin_rw_mutex: 616 ms
concurrent foa, std::shared_mutex: 694 ms
tbb::concurrent_hash_map: 884 ms
gtl::parallel_flat_hash_map<std::mutex>: 1020 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3449 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 992 ms
tbb::concurrent_hash_map, single threaded: 2330 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 749 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2605 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 785 ms
boost::unordered_flat_map, sharded isolated, prehashed: 815 ms
concurrent foa: 595 ms
concurrent foa, tbb::spin_rw_mutex: 637 ms
concurrent foa, std::shared_mutex: 734 ms
tbb::concurrent_hash_map: 857 ms
gtl::parallel_flat_hash_map<std::mutex>: 996 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1831 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1032 ms