updated benchmark results

This commit is contained in:
joaquintides
2023-01-20 13:31:44 -05:00
parent 161104cba6
commit c9841c586d

View File

@@ -1,25 +1,25 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 707377
enwik8: 14480868 words, 6910 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 722508
enwik8: 14480868 words, 6896 ms
boost::unordered_flat_map, single threaded:
Word count: 633 ms (s=14480868, size=354032)
Word count: 635 ms (s=14480868, size=354032)
Contains: 451 ms (s=7961072, size=354032)
Total: 1084 ms
Total: 1086 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 870 ms (s=14480868, size=354032)
Word count: 872 ms (s=14480868, size=354032)
Contains: 614 ms (s=7961072, size=354032)
Contains: 615 ms (s=7961072, size=354032)
Total: 1484 ms
Total: 1487 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 661 ms (s=14480868, size=354032)
Word count: 662 ms (s=14480868, size=354032)
Contains: 484 ms (s=7961072, size=354032)
@@ -27,142 +27,142 @@ Total: 1146 ms
concurrent_foa, single threaded:
Word count: 820 ms (s=14480868, size=354032)
Word count: 823 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1364 ms
Total: 1368 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 817 ms (s=14480868, size=354032)
Word count: 819 ms (s=14480868, size=354032)
Contains: 563 ms (s=7961072, size=354032)
Contains: 564 ms (s=7961072, size=354032)
Total: 1381 ms
Total: 1383 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 968 ms (s=14480868, size=354032)
Word count: 969 ms (s=14480868, size=354032)
Contains: 692 ms (s=7961072, size=354032)
Total: 1660 ms
Total: 1661 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1493 ms (s=14480868, size=354032)
Word count: 1490 ms (s=14480868, size=354032)
Contains: 852 ms (s=7961072, size=354032)
Total: 2346 ms
Total: 2343 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 489 ms (s=14480868, size=354032)
Word count: 475 ms (s=14480868, size=354032)
Contains: 276 ms (s=7961072, size=354032)
Contains: 269 ms (s=7961072, size=354032)
Total: 765 ms
Total: 744 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1448 ms (s=14480868, size=354032)
Word count: 897 ms (s=14480868, size=354032)
Contains: 264 ms (s=7961072, size=354032)
Contains: 261 ms (s=7961072, size=354032)
Total: 1713 ms
Total: 1159 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 453 ms (s=14480868, size=354032)
Word count: 487 ms (s=14480868, size=354032)
Contains: 199 ms (s=7961072, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 653 ms
Total: 669 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 440 ms (s=14480868, size=354032)
Contains: 386 ms (s=7961072, size=354032)
Total: 827 ms
concurrent foa:
Word count: 416 ms (s=14480868, size=354032)
Contains: 181 ms (s=7961072, size=354032)
Total: 597 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 428 ms (s=14480868, size=354032)
Contains: 190 ms (s=7961072, size=354032)
Total: 618 ms
concurrent foa, std::shared_mutex:
Word count: 538 ms (s=14480868, size=354032)
Contains: 209 ms (s=7961072, size=354032)
Total: 747 ms
tbb::concurrent_hash_map:
Word count: 633 ms (s=14480868, size=354032)
Contains: 214 ms (s=7961072, size=354032)
Total: 848 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 625 ms (s=14480868, size=354032)
Contains: 388 ms (s=7961072, size=354032)
Total: 1014 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1762 ms (s=14480868, size=354032)
Contains: 324 ms (s=7961072, size=354032)
Total: 2086 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 527 ms (s=14480868, size=354032)
Word count: 426 ms (s=14480868, size=354032)
Contains: 398 ms (s=7961072, size=354032)
Total: 925 ms
Total: 824 ms
concurrent foa:
Word count: 428 ms (s=14480868, size=354032)
Contains: 179 ms (s=7961072, size=354032)
Total: 607 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 431 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Total: 622 ms
concurrent foa, std::shared_mutex:
Word count: 501 ms (s=14480868, size=354032)
Contains: 217 ms (s=7961072, size=354032)
Total: 719 ms
tbb::concurrent_hash_map:
Word count: 651 ms (s=14480868, size=354032)
Contains: 232 ms (s=7961072, size=354032)
Total: 884 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 619 ms (s=14480868, size=354032)
Contains: 386 ms (s=7961072, size=354032)
Total: 1006 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1981 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Total: 2302 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 537 ms (s=14480868, size=354032)
Contains: 350 ms (s=7961072, size=354032)
Total: 887 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1084 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1484 ms
boost::unordered_flat_map, single threaded: 1086 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1487 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1146 ms
concurrent_foa, single threaded: 1364 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1381 ms
concurrent_foa, std::shared_mutex, single threaded: 1660 ms
tbb::concurrent_hash_map, single threaded: 2346 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 765 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1713 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 653 ms
boost::unordered_flat_map, sharded isolated, prehashed: 827 ms
concurrent foa: 597 ms
concurrent foa, tbb::spin_rw_mutex: 618 ms
concurrent foa, std::shared_mutex: 747 ms
tbb::concurrent_hash_map: 848 ms
gtl::parallel_flat_hash_map<std::mutex>: 1014 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2086 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 925 ms
concurrent_foa, single threaded: 1368 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1383 ms
concurrent_foa, std::shared_mutex, single threaded: 1661 ms
tbb::concurrent_hash_map, single threaded: 2343 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 744 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1159 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 669 ms
boost::unordered_flat_map, sharded isolated, prehashed: 824 ms
concurrent foa: 607 ms
concurrent foa, tbb::spin_rw_mutex: 622 ms
concurrent foa, std::shared_mutex: 719 ms
tbb::concurrent_hash_map: 884 ms
gtl::parallel_flat_hash_map<std::mutex>: 1006 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2302 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 887 ms