updated README.md

This commit is contained in:
joaquintides
2023-03-14 14:44:57 +00:00
parent 805cc7bd2d
commit cacf2fdedb

270
README.md
View File

@@ -21,26 +21,26 @@ TBW
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 7792 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11724 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9313 ms
cfoa, single threaded: 12702 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12496 ms
cfoa, std::shared_mutex, single threaded: 14289 ms
foa::concurrent_table, single threaded: 12325 ms
tbb::concurrent_hash_map, single threaded: 22007 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6556 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 22826 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7874 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6432 ms
cfoa: 4576 ms
cfoa, tbb::spin_rw_mutex: 4655 ms
cfoa, std::shared_mutex: 4899 ms
foa::concurrent_table: 4568 ms
tbb::concurrent_hash_map: 7418 ms
gtl::parallel_flat_hash_map<std::mutex>: 7761 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 17729 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10102 ms
boost::unordered_flat_map, single threaded: 7770 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11703 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9284 ms
cfoa, single threaded: 12680 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12470 ms
cfoa, std::shared_mutex, single threaded: 14257 ms
foa::concurrent_table, single threaded: 12315 ms
tbb::concurrent_hash_map, single threaded: 21969 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6619 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 15876 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7103 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6077 ms
cfoa: 4383 ms
cfoa, tbb::spin_rw_mutex: 4934 ms
cfoa, std::shared_mutex: 4854 ms
foa::concurrent_table: 4765 ms
tbb::concurrent_hash_map: 7557 ms
gtl::parallel_flat_hash_map<std::mutex>: 7867 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 15433 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9948 ms
```
<!--gcc-x64/main.cpp.txt-->
@@ -49,26 +49,26 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 22826 ms
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 9241 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12857 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10253 ms
cfoa, single threaded: 12662 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12691 ms
cfoa, std::shared_mutex, single threaded: 14526 ms
foa::concurrent_table, single threaded: 12647 ms
tbb::concurrent_hash_map, single threaded: 23287 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6184 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17724 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7087 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6993 ms
cfoa: 4548 ms
cfoa, tbb::spin_rw_mutex: 4976 ms
cfoa, std::shared_mutex: 5098 ms
foa::concurrent_table: 4812 ms
tbb::concurrent_hash_map: 7533 ms
gtl::parallel_flat_hash_map<std::mutex>: 8016 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 22204 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12188 ms
boost::unordered_flat_map, single threaded: 9533 ms
boost::unordered_flat_map, single threaded, shared_mutex: 13137 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10504 ms
cfoa, single threaded: 12909 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12983 ms
cfoa, std::shared_mutex, single threaded: 14848 ms
foa::concurrent_table, single threaded: 12947 ms
tbb::concurrent_hash_map, single threaded: 23977 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6204 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13453 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7383 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6916 ms
cfoa: 4707 ms
cfoa, tbb::spin_rw_mutex: 4781 ms
cfoa, std::shared_mutex: 5131 ms
foa::concurrent_table: 4908 ms
tbb::concurrent_hash_map: 7562 ms
gtl::parallel_flat_hash_map<std::mutex>: 8099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 18574 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11900 ms
```
<!--clang-x64/main.cpp.txt-->
@@ -77,26 +77,26 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17724 ms
```
main.cpp
Number of threads: 4
boost::unordered_flat_map, single threaded: 21162 ms
boost::unordered_flat_map, single threaded, shared_mutex: 25044 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 23623 ms
cfoa, single threaded: 24545 ms
cfoa, tbb::spin_rw_mutex, single threaded: 25643 ms
cfoa, std::shared_mutex, single threaded: 25395 ms
foa::concurrent_table, single threaded: 25180 ms
tbb::concurrent_hash_map, single threaded: 43087 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 11143 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9192 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9763 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10487 ms
cfoa: 8234 ms
cfoa, tbb::spin_rw_mutex: 8963 ms
cfoa, std::shared_mutex: 9408 ms
foa::concurrent_table: 8620 ms
tbb::concurrent_hash_map: 14492 ms
gtl::parallel_flat_hash_map<std::mutex>: 11632 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10297 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12239 ms
boost::unordered_flat_map, single threaded: 23288 ms
boost::unordered_flat_map, single threaded, shared_mutex: 26618 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 24765 ms
cfoa, single threaded: 24726 ms
cfoa, tbb::spin_rw_mutex, single threaded: 25240 ms
cfoa, std::shared_mutex, single threaded: 25126 ms
foa::concurrent_table, single threaded: 24372 ms
tbb::concurrent_hash_map, single threaded: 42235 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 10752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9122 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 9780 ms
boost::unordered_flat_map, sharded isolated, prehashed: 10422 ms
cfoa: 8476 ms
cfoa, tbb::spin_rw_mutex: 8788 ms
cfoa, std::shared_mutex: 8894 ms
foa::concurrent_table: 9411 ms
tbb::concurrent_hash_map: 14647 ms
gtl::parallel_flat_hash_map<std::mutex>: 13011 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 10819 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12231 ms
```
<!--vs-x64/main.cpp.txt-->
@@ -105,26 +105,26 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 9192 ms
```
main.cpp
Number of threads: 8
boost::unordered_flat_map, single threaded: 5810 ms
boost::unordered_flat_map, single threaded, shared_mutex: 10264 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 6061 ms
cfoa, single threaded: 7547 ms
boost::unordered_flat_map, single threaded: 6170 ms
boost::unordered_flat_map, single threaded, shared_mutex: 10145 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 5972 ms
cfoa, single threaded: 7567 ms
cfoa, tbb::spin_rw_mutex, single threaded: 7573 ms
cfoa, std::shared_mutex, single threaded: 11706 ms
foa::concurrent_table, single threaded: 7434 ms
tbb::concurrent_hash_map, single threaded: 17415 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5165 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11283 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3399 ms
cfoa, std::shared_mutex, single threaded: 11623 ms
foa::concurrent_table, single threaded: 7416 ms
tbb::concurrent_hash_map, single threaded: 17459 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5589 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11327 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3423 ms
boost::unordered_flat_map, sharded isolated, prehashed: 4456 ms
cfoa: 3666 ms
cfoa, tbb::spin_rw_mutex: 3893 ms
cfoa, std::shared_mutex: 4596 ms
foa::concurrent_table: 3712 ms
tbb::concurrent_hash_map: 5476 ms
gtl::parallel_flat_hash_map<std::mutex>: 6391 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11640 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3749 ms
cfoa: 3789 ms
cfoa, tbb::spin_rw_mutex: 3685 ms
cfoa, std::shared_mutex: 4611 ms
foa::concurrent_table: 3650 ms
tbb::concurrent_hash_map: 5350 ms
gtl::parallel_flat_hash_map<std::mutex>: 6053 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11545 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3733 ms
```
<!--clang-arm64/main.cpp.txt-->
@@ -133,26 +133,26 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11283 ms
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 1054 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1482 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1129 ms
cfoa, single threaded: 1488 ms
boost::unordered_flat_map, single threaded: 1079 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1481 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1130 ms
cfoa, single threaded: 1498 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1499 ms
cfoa, std::shared_mutex, single threaded: 1778 ms
cfoa, std::shared_mutex, single threaded: 1776 ms
foa::concurrent_table, single threaded: 1472 ms
tbb::concurrent_hash_map, single threaded: 2223 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 788 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1053 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 792 ms
boost::unordered_flat_map, sharded isolated, prehashed: 782 ms
cfoa: 680 ms
cfoa, tbb::spin_rw_mutex: 693 ms
cfoa, std::shared_mutex: 711 ms
foa::concurrent_table: 808 ms
tbb::concurrent_hash_map: 904 ms
gtl::parallel_flat_hash_map<std::mutex>: 1098 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1306 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 912 ms
tbb::concurrent_hash_map, single threaded: 2225 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 764 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1156 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 772 ms
boost::unordered_flat_map, sharded isolated, prehashed: 760 ms
cfoa: 671 ms
cfoa, tbb::spin_rw_mutex: 694 ms
cfoa, std::shared_mutex: 762 ms
foa::concurrent_table: 755 ms
tbb::concurrent_hash_map: 863 ms
gtl::parallel_flat_hash_map<std::mutex>: 1099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1776 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 982 ms
```
<!--gcc-x86/main.cpp.txt-->
@@ -161,26 +161,26 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1053 ms
```
main.cpp
Number of threads: 16
boost::unordered_flat_map, single threaded: 1135 ms
boost::unordered_flat_map, single threaded: 1130 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1553 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1226 ms
cfoa, single threaded: 1440 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1455 ms
cfoa, std::shared_mutex, single threaded: 1765 ms
foa::concurrent_table, single threaded: 1463 ms
tbb::concurrent_hash_map, single threaded: 2388 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 750 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1432 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 673 ms
boost::unordered_flat_map, sharded isolated, prehashed: 791 ms
cfoa: 622 ms
cfoa, tbb::spin_rw_mutex: 646 ms
cfoa, std::shared_mutex: 708 ms
foa::concurrent_table: 882 ms
tbb::concurrent_hash_map: 887 ms
gtl::parallel_flat_hash_map<std::mutex>: 1013 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 2014 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 909 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1223 ms
cfoa, single threaded: 1439 ms
cfoa, tbb::spin_rw_mutex, single threaded: 1456 ms
cfoa, std::shared_mutex, single threaded: 1763 ms
foa::concurrent_table, single threaded: 1453 ms
tbb::concurrent_hash_map, single threaded: 2391 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 766 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 2573 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 676 ms
boost::unordered_flat_map, sharded isolated, prehashed: 755 ms
cfoa: 645 ms
cfoa, tbb::spin_rw_mutex: 640 ms
cfoa, std::shared_mutex: 732 ms
foa::concurrent_table: 832 ms
tbb::concurrent_hash_map: 877 ms
gtl::parallel_flat_hash_map<std::mutex>: 1040 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 1387 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 1182 ms
```
<!--clang-x86/main.cpp.txt-->
@@ -189,25 +189,25 @@ boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 1432 ms
```
main.cpp
Number of threads: 4
boost::unordered_flat_map, single threaded: 1391 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1748 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1520 ms
cfoa, single threaded: 2131 ms
cfoa, tbb::spin_rw_mutex, single threaded: 2282 ms
cfoa, std::shared_mutex, single threaded: 2334 ms
foa::concurrent_table, single threaded: 2010 ms
tbb::concurrent_hash_map, single threaded: 3947 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 995 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 694 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 707 ms
boost::unordered_flat_map, sharded isolated, prehashed: 871 ms
cfoa: 833 ms
cfoa, tbb::spin_rw_mutex: 856 ms
cfoa, std::shared_mutex: 838 ms
foa::concurrent_table: 914 ms
tbb::concurrent_hash_map: 1516 ms
gtl::parallel_flat_hash_map<std::mutex>: 1081 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 941 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 807 ms
boost::unordered_flat_map, single threaded: 1349 ms
boost::unordered_flat_map, single threaded, shared_mutex: 1734 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 1513 ms
cfoa, single threaded: 2042 ms
cfoa, tbb::spin_rw_mutex, single threaded: 2099 ms
cfoa, std::shared_mutex, single threaded: 2307 ms
foa::concurrent_table, single threaded: 2070 ms
tbb::concurrent_hash_map, single threaded: 4069 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 1100 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 869 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 677 ms
boost::unordered_flat_map, sharded isolated, prehashed: 939 ms
cfoa: 782 ms
cfoa, tbb::spin_rw_mutex: 772 ms
cfoa, std::shared_mutex: 973 ms
foa::concurrent_table: 875 ms
tbb::concurrent_hash_map: 1438 ms
gtl::parallel_flat_hash_map<std::mutex>: 1176 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 935 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 910 ms
```
<!--vs-x86/main.cpp.txt-->