updated benchmark results

This commit is contained in:
joaquintides
2023-03-27 04:53:14 -04:00
parent 7626f35d16
commit 53e497f163

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2731646
enwik8: 14480868 words, 6935 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2895888
enwik8: 14480868 words, 6966 ms
boost::unordered_flat_map, single threaded:
Word count: 704 ms (s=14480868, size=354032)
Word count: 696 ms (s=14480868, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Contains: 371 ms (s=7961072, size=354032)
Total: 1073 ms
Total: 1067 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 952 ms (s=14480868, size=354032)
Word count: 947 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Contains: 546 ms (s=7961072, size=354032)
Total: 1496 ms
Total: 1494 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 735 ms (s=14480868, size=354032)
Word count: 728 ms (s=14480868, size=354032)
Contains: 424 ms (s=7961072, size=354032)
Contains: 421 ms (s=7961072, size=354032)
Total: 1159 ms
Total: 1149 ms
cfoa, single threaded:
Word count: 980 ms (s=14480868, size=354032)
Word count: 965 ms (s=14480868, size=354032)
Contains: 536 ms (s=7961072, size=354032)
Contains: 551 ms (s=7961072, size=354032)
Total: 1516 ms
Total: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 993 ms (s=14480868, size=354032)
Word count: 971 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Contains: 551 ms (s=7961072, size=354032)
Total: 1535 ms
Total: 1522 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1142 ms (s=14480868, size=354032)
Word count: 1139 ms (s=14480868, size=354032)
Contains: 655 ms (s=7961072, size=354032)
Contains: 678 ms (s=7961072, size=354032)
Total: 1797 ms
Total: 1817 ms
foa::concurrent_table, single threaded:
Word count: 931 ms (s=14480868, size=354032)
Word count: 935 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Total: 1468 ms
Total: 1475 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1463 ms (s=14480868, size=354032)
Word count: 1487 ms (s=14480868, size=354032)
Contains: 771 ms (s=7961072, size=354032)
Contains: 789 ms (s=7961072, size=354032)
Total: 2234 ms
Total: 2277 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 473 ms (s=14480868, size=354032)
Word count: 465 ms (s=14480868, size=354032)
Contains: 288 ms (s=7961072, size=354032)
Contains: 283 ms (s=7961072, size=354032)
Total: 761 ms
Total: 749 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1136 ms (s=14480868, size=354032)
Word count: 715 ms (s=14480868, size=354032)
Contains: 275 ms (s=7961072, size=354032)
Contains: 263 ms (s=7961072, size=354032)
Total: 1412 ms
Total: 979 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 525 ms (s=14480868, size=354032)
Word count: 394 ms (s=14480868, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 732 ms
Total: 600 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 428 ms (s=14480868, size=354032)
Word count: 427 ms (s=14480868, size=354032)
Contains: 340 ms (s=7961072, size=354032)
Contains: 343 ms (s=7961072, size=354032)
Total: 769 ms
Total: 771 ms
cfoa:
Word count: 729 ms (s=14480868, size=354032)
Word count: 705 ms (s=14480868, size=354032)
Contains: 185 ms (s=7961072, size=354032)
Contains: 240 ms (s=7961072, size=354032)
Total: 915 ms
Total: 945 ms
cfoa, tbb::spin_rw_mutex:
Word count: 743 ms (s=14480868, size=354032)
Word count: 843 ms (s=14480868, size=354032)
Contains: 189 ms (s=7961072, size=354032)
Contains: 217 ms (s=7961072, size=354032)
Total: 933 ms
Total: 1060 ms
cfoa, std::shared_mutex:
Word count: 625 ms (s=14480868, size=354032)
Word count: 598 ms (s=14480868, size=354032)
Contains: 213 ms (s=7961072, size=354032)
Contains: 226 ms (s=7961072, size=354032)
Total: 838 ms
Total: 824 ms
foa::concurrent_table:
Word count: 542 ms (s=14480868, size=354032)
Word count: 600 ms (s=14480868, size=354032)
Contains: 160 ms (s=7961072, size=354032)
Contains: 164 ms (s=7961072, size=354032)
Total: 702 ms
Total: 765 ms
tbb::concurrent_hash_map:
Word count: 649 ms (s=14480868, size=354032)
Word count: 633 ms (s=14480868, size=354032)
Contains: 229 ms (s=7961072, size=354032)
Contains: 223 ms (s=7961072, size=354032)
Total: 879 ms
Total: 857 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 739 ms (s=14480868, size=354032)
Word count: 730 ms (s=14480868, size=354032)
Contains: 384 ms (s=7961072, size=354032)
Contains: 352 ms (s=7961072, size=354032)
Total: 1124 ms
Total: 1082 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1745 ms (s=14480868, size=354032)
Word count: 1436 ms (s=14480868, size=354032)
Contains: 329 ms (s=7961072, size=354032)
Contains: 322 ms (s=7961072, size=354032)
Total: 2075 ms
Total: 1759 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 1134 ms (s=14480868, size=354032)
Word count: 748 ms (s=14480868, size=354032)
Contains: 330 ms (s=7961072, size=354032)
Total: 1465 ms
Total: 1078 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1073 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1496 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1159 ms
cfoa, single threaded: 1516 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1535 ms
cfoa, std::shared_mutex, single threaded: 1797 ms
foa::concurrent_table, single threaded: 1468 ms
tbb::concurrent_hash_map, single threaded: 2234 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 761 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1412 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 732 ms
boost::unordered_flat_map, sharded isolated, prehashed: 769 ms
cfoa: 915 ms
cfoa, tbb::spin_rw_mutex: 933 ms
cfoa, std::shared_mutex: 838 ms
foa::concurrent_table: 702 ms
tbb::concurrent_hash_map: 879 ms
gtl::parallel_flat_hash_map<std::mutex>: 1124 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2075 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1465 ms
boost::unordered_flat_map, single threaded: 1067 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1494 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1149 ms
cfoa, single threaded: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1522 ms
cfoa, std::shared_mutex, single threaded: 1817 ms
foa::concurrent_table, single threaded: 1475 ms
tbb::concurrent_hash_map, single threaded: 2277 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 749 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 979 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 600 ms
boost::unordered_flat_map, sharded isolated, prehashed: 771 ms
cfoa: 945 ms
cfoa, tbb::spin_rw_mutex: 1060 ms
cfoa, std::shared_mutex: 824 ms
foa::concurrent_table: 765 ms
tbb::concurrent_hash_map: 857 ms
gtl::parallel_flat_hash_map<std::mutex>: 1082 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1759 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1078 ms