updated benchmark results

This commit is contained in:
joaquintides
2023-03-19 09:17:18 -04:00
parent 1473289635
commit 7a8c49f164

View File

@@ -1,21 +1,21 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1724984
enwik8: 14480868 words, 6899 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1750859
enwik8: 14480868 words, 6904 ms
boost::unordered_flat_map, single threaded:
Word count: 668 ms (s=14480868, size=354032)
Word count: 667 ms (s=14480868, size=354032)
Contains: 463 ms (s=7961072, size=354032)
Total: 1132 ms
Total: 1131 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 908 ms (s=14480868, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Total: 1562 ms
Total: 1561 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
@@ -23,164 +23,164 @@ Word count: 710 ms (s=14480868, size=354032)
Contains: 515 ms (s=7961072, size=354032)
Total: 1226 ms
Total: 1225 ms
cfoa, single threaded:
Word count: 905 ms (s=14480868, size=354032)
Word count: 904 ms (s=14480868, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Total: 1476 ms
Total: 1475 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 897 ms (s=14480868, size=354032)
Word count: 898 ms (s=14480868, size=354032)
Contains: 586 ms (s=7961072, size=354032)
Total: 1484 ms
Total: 1485 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1052 ms (s=14480868, size=354032)
Word count: 1053 ms (s=14480868, size=354032)
Contains: 743 ms (s=7961072, size=354032)
Contains: 744 ms (s=7961072, size=354032)
Total: 1796 ms
Total: 1797 ms
foa::concurrent_table, single threaded:
Word count: 888 ms (s=14480868, size=354032)
Word count: 890 ms (s=14480868, size=354032)
Contains: 566 ms (s=7961072, size=354032)
Contains: 567 ms (s=7961072, size=354032)
Total: 1455 ms
Total: 1457 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1542 ms (s=14480868, size=354032)
Word count: 1544 ms (s=14480868, size=354032)
Contains: 848 ms (s=7961072, size=354032)
Contains: 846 ms (s=7961072, size=354032)
Total: 2390 ms
Total: 2391 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 482 ms (s=14480868, size=354032)
Word count: 484 ms (s=14480868, size=354032)
Contains: 272 ms (s=7961072, size=354032)
Contains: 286 ms (s=7961072, size=354032)
Total: 755 ms
Total: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 802 ms (s=14480868, size=354032)
Word count: 682 ms (s=14480868, size=354032)
Contains: 278 ms (s=7961072, size=354032)
Contains: 265 ms (s=7961072, size=354032)
Total: 1080 ms
Total: 948 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 388 ms (s=14480868, size=354032)
Word count: 435 ms (s=14480868, size=354032)
Contains: 193 ms (s=7961072, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 581 ms
Total: 641 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 417 ms (s=14480868, size=354032)
Word count: 412 ms (s=14480868, size=354032)
Contains: 395 ms (s=7961072, size=354032)
Contains: 353 ms (s=7961072, size=354032)
Total: 813 ms
Total: 766 ms
cfoa:
Word count: 538 ms (s=14480868, size=354032)
Word count: 640 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Contains: 189 ms (s=7961072, size=354032)
Total: 729 ms
Total: 829 ms
cfoa, tbb::spin_rw_mutex:
Word count: 642 ms (s=14480868, size=354032)
Word count: 719 ms (s=14480868, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Contains: 198 ms (s=7961072, size=354032)
Total: 848 ms
Total: 918 ms
cfoa, std::shared_mutex:
Word count: 580 ms (s=14480868, size=354032)
Word count: 579 ms (s=14480868, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Contains: 222 ms (s=7961072, size=354032)
Total: 792 ms
Total: 802 ms
foa::concurrent_table:
Word count: 517 ms (s=14480868, size=354032)
Word count: 592 ms (s=14480868, size=354032)
Contains: 168 ms (s=7961072, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 686 ms
Total: 775 ms
tbb::concurrent_hash_map:
Word count: 639 ms (s=14480868, size=354032)
Word count: 649 ms (s=14480868, size=354032)
Contains: 240 ms (s=7961072, size=354032)
Total: 879 ms
Total: 889 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 652 ms (s=14480868, size=354032)
Word count: 635 ms (s=14480868, size=354032)
Contains: 381 ms (s=7961072, size=354032)
Contains: 372 ms (s=7961072, size=354032)
Total: 1033 ms
Total: 1007 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 826 ms (s=14480868, size=354032)
Word count: 683 ms (s=14480868, size=354032)
Contains: 315 ms (s=7961072, size=354032)
Contains: 306 ms (s=7961072, size=354032)
Total: 1142 ms
Total: 990 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 569 ms (s=14480868, size=354032)
Word count: 722 ms (s=14480868, size=354032)
Contains: 341 ms (s=7961072, size=354032)
Contains: 390 ms (s=7961072, size=354032)
Total: 910 ms
Total: 1113 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1562 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms
cfoa, single threaded: 1476 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1484 ms
cfoa, std::shared_mutex, single threaded: 1796 ms
foa::concurrent_table, single threaded: 1455 ms
tbb::concurrent_hash_map, single threaded: 2390 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 755 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1080 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 581 ms
boost::unordered_flat_map, sharded isolated, prehashed: 813 ms
cfoa: 729 ms
cfoa, tbb::spin_rw_mutex: 848 ms
cfoa, std::shared_mutex: 792 ms
foa::concurrent_table: 686 ms
tbb::concurrent_hash_map: 879 ms
gtl::parallel_flat_hash_map<std::mutex>: 1033 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1142 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 910 ms
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
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