updated README.md

This commit is contained in:
joaquintides
2023-01-16 12:58:26 +00:00
parent 9edd43ad88
commit 6a95d857ae

176
README.md
View File

@@ -21,24 +21,24 @@ TBW
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 8530 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12581 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9503 ms
concurrent_foa, single threaded: 13499 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13706 ms
concurrent_foa, std::shared_mutex, single threaded: 17312 ms
tbb::concurrent_hash_map, single threaded: 22757 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6798 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11812 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6865 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7693 ms
concurrent foa: 4891 ms
concurrent foa, tbb::spin_rw_mutex: 4782 ms
concurrent foa, std::shared_mutex: 5239 ms
tbb::concurrent_hash_map: 7351 ms
gtl::parallel_flat_hash_map<std::mutex>: 6820 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 28370 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10060 ms
boost::unordered_flat_map, single threaded: 8540 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12588 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9512 ms
concurrent_foa, single threaded: 13518 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13728 ms
concurrent_foa, std::shared_mutex, single threaded: 17380 ms
tbb::concurrent_hash_map, single threaded: 22773 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6768 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16939 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7212 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7171 ms
concurrent foa: 4826 ms
concurrent foa, tbb::spin_rw_mutex: 4732 ms
concurrent foa, std::shared_mutex: 5264 ms
tbb::concurrent_hash_map: 7582 ms
gtl::parallel_flat_hash_map<std::mutex>: 6694 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 30110 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10346 ms
```
<!--gcc-x64/main.cpp.txt-->
@@ -47,24 +47,24 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11812 ms
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 9316 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12957 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10348 ms
concurrent_foa, single threaded: 12895 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12918 ms
concurrent_foa, std::shared_mutex, single threaded: 14889 ms
boost::unordered_flat_map, single threaded: 9307 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12961 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10344 ms
concurrent_foa, single threaded: 12897 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12926 ms
concurrent_foa, std::shared_mutex, single threaded: 14904 ms
tbb::concurrent_hash_map, single threaded: 23178 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6688 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14580 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7008 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7497 ms
concurrent foa: 4939 ms
concurrent foa, tbb::spin_rw_mutex: 4738 ms
concurrent foa, std::shared_mutex: 5228 ms
tbb::concurrent_hash_map: 7591 ms
gtl::parallel_flat_hash_map<std::mutex>: 8342 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 18044 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12608 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6537 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 15053 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7848 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7479 ms
concurrent foa: 4978 ms
concurrent foa, tbb::spin_rw_mutex: 4853 ms
concurrent foa, std::shared_mutex: 5043 ms
tbb::concurrent_hash_map: 7526 ms
gtl::parallel_flat_hash_map<std::mutex>: 8324 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 19495 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12008 ms
```
<!--clang-x64/main.cpp.txt-->
@@ -77,24 +77,24 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14580 ms
```
main.cpp
Number of threads: 8
boost::unordered_flat_map, single threaded: 5734 ms
boost::unordered_flat_map, single threaded, shared_mutex: 10274 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 6065 ms
concurrent_foa, single threaded: 7331 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 7427 ms
concurrent_foa, std::shared_mutex, single threaded: 11670 ms
tbb::concurrent_hash_map, single threaded: 17495 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5412 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11409 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3448 ms
boost::unordered_flat_map, sharded isolated, prehashed: 4839 ms
concurrent foa: 3649 ms
concurrent foa, tbb::spin_rw_mutex: 3673 ms
concurrent foa, std::shared_mutex: 4694 ms
tbb::concurrent_hash_map: 5341 ms
gtl::parallel_flat_hash_map<std::mutex>: 6259 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11420 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3653 ms
boost::unordered_flat_map, single threaded: 5770 ms
boost::unordered_flat_map, single threaded, shared_mutex: 10263 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 6064 ms
concurrent_foa, single threaded: 7338 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 7380 ms
concurrent_foa, std::shared_mutex, single threaded: 11669 ms
tbb::concurrent_hash_map, single threaded: 17454 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5443 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11307 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3463 ms
boost::unordered_flat_map, sharded isolated, prehashed: 4745 ms
concurrent foa: 3768 ms
concurrent foa, tbb::spin_rw_mutex: 3816 ms
concurrent foa, std::shared_mutex: 4741 ms
tbb::concurrent_hash_map: 5449 ms
gtl::parallel_flat_hash_map<std::mutex>: 6462 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11398 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3679 ms
```
<!--clang-arm64/main.cpp.txt-->
@@ -104,23 +104,23 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11409 ms
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 959 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1416 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1151 ms
concurrent_foa, single threaded: 1481 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1473 ms
concurrent_foa, std::shared_mutex, single threaded: 1767 ms
tbb::concurrent_hash_map, single threaded: 2283 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 844 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 796 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 757 ms
boost::unordered_flat_map, sharded isolated, prehashed: 832 ms
concurrent foa: 677 ms
concurrent foa, tbb::spin_rw_mutex: 643 ms
concurrent foa, std::shared_mutex: 713 ms
tbb::concurrent_hash_map: 870 ms
gtl::parallel_flat_hash_map<std::mutex>: 1169 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2349 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 744 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1417 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1155 ms
concurrent_foa, single threaded: 1479 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1472 ms
concurrent_foa, std::shared_mutex, single threaded: 1766 ms
tbb::concurrent_hash_map, single threaded: 2281 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 847 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1395 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 613 ms
boost::unordered_flat_map, sharded isolated, prehashed: 772 ms
concurrent foa: 649 ms
concurrent foa, tbb::spin_rw_mutex: 633 ms
concurrent foa, std::shared_mutex: 727 ms
tbb::concurrent_hash_map: 853 ms
gtl::parallel_flat_hash_map<std::mutex>: 1141 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1360 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 992 ms
```
<!--gcc-x86/main.cpp.txt-->
@@ -129,24 +129,24 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 796 ms
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 1081 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1480 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1135 ms
concurrent_foa, single threaded: 1357 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1358 ms
concurrent_foa, std::shared_mutex, single threaded: 1634 ms
tbb::concurrent_hash_map, single threaded: 2328 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 736 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2636 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 683 ms
boost::unordered_flat_map, sharded isolated, prehashed: 847 ms
concurrent foa: 606 ms
concurrent foa, tbb::spin_rw_mutex: 608 ms
concurrent foa, std::shared_mutex: 723 ms
tbb::concurrent_hash_map: 830 ms
gtl::parallel_flat_hash_map<std::mutex>: 1031 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 4072 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 969 ms
boost::unordered_flat_map, single threaded: 1082 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1481 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1137 ms
concurrent_foa, single threaded: 1359 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 1360 ms
concurrent_foa, std::shared_mutex, single threaded: 1635 ms
tbb::concurrent_hash_map, single threaded: 2355 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 762 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 3331 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 594 ms
boost::unordered_flat_map, sharded isolated, prehashed: 791 ms
concurrent foa: 608 ms
concurrent foa, tbb::spin_rw_mutex: 616 ms
concurrent foa, std::shared_mutex: 694 ms
tbb::concurrent_hash_map: 884 ms
gtl::parallel_flat_hash_map<std::mutex>: 1020 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 3449 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 992 ms
```
<!--clang-x86/main.cpp.txt-->