updated benchmark results

This commit is contained in:
joaquintides
2023-03-14 14:32:11 -04:00
parent 0262edc2b4
commit 0a195cbd42

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 735311
enwik8: 14480868 words, 6965 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 775339
enwik8: 14480868 words, 7012 ms
boost::unordered_flat_map, single threaded:
Word count: 710 ms (s=14480868, size=354032)
Word count: 678 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Total: 1079 ms
Total: 1047 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 935 ms (s=14480868, size=354032)
Word count: 931 ms (s=14480868, size=354032)
Contains: 545 ms (s=7961072, size=354032)
Total: 1481 ms
Total: 1477 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 715 ms (s=14480868, size=354032)
Word count: 712 ms (s=14480868, size=354032)
Contains: 415 ms (s=7961072, size=354032)
Total: 1130 ms
Total: 1127 ms
cfoa, single threaded:
Word count: 962 ms (s=14480868, size=354032)
Word count: 951 ms (s=14480868, size=354032)
Contains: 535 ms (s=7961072, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Total: 1498 ms
Total: 1489 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 956 ms (s=14480868, size=354032)
Word count: 968 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Contains: 541 ms (s=7961072, size=354032)
Total: 1499 ms
Total: 1510 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1113 ms (s=14480868, size=354032)
Word count: 1114 ms (s=14480868, size=354032)
Contains: 662 ms (s=7961072, size=354032)
Contains: 652 ms (s=7961072, size=354032)
Total: 1776 ms
Total: 1767 ms
foa::concurrent_table, single threaded:
Word count: 931 ms (s=14480868, size=354032)
Word count: 943 ms (s=14480868, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Total: 1472 ms
Total: 1484 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1454 ms (s=14480868, size=354032)
Word count: 1460 ms (s=14480868, size=354032)
Contains: 770 ms (s=7961072, size=354032)
Contains: 778 ms (s=7961072, size=354032)
Total: 2225 ms
Total: 2239 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 474 ms (s=14480868, size=354032)
Word count: 468 ms (s=14480868, size=354032)
Contains: 290 ms (s=7961072, size=354032)
Contains: 285 ms (s=7961072, size=354032)
Total: 764 ms
Total: 753 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 875 ms (s=14480868, size=354032)
Word count: 1843 ms (s=14480868, size=354032)
Contains: 281 ms (s=7961072, size=354032)
Contains: 277 ms (s=7961072, size=354032)
Total: 1156 ms
Total: 2120 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 566 ms (s=14480868, size=354032)
Word count: 374 ms (s=14480868, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Contains: 215 ms (s=7961072, size=354032)
Total: 772 ms
Total: 589 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 415 ms (s=14480868, size=354032)
Word count: 411 ms (s=14480868, size=354032)
Contains: 344 ms (s=7961072, size=354032)
Contains: 325 ms (s=7961072, size=354032)
Total: 760 ms
Total: 736 ms
cfoa:
Word count: 486 ms (s=14480868, size=354032)
Word count: 497 ms (s=14480868, size=354032)
Contains: 184 ms (s=7961072, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Total: 671 ms
Total: 693 ms
cfoa, tbb::spin_rw_mutex:
Word count: 511 ms (s=14480868, size=354032)
Word count: 489 ms (s=14480868, size=354032)
Contains: 183 ms (s=7961072, size=354032)
Total: 694 ms
Total: 672 ms
cfoa, std::shared_mutex:
Word count: 552 ms (s=14480868, size=354032)
Word count: 544 ms (s=14480868, size=354032)
Contains: 209 ms (s=7961072, size=354032)
Contains: 219 ms (s=7961072, size=354032)
Total: 762 ms
Total: 764 ms
foa::concurrent_table:
Word count: 572 ms (s=14480868, size=354032)
Word count: 675 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 755 ms
Total: 857 ms
tbb::concurrent_hash_map:
Word count: 635 ms (s=14480868, size=354032)
Word count: 651 ms (s=14480868, size=354032)
Contains: 227 ms (s=7961072, size=354032)
Contains: 228 ms (s=7961072, size=354032)
Total: 863 ms
Total: 879 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 731 ms (s=14480868, size=354032)
Word count: 733 ms (s=14480868, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Contains: 366 ms (s=7961072, size=354032)
Total: 1099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1461 ms (s=14480868, size=354032)
Word count: 3182 ms (s=14480868, size=354032)
Contains: 314 ms (s=7961072, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Total: 1776 ms
Total: 3503 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 611 ms (s=14480868, size=354032)
Word count: 457 ms (s=14480868, size=354032)
Contains: 370 ms (s=7961072, size=354032)
Total: 982 ms
Total: 828 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1079 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1481 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1130 ms
cfoa, single threaded: 1498 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1499 ms
cfoa, std::shared_mutex, single threaded: 1776 ms
foa::concurrent_table, single threaded: 1472 ms
tbb::concurrent_hash_map, single threaded: 2225 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 764 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1156 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 772 ms
boost::unordered_flat_map, sharded isolated, prehashed: 760 ms
cfoa: 671 ms
cfoa, tbb::spin_rw_mutex: 694 ms
cfoa, std::shared_mutex: 762 ms
foa::concurrent_table: 755 ms
tbb::concurrent_hash_map: 863 ms
boost::unordered_flat_map, single threaded: 1047 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1477 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>: 1776 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 982 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3503 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 828 ms