updated benchmark results

This commit is contained in:
joaquintides
2023-03-24 15:12:16 -04:00
parent 923c5d3eed
commit 03e2d878e8

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2530095
enwik8: 14480868 words, 6951 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2586808
enwik8: 14480868 words, 6902 ms
boost::unordered_flat_map, single threaded:
Word count: 683 ms (s=14480868, size=354032)
Word count: 680 ms (s=14480868, size=354032)
Contains: 369 ms (s=7961072, size=354032)
Contains: 368 ms (s=7961072, size=354032)
Total: 1053 ms
Total: 1049 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 937 ms (s=14480868, size=354032)
Word count: 935 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Contains: 544 ms (s=7961072, size=354032)
Total: 1480 ms
Total: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 715 ms (s=14480868, size=354032)
Word count: 718 ms (s=14480868, size=354032)
Contains: 423 ms (s=7961072, size=354032)
Contains: 429 ms (s=7961072, size=354032)
Total: 1139 ms
Total: 1147 ms
cfoa, single threaded:
Word count: 979 ms (s=14480868, size=354032)
Word count: 984 ms (s=14480868, size=354032)
Contains: 537 ms (s=7961072, size=354032)
Contains: 535 ms (s=7961072, size=354032)
Total: 1517 ms
Total: 1520 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 989 ms (s=14480868, size=354032)
Word count: 994 ms (s=14480868, size=354032)
Contains: 543 ms (s=7961072, size=354032)
Total: 1532 ms
Total: 1538 ms
cfoa, std::shared_mutex, single threaded:
Word count: 1146 ms (s=14480868, size=354032)
Word count: 1142 ms (s=14480868, size=354032)
Contains: 653 ms (s=7961072, size=354032)
Contains: 650 ms (s=7961072, size=354032)
Total: 1799 ms
Total: 1793 ms
foa::concurrent_table, single threaded:
Word count: 958 ms (s=14480868, size=354032)
Word count: 970 ms (s=14480868, size=354032)
Contains: 539 ms (s=7961072, size=354032)
Contains: 536 ms (s=7961072, size=354032)
Total: 1497 ms
Total: 1506 ms
tbb::concurrent_hash_map, single threaded:
Word count: 1469 ms (s=14480868, size=354032)
Word count: 1475 ms (s=14480868, size=354032)
Contains: 774 ms (s=7961072, size=354032)
Contains: 775 ms (s=7961072, size=354032)
Total: 2243 ms
Total: 2250 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 476 ms (s=14480868, size=354032)
Word count: 470 ms (s=14480868, size=354032)
Contains: 294 ms (s=7961072, size=354032)
Contains: 284 ms (s=7961072, size=354032)
Total: 770 ms
Total: 754 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 1236 ms (s=14480868, size=354032)
Word count: 573 ms (s=14480868, size=354032)
Contains: 277 ms (s=7961072, size=354032)
Contains: 274 ms (s=7961072, size=354032)
Total: 1513 ms
Total: 848 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 413 ms (s=14480868, size=354032)
Contains: 201 ms (s=7961072, size=354032)
Total: 615 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 418 ms (s=14480868, size=354032)
Contains: 339 ms (s=7961072, size=354032)
Total: 758 ms
cfoa:
Word count: 648 ms (s=14480868, size=354032)
Contains: 184 ms (s=7961072, size=354032)
Total: 832 ms
cfoa, tbb::spin_rw_mutex:
Word count: 709 ms (s=14480868, size=354032)
Contains: 195 ms (s=7961072, size=354032)
Total: 904 ms
cfoa, std::shared_mutex:
Word count: 584 ms (s=14480868, size=354032)
Word count: 480 ms (s=14480868, size=354032)
Contains: 211 ms (s=7961072, size=354032)
Total: 795 ms
Total: 691 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 405 ms (s=14480868, size=354032)
Contains: 339 ms (s=7961072, size=354032)
Total: 744 ms
cfoa:
Word count: 664 ms (s=14480868, size=354032)
Contains: 187 ms (s=7961072, size=354032)
Total: 851 ms
cfoa, tbb::spin_rw_mutex:
Word count: 704 ms (s=14480868, size=354032)
Contains: 194 ms (s=7961072, size=354032)
Total: 899 ms
cfoa, std::shared_mutex:
Word count: 597 ms (s=14480868, size=354032)
Contains: 219 ms (s=7961072, size=354032)
Total: 816 ms
foa::concurrent_table:
Word count: 629 ms (s=14480868, size=354032)
Word count: 657 ms (s=14480868, size=354032)
Contains: 163 ms (s=7961072, size=354032)
Contains: 173 ms (s=7961072, size=354032)
Total: 792 ms
Total: 830 ms
tbb::concurrent_hash_map:
Word count: 673 ms (s=14480868, size=354032)
Word count: 640 ms (s=14480868, size=354032)
Contains: 217 ms (s=7961072, size=354032)
Contains: 221 ms (s=7961072, size=354032)
Total: 890 ms
Total: 861 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 732 ms (s=14480868, size=354032)
Word count: 739 ms (s=14480868, size=354032)
Contains: 374 ms (s=7961072, size=354032)
Contains: 355 ms (s=7961072, size=354032)
Total: 1107 ms
Total: 1095 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 902 ms (s=14480868, size=354032)
Word count: 1313 ms (s=14480868, size=354032)
Contains: 310 ms (s=7961072, size=354032)
Contains: 337 ms (s=7961072, size=354032)
Total: 1212 ms
Total: 1650 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 520 ms (s=14480868, size=354032)
Word count: 461 ms (s=14480868, size=354032)
Contains: 396 ms (s=7961072, size=354032)
Contains: 342 ms (s=7961072, size=354032)
Total: 917 ms
Total: 804 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 1053 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1480 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1139 ms
cfoa, single threaded: 1517 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1532 ms
cfoa, std::shared_mutex, single threaded: 1799 ms
foa::concurrent_table, single threaded: 1497 ms
tbb::concurrent_hash_map, single threaded: 2243 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 770 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1513 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 615 ms
boost::unordered_flat_map, sharded isolated, prehashed: 758 ms
cfoa: 832 ms
cfoa, tbb::spin_rw_mutex: 904 ms
cfoa, std::shared_mutex: 795 ms
foa::concurrent_table: 792 ms
tbb::concurrent_hash_map: 890 ms
gtl::parallel_flat_hash_map<std::mutex>: 1107 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1212 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 917 ms
boost::unordered_flat_map, single threaded: 1049 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1479 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1147 ms
cfoa, single threaded: 1520 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1538 ms
cfoa, std::shared_mutex, single threaded: 1793 ms
foa::concurrent_table, single threaded: 1506 ms
tbb::concurrent_hash_map, single threaded: 2250 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 754 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 848 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 691 ms
boost::unordered_flat_map, sharded isolated, prehashed: 744 ms
cfoa: 851 ms
cfoa, tbb::spin_rw_mutex: 899 ms
cfoa, std::shared_mutex: 816 ms
foa::concurrent_table: 830 ms
tbb::concurrent_hash_map: 861 ms
gtl::parallel_flat_hash_map<std::mutex>: 1095 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1650 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 804 ms