updated benchmark results

This commit is contained in:
joaquintides
2023-03-19 08:19:48 -04:00
parent a513d58f50
commit 73b6bbe8ce

View File

@@ -1,13 +1,13 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1636099
enwik8: 14480868 words, 6900 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1724984
enwik8: 14480868 words, 6899 ms
boost::unordered_flat_map, single threaded:
Word count: 667 ms (s=14480868, size=354032)
Word count: 668 ms (s=14480868, size=354032)
Contains: 463 ms (s=7961072, size=354032)
Total: 1131 ms
Total: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex:
@@ -19,7 +19,7 @@ Total: 1562 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)
@@ -31,19 +31,19 @@ Word count: 905 ms (s=14480868, size=354032)
Contains: 570 ms (s=7961072, size=354032)
Total: 1475 ms
Total: 1476 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: 586 ms (s=7961072, size=354032)
Total: 1485 ms
Total: 1484 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1053 ms (s=14480868, size=354032)
Word count: 1052 ms (s=14480868, size=354032)
Contains: 743 ms (s=7961072, size=354032)
@@ -51,71 +51,136 @@ Total: 1796 ms
foa::concurrent_table, single threaded:
Word count: 892 ms (s=14480868, size=354032)
Word count: 888 ms (s=14480868, size=354032)
Contains: 565 ms (s=7961072, size=354032)
Contains: 566 ms (s=7961072, size=354032)
Total: 1458 ms
Total: 1455 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1530 ms (s=14480868, size=354032)
Word count: 1542 ms (s=14480868, size=354032)
Contains: 839 ms (s=7961072, size=354032)
Contains: 848 ms (s=7961072, size=354032)
Total: 2369 ms
Total: 2390 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 474 ms (s=14480868, size=354032)
Word count: 482 ms (s=14480868, size=354032)
Contains: 271 ms (s=7961072, size=354032)
Contains: 272 ms (s=7961072, size=354032)
Total: 746 ms
Total: 755 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 811 ms (s=14480868, size=354032)
Word count: 802 ms (s=14480868, size=354032)
Contains: 269 ms (s=7961072, size=354032)
Contains: 278 ms (s=7961072, size=354032)
Total: 1080 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 439 ms (s=14480868, size=354032)
Contains: 182 ms (s=7961072, size=354032)
Total: 621 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 407 ms (s=14480868, size=354032)
Contains: 388 ms (s=7961072, size=354032)
Total: 796 ms
cfoa:
Word count: 666 ms (s=14480868, size=354032)
Word count: 388 ms (s=14480868, size=354032)
Contains: 193 ms (s=7961072, size=354032)
Total: 860 ms
Total: 581 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 417 ms (s=14480868, size=354032)
Contains: 395 ms (s=7961072, size=354032)
Total: 813 ms
cfoa:
Word count: 538 ms (s=14480868, size=354032)
Contains: 191 ms (s=7961072, size=354032)
Total: 729 ms
cfoa, tbb::spin_rw_mutex:
Word count: 545 ms (s=14480868, size=354032)
Word count: 642 ms (s=14480868, size=354032)
Contains: 186 ms (s=7961072, size=354032)
Contains: 206 ms (s=7961072, size=354032)
Total: 731 ms
Total: 848 ms
cfoa, std::shared_mutex:
Word count: 576 ms (s=14480868, size=354032)
Word count: 580 ms (s=14480868, size=354032)
Contains: 208 ms (s=7961072, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Total: 792 ms
foa::concurrent_table:
Word count: 517 ms (s=14480868, size=354032)
Contains: 168 ms (s=7961072, size=354032)
Total: 686 ms
tbb::concurrent_hash_map:
Word count: 639 ms (s=14480868, size=354032)
Contains: 240 ms (s=7961072, size=354032)
Total: 879 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 652 ms (s=14480868, size=354032)
Contains: 381 ms (s=7961072, size=354032)
Total: 1033 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 826 ms (s=14480868, size=354032)
Contains: 315 ms (s=7961072, size=354032)
Total: 1142 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 569 ms (s=14480868, size=354032)
Contains: 341 ms (s=7961072, size=354032)
Total: 910 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1132 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1562 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms
cfoa, single threaded: 1476 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1484 ms
cfoa, std::shared_mutex, single threaded: 1796 ms
foa::concurrent_table, single threaded: 1455 ms
tbb::concurrent_hash_map, single threaded: 2390 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 755 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1080 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 581 ms
boost::unordered_flat_map, sharded isolated, prehashed: 813 ms
cfoa: 729 ms
cfoa, tbb::spin_rw_mutex: 848 ms
cfoa, std::shared_mutex: 792 ms
foa::concurrent_table: 686 ms
tbb::concurrent_hash_map: 879 ms
gtl::parallel_flat_hash_map<std::mutex>: 1033 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1142 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 910 ms