updated benchmark results

This commit is contained in:
joaquintides
2023-03-17 13:58:00 -04:00
parent 5ae220d0ab
commit f394a4cc5f

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1107173
enwik8: 14480868 words, 6892 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1313847
enwik8: 14480868 words, 6889 ms
boost::unordered_flat_map, single threaded:
Word count: 668 ms (s=14480868, size=354032)
Word count: 670 ms (s=14480868, size=354032)
Contains: 462 ms (s=7961072, size=354032)
Contains: 463 ms (s=7961072, size=354032)
Total: 1130 ms
Total: 1133 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 906 ms (s=14480868, size=354032)
Word count: 908 ms (s=14480868, size=354032)
Contains: 671 ms (s=7961072, size=354032)
Contains: 647 ms (s=7961072, size=354032)
Total: 1578 ms
Total: 1556 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 708 ms (s=14480868, size=354032)
Word count: 712 ms (s=14480868, size=354032)
Contains: 514 ms (s=7961072, size=354032)
Contains: 513 ms (s=7961072, size=354032)
Total: 1223 ms
Total: 1225 ms
cfoa, single threaded:
Word count: 903 ms (s=14480868, size=354032)
Word count: 905 ms (s=14480868, size=354032)
Contains: 573 ms (s=7961072, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Total: 1476 ms
Total: 1475 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 908 ms (s=14480868, size=354032)
Word count: 897 ms (s=14480868, size=354032)
Contains: 572 ms (s=7961072, size=354032)
Contains: 584 ms (s=7961072, size=354032)
Total: 1481 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1056 ms (s=14480868, size=354032)
Word count: 1052 ms (s=14480868, size=354032)
Contains: 727 ms (s=7961072, size=354032)
Contains: 728 ms (s=7961072, size=354032)
Total: 1783 ms
Total: 1781 ms
foa::concurrent_table, single threaded:
Word count: 881 ms (s=14480868, size=354032)
Word count: 891 ms (s=14480868, size=354032)
Contains: 574 ms (s=7961072, size=354032)
Contains: 572 ms (s=7961072, size=354032)
Total: 1455 ms
Total: 1463 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1537 ms (s=14480868, size=354032)
Word count: 1531 ms (s=14480868, size=354032)
Contains: 842 ms (s=7961072, size=354032)
Contains: 845 ms (s=7961072, size=354032)
Total: 2379 ms
Total: 2376 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 476 ms (s=14480868, size=354032)
Word count: 478 ms (s=14480868, size=354032)
Contains: 276 ms (s=7961072, size=354032)
Contains: 289 ms (s=7961072, size=354032)
Total: 752 ms
Total: 767 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1878 ms (s=14480868, size=354032)
Word count: 746 ms (s=14480868, size=354032)
Contains: 281 ms (s=7961072, size=354032)
Contains: 265 ms (s=7961072, size=354032)
Total: 2159 ms
Total: 1012 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 507 ms (s=14480868, size=354032)
Word count: 541 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Contains: 196 ms (s=7961072, size=354032)
Total: 690 ms
Total: 737 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 420 ms (s=14480868, size=354032)
Word count: 418 ms (s=14480868, size=354032)
Contains: 357 ms (s=7961072, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 777 ms
Total: 786 ms
cfoa:
Word count: 581 ms (s=14480868, size=354032)
Word count: 667 ms (s=14480868, size=354032)
Contains: 187 ms (s=7961072, size=354032)
Contains: 183 ms (s=7961072, size=354032)
Total: 769 ms
Total: 851 ms
cfoa, tbb::spin_rw_mutex:
Word count: 663 ms (s=14480868, size=354032)
Word count: 717 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 854 ms
Total: 900 ms
cfoa, std::shared_mutex:
Word count: 601 ms (s=14480868, size=354032)
Word count: 593 ms (s=14480868, size=354032)
Contains: 217 ms (s=7961072, size=354032)
Contains: 218 ms (s=7961072, size=354032)
Total: 818 ms
Total: 811 ms
foa::concurrent_table:
Word count: 684 ms (s=14480868, size=354032)
Word count: 610 ms (s=14480868, size=354032)
Contains: 201 ms (s=7961072, size=354032)
Contains: 199 ms (s=7961072, size=354032)
Total: 886 ms
Total: 810 ms
tbb::concurrent_hash_map:
Word count: 631 ms (s=14480868, size=354032)
Word count: 647 ms (s=14480868, size=354032)
Contains: 241 ms (s=7961072, size=354032)
Contains: 232 ms (s=7961072, size=354032)
Total: 873 ms
Total: 880 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 653 ms (s=14480868, size=354032)
Word count: 646 ms (s=14480868, size=354032)
Contains: 379 ms (s=7961072, size=354032)
Contains: 357 ms (s=7961072, size=354032)
Total: 1033 ms
Total: 1003 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 2265 ms (s=14480868, size=354032)
Word count: 1787 ms (s=14480868, size=354032)
Contains: 323 ms (s=7961072, size=354032)
Contains: 324 ms (s=7961072, size=354032)
Total: 2588 ms
Total: 2112 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 538 ms (s=14480868, size=354032)
Word count: 573 ms (s=14480868, size=354032)
Contains: 348 ms (s=7961072, size=354032)
Contains: 354 ms (s=7961072, size=354032)
Total: 886 ms
Total: 928 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1130 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1578 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1223 ms
cfoa, single threaded: 1476 ms
boost::unordered_flat_map, single threaded: 1133 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1556 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1225 ms
cfoa, single threaded: 1475 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1481 ms
cfoa, std::shared_mutex, single threaded: 1783 ms
foa::concurrent_table, single threaded: 1455 ms
tbb::concurrent_hash_map, single threaded: 2379 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2159 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 690 ms
boost::unordered_flat_map, sharded isolated, prehashed: 777 ms
cfoa: 769 ms
cfoa, tbb::spin_rw_mutex: 854 ms
cfoa, std::shared_mutex: 818 ms
foa::concurrent_table: 886 ms
tbb::concurrent_hash_map: 873 ms
gtl::parallel_flat_hash_map<std::mutex>: 1033 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2588 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 886 ms
cfoa, std::shared_mutex, single threaded: 1781 ms
foa::concurrent_table, single threaded: 1463 ms
tbb::concurrent_hash_map, single threaded: 2376 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 767 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1012 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 737 ms
boost::unordered_flat_map, sharded isolated, prehashed: 786 ms
cfoa: 851 ms
cfoa, tbb::spin_rw_mutex: 900 ms
cfoa, std::shared_mutex: 811 ms
foa::concurrent_table: 810 ms
tbb::concurrent_hash_map: 880 ms
gtl::parallel_flat_hash_map<std::mutex>: 1003 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2112 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 928 ms