updated benchmark results

This commit is contained in:
joaquintides
2023-03-24 04:51:39 -04:00
parent e201e5cda3
commit ed2e5997f7

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2364387
enwik8: 14480868 words, 6888 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2505946
enwik8: 14480868 words, 6864 ms
boost::unordered_flat_map, single threaded:
Word count: 668 ms (s=14480868, size=354032)
Word count: 667 ms (s=14480868, size=354032)
Contains: 463 ms (s=7961072, size=354032)
Contains: 467 ms (s=7961072, size=354032)
Total: 1132 ms
Total: 1134 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 909 ms (s=14480868, size=354032)
Word count: 906 ms (s=14480868, size=354032)
Contains: 650 ms (s=7961072, size=354032)
Contains: 688 ms (s=7961072, size=354032)
Total: 1559 ms
Total: 1595 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 711 ms (s=14480868, size=354032)
Word count: 710 ms (s=14480868, size=354032)
Contains: 515 ms (s=7961072, size=354032)
Contains: 518 ms (s=7961072, size=354032)
Total: 1226 ms
Total: 1228 ms
cfoa, single threaded:
Word count: 900 ms (s=14480868, size=354032)
Word count: 907 ms (s=14480868, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Contains: 572 ms (s=7961072, size=354032)
Total: 1471 ms
Total: 1480 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 897 ms (s=14480868, size=354032)
Contains: 585 ms (s=7961072, size=354032)
Contains: 584 ms (s=7961072, size=354032)
Total: 1483 ms
Total: 1481 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1051 ms (s=14480868, size=354032)
Word count: 1052 ms (s=14480868, size=354032)
Contains: 746 ms (s=7961072, size=354032)
Contains: 743 ms (s=7961072, size=354032)
Total: 1798 ms
Total: 1796 ms
foa::concurrent_table, single threaded:
Word count: 895 ms (s=14480868, size=354032)
Word count: 907 ms (s=14480868, size=354032)
Contains: 571 ms (s=7961072, size=354032)
Contains: 572 ms (s=7961072, size=354032)
Total: 1466 ms
Total: 1480 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1529 ms (s=14480868, size=354032)
Word count: 1533 ms (s=14480868, size=354032)
Contains: 848 ms (s=7961072, size=354032)
Contains: 859 ms (s=7961072, size=354032)
Total: 2378 ms
Total: 2393 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 476 ms (s=14480868, size=354032)
Word count: 482 ms (s=14480868, size=354032)
Contains: 273 ms (s=7961072, size=354032)
Contains: 282 ms (s=7961072, size=354032)
Total: 750 ms
Total: 765 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 897 ms (s=14480868, size=354032)
Word count: 972 ms (s=14480868, size=354032)
Contains: 268 ms (s=7961072, size=354032)
Contains: 266 ms (s=7961072, size=354032)
Total: 1165 ms
Total: 1239 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 394 ms (s=14480868, size=354032)
Word count: 400 ms (s=14480868, size=354032)
Contains: 197 ms (s=7961072, size=354032)
Contains: 200 ms (s=7961072, size=354032)
Total: 591 ms
Total: 601 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 380 ms (s=14480868, size=354032)
Word count: 405 ms (s=14480868, size=354032)
Contains: 403 ms (s=7961072, size=354032)
Contains: 360 ms (s=7961072, size=354032)
Total: 783 ms
Total: 766 ms
cfoa:
Word count: 540 ms (s=14480868, size=354032)
Word count: 586 ms (s=14480868, size=354032)
Contains: 196 ms (s=7961072, size=354032)
Contains: 193 ms (s=7961072, size=354032)
Total: 737 ms
Total: 779 ms
cfoa, tbb::spin_rw_mutex:
Word count: 555 ms (s=14480868, size=354032)
Word count: 617 ms (s=14480868, size=354032)
Contains: 184 ms (s=7961072, size=354032)
Contains: 192 ms (s=7961072, size=354032)
Total: 739 ms
Total: 809 ms
cfoa, std::shared_mutex:
Word count: 558 ms (s=14480868, size=354032)
Contains: 207 ms (s=7961072, size=354032)
Contains: 223 ms (s=7961072, size=354032)
Total: 765 ms
Total: 781 ms
foa::concurrent_table:
Word count: 616 ms (s=14480868, size=354032)
Word count: 643 ms (s=14480868, size=354032)
Contains: 176 ms (s=7961072, size=354032)
Contains: 178 ms (s=7961072, size=354032)
Total: 792 ms
Total: 822 ms
tbb::concurrent_hash_map:
Word count: 642 ms (s=14480868, size=354032)
Word count: 649 ms (s=14480868, size=354032)
Contains: 245 ms (s=7961072, size=354032)
Contains: 251 ms (s=7961072, size=354032)
Total: 887 ms
Total: 900 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 647 ms (s=14480868, size=354032)
Word count: 653 ms (s=14480868, size=354032)
Contains: 351 ms (s=7961072, size=354032)
Contains: 366 ms (s=7961072, size=354032)
Total: 999 ms
Total: 1019 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 2062 ms (s=14480868, size=354032)
Word count: 1276 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Contains: 314 ms (s=7961072, size=354032)
Total: 2383 ms
Total: 1591 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 507 ms (s=14480868, size=354032)
Word count: 598 ms (s=14480868, size=354032)
Contains: 335 ms (s=7961072, size=354032)
Contains: 355 ms (s=7961072, size=354032)
Total: 842 ms
Total: 953 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1559 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms
cfoa, single threaded: 1471 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1483 ms
cfoa, std::shared_mutex, single threaded: 1798 ms
foa::concurrent_table, single threaded: 1466 ms
tbb::concurrent_hash_map, single threaded: 2378 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 750 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1165 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 591 ms
boost::unordered_flat_map, sharded isolated, prehashed: 783 ms
cfoa: 737 ms
cfoa, tbb::spin_rw_mutex: 739 ms
cfoa, std::shared_mutex: 765 ms
foa::concurrent_table: 792 ms
tbb::concurrent_hash_map: 887 ms
gtl::parallel_flat_hash_map<std::mutex>: 999 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2383 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 842 ms
boost::unordered_flat_map, single threaded: 1134 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1595 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1228 ms
cfoa, single threaded: 1480 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1481 ms
cfoa, std::shared_mutex, single threaded: 1796 ms
foa::concurrent_table, single threaded: 1480 ms
tbb::concurrent_hash_map, single threaded: 2393 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 765 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1239 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 601 ms
boost::unordered_flat_map, sharded isolated, prehashed: 766 ms
cfoa: 779 ms
cfoa, tbb::spin_rw_mutex: 809 ms
cfoa, std::shared_mutex: 781 ms
foa::concurrent_table: 822 ms
tbb::concurrent_hash_map: 900 ms
gtl::parallel_flat_hash_map<std::mutex>: 1019 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1591 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 953 ms