updated benchmark results

This commit is contained in:
joaquintides
2023-03-18 08:18:29 -04:00
parent efbdc346e0
commit cdd9bf7a9e

View File

@@ -1,45 +1,45 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1533556
enwik8: 14480868 words, 7011 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1557851
enwik8: 14480868 words, 6878 ms
boost::unordered_flat_map, single threaded:
Word count: 669 ms (s=14480868, size=354032)
Word count: 668 ms (s=14480868, size=354032)
Contains: 462 ms (s=7961072, size=354032)
Contains: 461 ms (s=7961072, size=354032)
Total: 1131 ms
Total: 1130 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 906 ms (s=14480868, size=354032)
Word count: 905 ms (s=14480868, size=354032)
Contains: 647 ms (s=7961072, size=354032)
Contains: 649 ms (s=7961072, size=354032)
Total: 1553 ms
Total: 1554 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 714 ms (s=14480868, size=354032)
Contains: 513 ms (s=7961072, size=354032)
Contains: 516 ms (s=7961072, size=354032)
Total: 1228 ms
Total: 1231 ms
cfoa, single threaded:
Word count: 902 ms (s=14480868, size=354032)
Word count: 908 ms (s=14480868, size=354032)
Contains: 569 ms (s=7961072, size=354032)
Contains: 571 ms (s=7961072, size=354032)
Total: 1472 ms
Total: 1480 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 898 ms (s=14480868, size=354032)
Word count: 897 ms (s=14480868, size=354032)
Contains: 589 ms (s=7961072, size=354032)
Contains: 588 ms (s=7961072, size=354032)
Total: 1487 ms
Total: 1485 ms
cfoa, std::shared_mutex, single threaded:
@@ -51,136 +51,136 @@ Total: 1788 ms
foa::concurrent_table, single threaded:
Word count: 900 ms (s=14480868, size=354032)
Word count: 899 ms (s=14480868, size=354032)
Contains: 567 ms (s=7961072, size=354032)
Contains: 568 ms (s=7961072, size=354032)
Total: 1468 ms
Total: 1467 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1544 ms (s=14480868, size=354032)
Word count: 1543 ms (s=14480868, size=354032)
Contains: 842 ms (s=7961072, size=354032)
Contains: 847 ms (s=7961072, size=354032)
Total: 2387 ms
Total: 2390 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 477 ms (s=14480868, size=354032)
Word count: 478 ms (s=14480868, size=354032)
Contains: 273 ms (s=7961072, size=354032)
Contains: 272 ms (s=7961072, size=354032)
Total: 751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1181 ms (s=14480868, size=354032)
Word count: 758 ms (s=14480868, size=354032)
Contains: 279 ms (s=7961072, size=354032)
Contains: 268 ms (s=7961072, size=354032)
Total: 1460 ms
Total: 1026 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 505 ms (s=14480868, size=354032)
Word count: 476 ms (s=14480868, size=354032)
Contains: 190 ms (s=7961072, size=354032)
Contains: 192 ms (s=7961072, size=354032)
Total: 695 ms
Total: 669 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 385 ms (s=14480868, size=354032)
Word count: 429 ms (s=14480868, size=354032)
Contains: 372 ms (s=7961072, size=354032)
Contains: 365 ms (s=7961072, size=354032)
Total: 757 ms
Total: 794 ms
cfoa:
Word count: 554 ms (s=14480868, size=354032)
Word count: 689 ms (s=14480868, size=354031)
Contains: 185 ms (s=7961072, size=354032)
Contains: 187 ms (s=7961072, size=354031)
Total: 739 ms
Total: 877 ms
cfoa, tbb::spin_rw_mutex:
Word count: 719 ms (s=14480868, size=354032)
Contains: 187 ms (s=7961072, size=354032)
Total: 907 ms
cfoa, std::shared_mutex:
Word count: 602 ms (s=14480868, size=354032)
Contains: 225 ms (s=7961072, size=354032)
Total: 828 ms
foa::concurrent_table:
Word count: 642 ms (s=14480868, size=354032)
Word count: 592 ms (s=14480868, size=354032)
Contains: 183 ms (s=7961072, size=354032)
Total: 826 ms
Total: 776 ms
cfoa, std::shared_mutex:
Word count: 563 ms (s=14480868, size=354032)
Contains: 212 ms (s=7961072, size=354032)
Total: 776 ms
foa::concurrent_table:
Word count: 583 ms (s=14480868, size=354032)
Contains: 179 ms (s=7961072, size=354032)
Total: 763 ms
tbb::concurrent_hash_map:
Word count: 643 ms (s=14480868, size=354032)
Contains: 234 ms (s=7961072, size=354032)
Contains: 236 ms (s=7961072, size=354032)
Total: 877 ms
Total: 880 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 642 ms (s=14480868, size=354032)
Word count: 630 ms (s=14480868, size=354032)
Contains: 366 ms (s=7961072, size=354032)
Contains: 375 ms (s=7961072, size=354032)
Total: 1008 ms
Total: 1006 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 1390 ms (s=14480868, size=354032)
Word count: 1081 ms (s=14480868, size=354032)
Contains: 320 ms (s=7961072, size=354032)
Contains: 323 ms (s=7961072, size=354032)
Total: 1711 ms
Total: 1404 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 609 ms (s=14480868, size=354032)
Word count: 491 ms (s=14480868, size=354032)
Contains: 404 ms (s=7961072, size=354032)
Contains: 364 ms (s=7961072, size=354032)
Total: 1013 ms
Total: 855 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1131 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1553 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1228 ms
cfoa, single threaded: 1472 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1487 ms
boost::unordered_flat_map, single threaded: 1130 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1554 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1231 ms
cfoa, single threaded: 1480 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1485 ms
cfoa, std::shared_mutex, single threaded: 1788 ms
foa::concurrent_table, single threaded: 1468 ms
tbb::concurrent_hash_map, single threaded: 2387 ms
foa::concurrent_table, single threaded: 1467 ms
tbb::concurrent_hash_map, single threaded: 2390 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 751 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1460 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 695 ms
boost::unordered_flat_map, sharded isolated, prehashed: 757 ms
cfoa: 739 ms
cfoa, tbb::spin_rw_mutex: 907 ms
cfoa, std::shared_mutex: 828 ms
foa::concurrent_table: 826 ms
tbb::concurrent_hash_map: 877 ms
gtl::parallel_flat_hash_map<std::mutex>: 1008 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1711 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1013 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1026 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 669 ms
boost::unordered_flat_map, sharded isolated, prehashed: 794 ms
cfoa: 877 ms
cfoa, tbb::spin_rw_mutex: 776 ms
cfoa, std::shared_mutex: 776 ms
foa::concurrent_table: 763 ms
tbb::concurrent_hash_map: 880 ms
gtl::parallel_flat_hash_map<std::mutex>: 1006 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1404 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 855 ms