updated benchmark results

This commit is contained in:
joaquintides
2023-03-14 16:11:12 -04:00
parent 5a93202f3a
commit bdfc0659fb

View File

@@ -1,21 +1,21 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 775339
enwik8: 14480868 words, 7012 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 810187
enwik8: 14480868 words, 6913 ms
boost::unordered_flat_map, single threaded:
Word count: 678 ms (s=14480868, size=354032)
Word count: 677 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 1047 ms
Total: 1045 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 931 ms (s=14480868, size=354032)
Word count: 930 ms (s=14480868, size=354032)
Contains: 545 ms (s=7961072, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1477 ms
Total: 1475 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
@@ -27,160 +27,160 @@ Total: 1127 ms
cfoa, single threaded:
Word count: 951 ms (s=14480868, size=354032)
Word count: 952 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Total: 1489 ms
Total: 1490 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 968 ms (s=14480868, size=354032)
Word count: 967 ms (s=14480868, size=354032)
Contains: 541 ms (s=7961072, size=354032)
Total: 1510 ms
Total: 1509 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1114 ms (s=14480868, size=354032)
Word count: 1112 ms (s=14480868, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Total: 1767 ms
Total: 1764 ms
foa::concurrent_table, single threaded:
Word count: 943 ms (s=14480868, size=354032)
Word count: 947 ms (s=14480868, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Total: 1484 ms
Total: 1487 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1460 ms (s=14480868, size=354032)
Word count: 1455 ms (s=14480868, size=354032)
Contains: 778 ms (s=7961072, size=354032)
Contains: 771 ms (s=7961072, size=354032)
Total: 2239 ms
Total: 2227 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 468 ms (s=14480868, size=354032)
Word count: 481 ms (s=14480868, size=354032)
Contains: 285 ms (s=7961072, size=354032)
Contains: 288 ms (s=7961072, size=354032)
Total: 753 ms
Total: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1843 ms (s=14480868, size=354032)
Word count: 831 ms (s=14480868, size=354032)
Contains: 277 ms (s=7961072, size=354032)
Contains: 283 ms (s=7961072, size=354032)
Total: 2120 ms
Total: 1115 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 374 ms (s=14480868, size=354032)
Word count: 438 ms (s=14480868, size=354032)
Contains: 215 ms (s=7961072, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 589 ms
Total: 643 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 411 ms (s=14480868, size=354032)
Word count: 407 ms (s=14480868, size=354032)
Contains: 325 ms (s=7961072, size=354032)
Contains: 349 ms (s=7961072, size=354032)
Total: 736 ms
Total: 757 ms
cfoa:
Word count: 497 ms (s=14480868, size=354032)
Word count: 493 ms (s=14480868, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Contains: 190 ms (s=7961072, size=354032)
Total: 693 ms
Total: 683 ms
cfoa, tbb::spin_rw_mutex:
Word count: 489 ms (s=14480868, size=354032)
Word count: 471 ms (s=14480868, size=354032)
Contains: 183 ms (s=7961072, size=354032)
Contains: 179 ms (s=7961072, size=354032)
Total: 672 ms
Total: 650 ms
cfoa, std::shared_mutex:
Word count: 544 ms (s=14480868, size=354032)
Word count: 533 ms (s=14480868, size=354032)
Contains: 219 ms (s=7961072, size=354032)
Contains: 215 ms (s=7961072, size=354032)
Total: 764 ms
Total: 748 ms
foa::concurrent_table:
Word count: 675 ms (s=14480868, size=354032)
Word count: 599 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Contains: 187 ms (s=7961072, size=354032)
Total: 857 ms
Total: 786 ms
tbb::concurrent_hash_map:
Word count: 651 ms (s=14480868, size=354032)
Word count: 628 ms (s=14480868, size=354032)
Contains: 228 ms (s=7961072, size=354032)
Contains: 220 ms (s=7961072, size=354032)
Total: 879 ms
Total: 848 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 733 ms (s=14480868, size=354032)
Contains: 366 ms (s=7961072, size=354032)
Total: 1099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 3182 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Total: 3503 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 457 ms (s=14480868, size=354032)
Word count: 739 ms (s=14480868, size=354032)
Contains: 370 ms (s=7961072, size=354032)
Total: 828 ms
Total: 1110 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1572 ms (s=14480868, size=354032)
Contains: 321 ms (s=7961072, size=354032)
Total: 1893 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 567 ms (s=14480868, size=354032)
Contains: 297 ms (s=7961072, size=354032)
Total: 864 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1047 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1477 ms
boost::unordered_flat_map, single threaded: 1045 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1475 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1127 ms
cfoa, single threaded: 1489 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1510 ms
cfoa, std::shared_mutex, single threaded: 1767 ms
foa::concurrent_table, single threaded: 1484 ms
tbb::concurrent_hash_map, single threaded: 2239 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 753 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2120 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 589 ms
boost::unordered_flat_map, sharded isolated, prehashed: 736 ms
cfoa: 693 ms
cfoa, tbb::spin_rw_mutex: 672 ms
cfoa, std::shared_mutex: 764 ms
foa::concurrent_table: 857 ms
tbb::concurrent_hash_map: 879 ms
gtl::parallel_flat_hash_map<std::mutex>: 1099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3503 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 828 ms
cfoa, single threaded: 1490 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1509 ms
cfoa, std::shared_mutex, single threaded: 1764 ms
foa::concurrent_table, single threaded: 1487 ms
tbb::concurrent_hash_map, single threaded: 2227 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1115 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 643 ms
boost::unordered_flat_map, sharded isolated, prehashed: 757 ms
cfoa: 683 ms
cfoa, tbb::spin_rw_mutex: 650 ms
cfoa, std::shared_mutex: 748 ms
foa::concurrent_table: 786 ms
tbb::concurrent_hash_map: 848 ms
gtl::parallel_flat_hash_map<std::mutex>: 1110 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1893 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 864 ms