updated benchmark results

This commit is contained in:
joaquintides
2023-03-24 05:09:57 -04:00
parent 0229aaa10a
commit 21bcdf79f4

View File

@@ -1,9 +1,9 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2402866
enwik8: 14480868 words, 6931 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2530095
enwik8: 14480868 words, 6951 ms
boost::unordered_flat_map, single threaded:
Word count: 684 ms (s=14480868, size=354032)
Word count: 683 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
@@ -13,9 +13,9 @@ boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 937 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1479 ms
Total: 1480 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
@@ -27,11 +27,11 @@ Total: 1139 ms
cfoa, single threaded:
Word count: 978 ms (s=14480868, size=354032)
Word count: 979 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Total: 1516 ms
Total: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded:
@@ -39,13 +39,13 @@ Word count: 989 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1533 ms
Total: 1532 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1147 ms (s=14480868, size=354032)
Word count: 1146 ms (s=14480868, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Total: 1799 ms
@@ -59,128 +59,128 @@ Total: 1497 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1471 ms (s=14480868, size=354032)
Word count: 1469 ms (s=14480868, size=354032)
Contains: 773 ms (s=7961072, size=354032)
Contains: 774 ms (s=7961072, size=354032)
Total: 2245 ms
Total: 2243 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 469 ms (s=14480868, size=354032)
Word count: 476 ms (s=14480868, size=354032)
Contains: 295 ms (s=7961072, size=354032)
Contains: 294 ms (s=7961072, size=354032)
Total: 764 ms
Total: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1246 ms (s=14480868, size=354032)
Word count: 1236 ms (s=14480868, size=354032)
Contains: 281 ms (s=7961072, size=354032)
Contains: 277 ms (s=7961072, size=354032)
Total: 1527 ms
Total: 1513 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 395 ms (s=14480868, size=354032)
Word count: 413 ms (s=14480868, size=354032)
Contains: 214 ms (s=7961072, size=354032)
Contains: 201 ms (s=7961072, size=354032)
Total: 610 ms
Total: 615 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 413 ms (s=14480868, size=354032)
Word count: 418 ms (s=14480868, size=354032)
Contains: 341 ms (s=7961072, size=354032)
Contains: 339 ms (s=7961072, size=354032)
Total: 754 ms
Total: 758 ms
cfoa:
Word count: 630 ms (s=14480868, size=354032)
Word count: 648 ms (s=14480868, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Contains: 184 ms (s=7961072, size=354032)
Total: 817 ms
Total: 832 ms
cfoa, tbb::spin_rw_mutex:
Word count: 700 ms (s=14480868, size=354032)
Word count: 709 ms (s=14480868, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Total: 879 ms
Total: 904 ms
cfoa, std::shared_mutex:
Word count: 580 ms (s=14480868, size=354032)
Word count: 584 ms (s=14480868, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Total: 787 ms
Total: 795 ms
foa::concurrent_table:
Word count: 511 ms (s=14480868, size=354032)
Word count: 629 ms (s=14480868, size=354032)
Contains: 164 ms (s=7961072, size=354032)
Contains: 163 ms (s=7961072, size=354032)
Total: 676 ms
Total: 792 ms
tbb::concurrent_hash_map:
Word count: 631 ms (s=14480868, size=354032)
Word count: 673 ms (s=14480868, size=354032)
Contains: 221 ms (s=7961072, size=354032)
Contains: 217 ms (s=7961072, size=354032)
Total: 853 ms
Total: 890 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 743 ms (s=14480868, size=354032)
Word count: 732 ms (s=14480868, size=354032)
Contains: 376 ms (s=7961072, size=354032)
Contains: 374 ms (s=7961072, size=354032)
Total: 1119 ms
Total: 1107 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 3872 ms (s=14480868, size=354032)
Word count: 902 ms (s=14480868, size=354032)
Contains: 306 ms (s=7961072, size=354032)
Contains: 310 ms (s=7961072, size=354032)
Total: 4179 ms
Total: 1212 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 659 ms (s=14480868, size=354032)
Word count: 520 ms (s=14480868, size=354032)
Contains: 338 ms (s=7961072, size=354032)
Contains: 396 ms (s=7961072, size=354032)
Total: 998 ms
Total: 917 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1053 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1480 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms
cfoa, single threaded: 1516 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1533 ms
cfoa, single threaded: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1532 ms
cfoa, std::shared_mutex, single threaded: 1799 ms
foa::concurrent_table, single threaded: 1497 ms
tbb::concurrent_hash_map, single threaded: 2245 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 764 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1527 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 610 ms
boost::unordered_flat_map, sharded isolated, prehashed: 754 ms
cfoa: 817 ms
cfoa, tbb::spin_rw_mutex: 879 ms
cfoa, std::shared_mutex: 787 ms
foa::concurrent_table: 676 ms
tbb::concurrent_hash_map: 853 ms
gtl::parallel_flat_hash_map<std::mutex>: 1119 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 4179 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 998 ms
tbb::concurrent_hash_map, single threaded: 2243 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1513 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 615 ms
boost::unordered_flat_map, sharded isolated, prehashed: 758 ms
cfoa: 832 ms
cfoa, tbb::spin_rw_mutex: 904 ms
cfoa, std::shared_mutex: 795 ms
foa::concurrent_table: 792 ms
tbb::concurrent_hash_map: 890 ms
gtl::parallel_flat_hash_map<std::mutex>: 1107 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1212 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 917 ms