updated benchmark results

This commit is contained in:
joaquintides
2023-03-16 06:06:41 -04:00
parent 3d93179e6c
commit 9b7a517ee9

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 959654
enwik8: 14480868 words, 6921 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1039581
enwik8: 14480868 words, 6968 ms
boost::unordered_flat_map, single threaded:
Word count: 676 ms (s=14480868, size=354032)
Word count: 688 ms (s=14480868, size=354032)
Contains: 367 ms (s=7961072, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Total: 1044 ms
Total: 1058 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 930 ms (s=14480868, size=354032)
Word count: 942 ms (s=14480868, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Contains: 546 ms (s=7961072, size=354032)
Total: 1475 ms
Total: 1488 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 712 ms (s=14480868, size=354032)
Word count: 724 ms (s=14480868, size=354032)
Contains: 415 ms (s=7961072, size=354032)
Contains: 416 ms (s=7961072, size=354032)
Total: 1127 ms
Total: 1141 ms
cfoa, single threaded:
Word count: 949 ms (s=14480868, size=354032)
Word count: 966 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Contains: 539 ms (s=7961072, size=354032)
Total: 1486 ms
Total: 1506 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 967 ms (s=14480868, size=354032)
Word count: 969 ms (s=14480868, size=354032)
Contains: 542 ms (s=7961072, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1509 ms
Total: 1514 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1111 ms (s=14480868, size=354032)
Word count: 1125 ms (s=14480868, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Contains: 655 ms (s=7961072, size=354032)
Total: 1764 ms
Total: 1781 ms
foa::concurrent_table, single threaded:
Word count: 949 ms (s=14480868, size=354032)
Word count: 981 ms (s=14480868, size=354032)
Contains: 540 ms (s=7961072, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1489 ms
Total: 1525 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1458 ms (s=14480868, size=354032)
Word count: 1476 ms (s=14480868, size=354032)
Contains: 777 ms (s=7961072, size=354032)
Contains: 787 ms (s=7961072, size=354032)
Total: 2236 ms
Total: 2264 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 464 ms (s=14480868, size=354032)
Word count: 481 ms (s=14480868, size=354032)
Contains: 287 ms (s=7961072, size=354032)
Contains: 299 ms (s=7961072, size=354032)
Total: 752 ms
Total: 780 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 827 ms (s=14480868, size=354032)
Word count: 1245 ms (s=14480868, size=354032)
Contains: 278 ms (s=7961072, size=354032)
Contains: 283 ms (s=7961072, size=354032)
Total: 1105 ms
Total: 1528 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 470 ms (s=14480868, size=354032)
Word count: 630 ms (s=14480868, size=354032)
Contains: 209 ms (s=7961072, size=354032)
Contains: 205 ms (s=7961072, size=354032)
Total: 680 ms
Total: 835 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 405 ms (s=14480868, size=354032)
Word count: 423 ms (s=14480868, size=354032)
Contains: 348 ms (s=7961072, size=354032)
Contains: 324 ms (s=7961072, size=354032)
Total: 753 ms
Total: 748 ms
cfoa:
Word count: 479 ms (s=14480868, size=354032)
Word count: 501 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Contains: 181 ms (s=7961072, size=354032)
Total: 661 ms
Total: 682 ms
cfoa, tbb::spin_rw_mutex:
Word count: 508 ms (s=14480868, size=354032)
Contains: 179 ms (s=7961072, size=354032)
Total: 687 ms
cfoa, std::shared_mutex:
Word count: 505 ms (s=14480868, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Total: 716 ms
foa::concurrent_table:
Word count: 678 ms (s=14480868, size=354032)
Word count: 501 ms (s=14480868, size=354032)
Contains: 189 ms (s=7961072, size=354032)
Total: 867 ms
Total: 691 ms
cfoa, std::shared_mutex:
Word count: 542 ms (s=14480868, size=354032)
Contains: 202 ms (s=7961072, size=354032)
Total: 744 ms
foa::concurrent_table:
Word count: 602 ms (s=14480868, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Total: 798 ms
tbb::concurrent_hash_map:
Word count: 648 ms (s=14480868, size=354032)
Word count: 627 ms (s=14480868, size=354032)
Contains: 227 ms (s=7961072, size=354032)
Contains: 223 ms (s=7961072, size=354032)
Total: 876 ms
Total: 851 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 737 ms (s=14480868, size=354032)
Word count: 733 ms (s=14480868, size=354032)
Contains: 375 ms (s=7961072, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 1113 ms
Total: 1101 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 2876 ms (s=14480868, size=354032)
Word count: 4502 ms (s=14480868, size=354032)
Contains: 322 ms (s=7961072, size=354032)
Contains: 312 ms (s=7961072, size=354032)
Total: 3199 ms
Total: 4814 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 537 ms (s=14480868, size=354032)
Word count: 541 ms (s=14480868, size=354032)
Contains: 449 ms (s=7961072, size=354032)
Contains: 442 ms (s=7961072, size=354032)
Total: 986 ms
Total: 984 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1044 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1475 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1127 ms
cfoa, single threaded: 1486 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1509 ms
cfoa, std::shared_mutex, single threaded: 1764 ms
foa::concurrent_table, single threaded: 1489 ms
tbb::concurrent_hash_map, single threaded: 2236 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1105 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 680 ms
boost::unordered_flat_map, sharded isolated, prehashed: 753 ms
cfoa: 661 ms
cfoa, tbb::spin_rw_mutex: 687 ms
cfoa, std::shared_mutex: 716 ms
foa::concurrent_table: 867 ms
tbb::concurrent_hash_map: 876 ms
gtl::parallel_flat_hash_map<std::mutex>: 1113 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3199 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 986 ms
boost::unordered_flat_map, single threaded: 1058 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1488 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1141 ms
cfoa, single threaded: 1506 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1514 ms
cfoa, std::shared_mutex, single threaded: 1781 ms
foa::concurrent_table, single threaded: 1525 ms
tbb::concurrent_hash_map, single threaded: 2264 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 780 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1528 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 835 ms
boost::unordered_flat_map, sharded isolated, prehashed: 748 ms
cfoa: 682 ms
cfoa, tbb::spin_rw_mutex: 691 ms
cfoa, std::shared_mutex: 744 ms
foa::concurrent_table: 798 ms
tbb::concurrent_hash_map: 851 ms
gtl::parallel_flat_hash_map<std::mutex>: 1101 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 4814 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 984 ms