updated benchmark results

This commit is contained in:
joaquintides
2023-03-22 14:46:58 -04:00
parent 533ac8567f
commit f86cbab205

View File

@@ -1,33 +1,33 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2062588
enwik8: 14480868 words, 6871 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2355355
enwik8: 14480868 words, 6941 ms
boost::unordered_flat_map, single threaded:
Word count: 683 ms (s=14480868, size=354032)
Word count: 686 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Total: 1052 ms
Total: 1056 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 936 ms (s=14480868, size=354032)
Word count: 935 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Total: 1479 ms
Total: 1478 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 715 ms (s=14480868, size=354032)
Contains: 424 ms (s=7961072, size=354032)
Contains: 423 ms (s=7961072, size=354032)
Total: 1139 ms
cfoa, single threaded:
Word count: 979 ms (s=14480868, size=354032)
Word count: 980 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
@@ -35,152 +35,152 @@ Total: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 992 ms (s=14480868, size=354032)
Word count: 990 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1535 ms
Total: 1533 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1146 ms (s=14480868, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Contains: 651 ms (s=7961072, size=354032)
Total: 1798 ms
foa::concurrent_table, single threaded:
Word count: 969 ms (s=14480868, size=354032)
Word count: 958 ms (s=14480868, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Total: 1510 ms
Total: 1498 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1470 ms (s=14480868, size=354032)
Contains: 772 ms (s=7961072, size=354032)
Contains: 774 ms (s=7961072, size=354032)
Total: 2243 ms
Total: 2245 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 472 ms (s=14480868, size=354032)
Word count: 499 ms (s=14480868, size=354032)
Contains: 288 ms (s=7961072, size=354032)
Contains: 292 ms (s=7961072, size=354032)
Total: 761 ms
Total: 792 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1125 ms (s=14480868, size=354032)
Word count: 2183 ms (s=14480868, size=354032)
Contains: 251 ms (s=7961072, size=354032)
Contains: 268 ms (s=7961072, size=354032)
Total: 1377 ms
Total: 2452 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 381 ms (s=14480868, size=354032)
Word count: 668 ms (s=14480868, size=354032)
Contains: 222 ms (s=7961072, size=354032)
Contains: 201 ms (s=7961072, size=354032)
Total: 604 ms
Total: 869 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 428 ms (s=14480868, size=354032)
Word count: 426 ms (s=14480868, size=354032)
Contains: 339 ms (s=7961072, size=354032)
Contains: 351 ms (s=7961072, size=354032)
Total: 768 ms
Total: 778 ms
cfoa:
Word count: 598 ms (s=14480868, size=354032)
Word count: 574 ms (s=14480868, size=354032)
Contains: 187 ms (s=7961072, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Total: 786 ms
Total: 761 ms
cfoa, tbb::spin_rw_mutex:
Word count: 698 ms (s=14480868, size=354032)
Word count: 737 ms (s=14480868, size=354032)
Contains: 176 ms (s=7961072, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Total: 874 ms
Total: 915 ms
cfoa, std::shared_mutex:
Word count: 573 ms (s=14480868, size=354032)
Word count: 561 ms (s=14480868, size=354032)
Contains: 212 ms (s=7961072, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 785 ms
Total: 767 ms
foa::concurrent_table:
Word count: 485 ms (s=14480868, size=354032)
Word count: 517 ms (s=14480868, size=354032)
Contains: 160 ms (s=7961072, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Total: 645 ms
Total: 696 ms
tbb::concurrent_hash_map:
Word count: 642 ms (s=14480868, size=354032)
Word count: 629 ms (s=14480868, size=354032)
Contains: 231 ms (s=7961072, size=354032)
Contains: 233 ms (s=7961072, size=354032)
Total: 873 ms
Total: 862 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 732 ms (s=14480868, size=354032)
Word count: 740 ms (s=14480868, size=354032)
Contains: 379 ms (s=7961072, size=354032)
Contains: 360 ms (s=7961072, size=354032)
Total: 1112 ms
Total: 1101 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 802 ms (s=14480868, size=354032)
Word count: 922 ms (s=14480868, size=354032)
Contains: 339 ms (s=7961072, size=354032)
Contains: 311 ms (s=7961072, size=354032)
Total: 1141 ms
Total: 1233 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 549 ms (s=14480868, size=354032)
Word count: 653 ms (s=14480868, size=354032)
Contains: 359 ms (s=7961072, size=354032)
Contains: 516 ms (s=7961072, size=354032)
Total: 908 ms
Total: 1170 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1052 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms
boost::unordered_flat_map, single threaded: 1056 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1478 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms
cfoa, single threaded: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1535 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1533 ms
cfoa, std::shared_mutex, single threaded: 1798 ms
foa::concurrent_table, single threaded: 1510 ms
tbb::concurrent_hash_map, single threaded: 2243 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 761 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1377 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 604 ms
boost::unordered_flat_map, sharded isolated, prehashed: 768 ms
cfoa: 786 ms
cfoa, tbb::spin_rw_mutex: 874 ms
cfoa, std::shared_mutex: 785 ms
foa::concurrent_table: 645 ms
tbb::concurrent_hash_map: 873 ms
gtl::parallel_flat_hash_map<std::mutex>: 1112 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1141 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 908 ms
foa::concurrent_table, single threaded: 1498 ms
tbb::concurrent_hash_map, single threaded: 2245 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 792 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2452 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 869 ms
boost::unordered_flat_map, sharded isolated, prehashed: 778 ms
cfoa: 761 ms
cfoa, tbb::spin_rw_mutex: 915 ms
cfoa, std::shared_mutex: 767 ms
foa::concurrent_table: 696 ms
tbb::concurrent_hash_map: 862 ms
gtl::parallel_flat_hash_map<std::mutex>: 1101 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1233 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1170 ms