updated benchmark results

This commit is contained in:
joaquintides
2023-03-17 15:09:41 -04:00
parent f8f1e33464
commit 14edf34e67

View File

@@ -1,29 +1,29 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1346416
enwik8: 14480868 words, 6901 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1378889
enwik8: 14480868 words, 6905 ms
boost::unordered_flat_map, single threaded:
Word count: 671 ms (s=14480868, size=354032)
Word count: 669 ms (s=14480868, size=354032)
Contains: 473 ms (s=7961072, size=354032)
Contains: 474 ms (s=7961072, size=354032)
Total: 1145 ms
Total: 1144 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 907 ms (s=14480868, size=354032)
Word count: 909 ms (s=14480868, size=354032)
Contains: 671 ms (s=7961072, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Total: 1578 ms
Total: 1563 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 709 ms (s=14480868, size=354032)
Word count: 712 ms (s=14480868, size=354032)
Contains: 517 ms (s=7961072, size=354032)
Contains: 516 ms (s=7961072, size=354032)
Total: 1226 ms
Total: 1228 ms
cfoa, single threaded:
@@ -35,152 +35,152 @@ Total: 1476 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 907 ms (s=14480868, size=354032)
Word count: 901 ms (s=14480868, size=354032)
Contains: 569 ms (s=7961072, size=354032)
Contains: 586 ms (s=7961072, size=354032)
Total: 1477 ms
Total: 1487 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1052 ms (s=14480868, size=354032)
Word count: 1054 ms (s=14480868, size=354032)
Contains: 727 ms (s=7961072, size=354032)
Contains: 738 ms (s=7961072, size=354032)
Total: 1780 ms
Total: 1793 ms
foa::concurrent_table, single threaded:
Word count: 880 ms (s=14480868, size=354032)
Word count: 883 ms (s=14480868, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Contains: 569 ms (s=7961072, size=354032)
Total: 1451 ms
Total: 1452 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1545 ms (s=14480868, size=354032)
Word count: 1522 ms (s=14480868, size=354032)
Contains: 838 ms (s=7961072, size=354032)
Contains: 843 ms (s=7961072, size=354032)
Total: 2383 ms
Total: 2365 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 488 ms (s=14480868, size=354032)
Word count: 473 ms (s=14480868, size=354032)
Contains: 283 ms (s=7961072, size=354032)
Contains: 272 ms (s=7961072, size=354032)
Total: 772 ms
Total: 746 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1122 ms (s=14480868, size=354032)
Word count: 1284 ms (s=14480868, size=354032)
Contains: 274 ms (s=7961072, size=354032)
Contains: 282 ms (s=7961072, size=354032)
Total: 1396 ms
Total: 1566 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 443 ms (s=14480868, size=354032)
Word count: 489 ms (s=14480868, size=354032)
Contains: 181 ms (s=7961072, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Total: 624 ms
Total: 695 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 406 ms (s=14480868, size=354032)
Word count: 407 ms (s=14480868, size=354032)
Contains: 376 ms (s=7961072, size=354032)
Contains: 363 ms (s=7961072, size=354032)
Total: 783 ms
Total: 770 ms
cfoa:
Word count: 567 ms (s=14480868, size=354032)
Word count: 611 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Contains: 204 ms (s=7961072, size=354032)
Total: 759 ms
Total: 816 ms
cfoa, tbb::spin_rw_mutex:
Word count: 680 ms (s=14480868, size=354032)
Word count: 589 ms (s=14480868, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Total: 867 ms
Total: 796 ms
cfoa, std::shared_mutex:
Word count: 557 ms (s=14480868, size=354032)
Word count: 583 ms (s=14480868, size=354032)
Contains: 212 ms (s=7961072, size=354032)
Contains: 222 ms (s=7961072, size=354032)
Total: 769 ms
Total: 805 ms
foa::concurrent_table:
Word count: 660 ms (s=14480868, size=354031)
Word count: 627 ms (s=14480868, size=354031)
Contains: 185 ms (s=7961072, size=354031)
Contains: 212 ms (s=7961072, size=354031)
Total: 846 ms
Total: 840 ms
tbb::concurrent_hash_map:
Word count: 649 ms (s=14480868, size=354032)
Word count: 633 ms (s=14480868, size=354032)
Contains: 236 ms (s=7961072, size=354032)
Contains: 239 ms (s=7961072, size=354032)
Total: 885 ms
Total: 872 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 635 ms (s=14480868, size=354032)
Word count: 637 ms (s=14480868, size=354032)
Contains: 365 ms (s=7961072, size=354032)
Contains: 373 ms (s=7961072, size=354032)
Total: 1000 ms
Total: 1011 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 979 ms (s=14480868, size=354032)
Word count: 2251 ms (s=14480868, size=354032)
Contains: 323 ms (s=7961072, size=354032)
Contains: 327 ms (s=7961072, size=354032)
Total: 1303 ms
Total: 2578 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 495 ms (s=14480868, size=354032)
Word count: 586 ms (s=14480868, size=354032)
Contains: 377 ms (s=7961072, size=354032)
Contains: 395 ms (s=7961072, size=354032)
Total: 872 ms
Total: 982 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1145 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1578 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms
boost::unordered_flat_map, single threaded: 1144 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1563 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1228 ms
cfoa, single threaded: 1476 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1477 ms
cfoa, std::shared_mutex, single threaded: 1780 ms
foa::concurrent_table, single threaded: 1451 ms
tbb::concurrent_hash_map, single threaded: 2383 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 772 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1396 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 624 ms
boost::unordered_flat_map, sharded isolated, prehashed: 783 ms
cfoa: 759 ms
cfoa, tbb::spin_rw_mutex: 867 ms
cfoa, std::shared_mutex: 769 ms
foa::concurrent_table: 846 ms
tbb::concurrent_hash_map: 885 ms
gtl::parallel_flat_hash_map<std::mutex>: 1000 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1303 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 872 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1487 ms
cfoa, std::shared_mutex, single threaded: 1793 ms
foa::concurrent_table, single threaded: 1452 ms
tbb::concurrent_hash_map, single threaded: 2365 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 746 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1566 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 695 ms
boost::unordered_flat_map, sharded isolated, prehashed: 770 ms
cfoa: 816 ms
cfoa, tbb::spin_rw_mutex: 796 ms
cfoa, std::shared_mutex: 805 ms
foa::concurrent_table: 840 ms
tbb::concurrent_hash_map: 872 ms
gtl::parallel_flat_hash_map<std::mutex>: 1011 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2578 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 982 ms