updated benchmark results

This commit is contained in:
joaquintides
2023-03-21 09:59:30 -04:00
parent aefd0cee51
commit 0611a1058c

View File

@@ -1,33 +1,33 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1750859
enwik8: 14480868 words, 6904 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1934580
enwik8: 14480868 words, 6898 ms
boost::unordered_flat_map, single threaded:
Word count: 667 ms (s=14480868, size=354032)
Word count: 668 ms (s=14480868, size=354032)
Contains: 463 ms (s=7961072, size=354032)
Total: 1131 ms
Total: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 908 ms (s=14480868, size=354032)
Word count: 910 ms (s=14480868, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Total: 1561 ms
Total: 1563 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 710 ms (s=14480868, size=354032)
Word count: 711 ms (s=14480868, size=354032)
Contains: 515 ms (s=7961072, size=354032)
Contains: 524 ms (s=7961072, size=354032)
Total: 1225 ms
Total: 1236 ms
cfoa, single threaded:
Word count: 904 ms (s=14480868, size=354032)
Word count: 905 ms (s=14480868, size=354032)
Contains: 570 ms (s=7961072, size=354032)
@@ -35,152 +35,152 @@ Total: 1475 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 898 ms (s=14480868, size=354032)
Word count: 899 ms (s=14480868, size=354032)
Contains: 586 ms (s=7961072, size=354032)
Total: 1485 ms
Total: 1486 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1053 ms (s=14480868, size=354032)
Word count: 1054 ms (s=14480868, size=354032)
Contains: 744 ms (s=7961072, size=354032)
Contains: 742 ms (s=7961072, size=354032)
Total: 1797 ms
Total: 1796 ms
foa::concurrent_table, single threaded:
Word count: 890 ms (s=14480868, size=354032)
Word count: 907 ms (s=14480868, size=354032)
Contains: 567 ms (s=7961072, size=354032)
Contains: 565 ms (s=7961072, size=354032)
Total: 1457 ms
Total: 1473 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1544 ms (s=14480868, size=354032)
Word count: 1547 ms (s=14480868, size=354032)
Contains: 846 ms (s=7961072, size=354032)
Contains: 841 ms (s=7961072, size=354032)
Total: 2391 ms
Total: 2388 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 484 ms (s=14480868, size=354032)
Word count: 476 ms (s=14480868, size=354032)
Contains: 286 ms (s=7961072, size=354032)
Contains: 287 ms (s=7961072, size=354032)
Total: 770 ms
Total: 763 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 682 ms (s=14480868, size=354032)
Word count: 843 ms (s=14480868, size=354032)
Contains: 265 ms (s=7961072, size=354032)
Contains: 269 ms (s=7961072, size=354032)
Total: 948 ms
Total: 1113 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 435 ms (s=14480868, size=354032)
Word count: 437 ms (s=14480868, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 641 ms
Total: 642 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 412 ms (s=14480868, size=354032)
Word count: 404 ms (s=14480868, size=354032)
Contains: 353 ms (s=7961072, size=354032)
Contains: 360 ms (s=7961072, size=354032)
Total: 766 ms
Total: 764 ms
cfoa:
Word count: 640 ms (s=14480868, size=354032)
Word count: 605 ms (s=14480868, size=354032)
Contains: 189 ms (s=7961072, size=354032)
Contains: 200 ms (s=7961072, size=354032)
Total: 829 ms
Total: 805 ms
cfoa, tbb::spin_rw_mutex:
Word count: 719 ms (s=14480868, size=354032)
Word count: 584 ms (s=14480868, size=354032)
Contains: 198 ms (s=7961072, size=354032)
Contains: 203 ms (s=7961072, size=354032)
Total: 918 ms
Total: 787 ms
cfoa, std::shared_mutex:
Word count: 579 ms (s=14480868, size=354032)
Word count: 602 ms (s=14480868, size=354032)
Contains: 222 ms (s=7961072, size=354032)
Contains: 223 ms (s=7961072, size=354032)
Total: 802 ms
Total: 825 ms
foa::concurrent_table:
Word count: 592 ms (s=14480868, size=354032)
Word count: 704 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Contains: 174 ms (s=7961072, size=354032)
Total: 775 ms
Total: 879 ms
tbb::concurrent_hash_map:
Word count: 649 ms (s=14480868, size=354032)
Word count: 648 ms (s=14480868, size=354032)
Contains: 240 ms (s=7961072, size=354032)
Contains: 238 ms (s=7961072, size=354032)
Total: 889 ms
Total: 886 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 635 ms (s=14480868, size=354032)
Word count: 654 ms (s=14480868, size=354032)
Contains: 372 ms (s=7961072, size=354032)
Contains: 378 ms (s=7961072, size=354032)
Total: 1007 ms
Total: 1032 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 683 ms (s=14480868, size=354032)
Word count: 1020 ms (s=14480868, size=354032)
Contains: 306 ms (s=7961072, size=354032)
Contains: 326 ms (s=7961072, size=354032)
Total: 990 ms
Total: 1346 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 722 ms (s=14480868, size=354032)
Word count: 789 ms (s=14480868, size=354032)
Contains: 390 ms (s=7961072, size=354032)
Contains: 331 ms (s=7961072, size=354032)
Total: 1113 ms
Total: 1121 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1131 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1561 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1225 ms
boost::unordered_flat_map, single threaded: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1563 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1236 ms
cfoa, single threaded: 1475 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1485 ms
cfoa, std::shared_mutex, single threaded: 1797 ms
foa::concurrent_table, single threaded: 1457 ms
tbb::concurrent_hash_map, single threaded: 2391 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 948 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 641 ms
boost::unordered_flat_map, sharded isolated, prehashed: 766 ms
cfoa: 829 ms
cfoa, tbb::spin_rw_mutex: 918 ms
cfoa, std::shared_mutex: 802 ms
foa::concurrent_table: 775 ms
tbb::concurrent_hash_map: 889 ms
gtl::parallel_flat_hash_map<std::mutex>: 1007 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 990 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1113 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1486 ms
cfoa, std::shared_mutex, single threaded: 1796 ms
foa::concurrent_table, single threaded: 1473 ms
tbb::concurrent_hash_map, single threaded: 2388 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 763 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1113 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 642 ms
boost::unordered_flat_map, sharded isolated, prehashed: 764 ms
cfoa: 805 ms
cfoa, tbb::spin_rw_mutex: 787 ms
cfoa, std::shared_mutex: 825 ms
foa::concurrent_table: 879 ms
tbb::concurrent_hash_map: 886 ms
gtl::parallel_flat_hash_map<std::mutex>: 1032 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1346 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1121 ms