updated benchmark results

This commit is contained in:
joaquintides
2023-03-18 11:31:14 -04:00
parent 559ab1c864
commit 2bd2acea3e

View File

@@ -1,9 +1,9 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1557851
cset: --> last message, executed args into cpuset "/user", new pid is: 1603347
enwik8: 14480868 words, 6878 ms
boost::unordered_flat_map, single threaded:
Word count: 668 ms (s=14480868, size=354032)
Word count: 669 ms (s=14480868, size=354032)
Contains: 461 ms (s=7961072, size=354032)
@@ -15,23 +15,23 @@ Word count: 905 ms (s=14480868, size=354032)
Contains: 649 ms (s=7961072, size=354032)
Total: 1554 ms
Total: 1555 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 714 ms (s=14480868, size=354032)
Contains: 516 ms (s=7961072, size=354032)
Contains: 515 ms (s=7961072, size=354032)
Total: 1231 ms
Total: 1230 ms
cfoa, single threaded:
Word count: 908 ms (s=14480868, size=354032)
Word count: 903 ms (s=14480868, size=354032)
Contains: 571 ms (s=7961072, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Total: 1480 ms
Total: 1474 ms
cfoa, tbb::spin_rw_mutex, single threaded:
@@ -51,136 +51,136 @@ Total: 1788 ms
foa::concurrent_table, single threaded:
Word count: 899 ms (s=14480868, size=354032)
Word count: 896 ms (s=14480868, size=354032)
Contains: 568 ms (s=7961072, size=354032)
Total: 1467 ms
Total: 1465 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1543 ms (s=14480868, size=354032)
Word count: 1541 ms (s=14480868, size=354032)
Contains: 847 ms (s=7961072, size=354032)
Contains: 841 ms (s=7961072, size=354032)
Total: 2390 ms
Total: 2383 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 478 ms (s=14480868, size=354032)
Word count: 462 ms (s=14480868, size=354032)
Contains: 272 ms (s=7961072, size=354032)
Contains: 288 ms (s=7961072, size=354032)
Total: 751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 758 ms (s=14480868, size=354032)
Word count: 890 ms (s=14480868, size=354032)
Contains: 268 ms (s=7961072, size=354032)
Contains: 264 ms (s=7961072, size=354032)
Total: 1026 ms
Total: 1155 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 476 ms (s=14480868, size=354032)
Word count: 521 ms (s=14480868, size=354032)
Contains: 192 ms (s=7961072, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Total: 669 ms
Total: 712 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 429 ms (s=14480868, size=354032)
Word count: 387 ms (s=14480868, size=354032)
Contains: 365 ms (s=7961072, size=354032)
Total: 794 ms
Total: 753 ms
cfoa:
Word count: 689 ms (s=14480868, size=354031)
Word count: 681 ms (s=14480868, size=354032)
Contains: 187 ms (s=7961072, size=354031)
Contains: 198 ms (s=7961072, size=354032)
Total: 877 ms
Total: 879 ms
cfoa, tbb::spin_rw_mutex:
Word count: 592 ms (s=14480868, size=354032)
Word count: 723 ms (s=14480868, size=354032)
Contains: 183 ms (s=7961072, size=354032)
Contains: 209 ms (s=7961072, size=354032)
Total: 776 ms
Total: 932 ms
cfoa, std::shared_mutex:
Word count: 563 ms (s=14480868, size=354032)
Word count: 569 ms (s=14480868, size=354032)
Contains: 212 ms (s=7961072, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Total: 776 ms
foa::concurrent_table:
Word count: 583 ms (s=14480868, size=354032)
Word count: 578 ms (s=14480868, size=354031)
Contains: 179 ms (s=7961072, size=354032)
Contains: 181 ms (s=7961072, size=354031)
Total: 763 ms
Total: 760 ms
tbb::concurrent_hash_map:
Word count: 643 ms (s=14480868, size=354032)
Word count: 654 ms (s=14480868, size=354032)
Contains: 236 ms (s=7961072, size=354032)
Contains: 231 ms (s=7961072, size=354032)
Total: 880 ms
Total: 886 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 630 ms (s=14480868, size=354032)
Word count: 656 ms (s=14480868, size=354032)
Contains: 375 ms (s=7961072, size=354032)
Contains: 371 ms (s=7961072, size=354032)
Total: 1006 ms
Total: 1027 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1081 ms (s=14480868, size=354032)
Word count: 805 ms (s=14480868, size=354032)
Contains: 323 ms (s=7961072, size=354032)
Contains: 307 ms (s=7961072, size=354032)
Total: 1404 ms
Total: 1113 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 491 ms (s=14480868, size=354032)
Word count: 670 ms (s=14480868, size=354032)
Contains: 364 ms (s=7961072, size=354032)
Contains: 408 ms (s=7961072, size=354032)
Total: 855 ms
Total: 1078 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1130 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1554 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1231 ms
cfoa, single threaded: 1480 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1555 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1230 ms
cfoa, single threaded: 1474 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1485 ms
cfoa, std::shared_mutex, single threaded: 1788 ms
foa::concurrent_table, single threaded: 1467 ms
tbb::concurrent_hash_map, single threaded: 2390 ms
foa::concurrent_table, single threaded: 1465 ms
tbb::concurrent_hash_map, single threaded: 2383 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1026 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 669 ms
boost::unordered_flat_map, sharded isolated, prehashed: 794 ms
cfoa: 877 ms
cfoa, tbb::spin_rw_mutex: 776 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1155 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 712 ms
boost::unordered_flat_map, sharded isolated, prehashed: 753 ms
cfoa: 879 ms
cfoa, tbb::spin_rw_mutex: 932 ms
cfoa, std::shared_mutex: 776 ms
foa::concurrent_table: 763 ms
tbb::concurrent_hash_map: 880 ms
gtl::parallel_flat_hash_map<std::mutex>: 1006 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1404 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 855 ms
foa::concurrent_table: 760 ms
tbb::concurrent_hash_map: 886 ms
gtl::parallel_flat_hash_map<std::mutex>: 1027 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1113 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1078 ms