Skip to content

benchmark_mbp16_20220818T1621.md

Emil Koutanov edited this page Aug 18, 2022 · 1 revision

e604fc2e556f19851ca3d46ed1689de7b5355985


cargo run --bin rwlock --release -- 0:36:9 0:36:9 5 5 2 2
libmutex::multilock::MultiLock    - [write]      0.000 kHz          [read]   5638.140 kHz
std::sync::RwLock                 - [write]      0.000 kHz          [read]   5787.689 kHz
parking_lot::RwLock               - [write]      0.000 kHz          [read]  25600.536 kHz
- Running with 0 writer threads and 18 reader threads
libmutex::multilock::MultiLock    - [write]      0.000 kHz          [read]   5232.606 kHz
std::sync::RwLock                 - [write]      0.000 kHz          [read]   4992.390 kHz
parking_lot::RwLock               - [write]      0.000 kHz          [read]  22767.451 kHz
- Running with 0 writer threads and 27 reader threads
libmutex::multilock::MultiLock    - [write]      0.000 kHz          [read]   5228.912 kHz
std::sync::RwLock                 - [write]      0.000 kHz          [read]   4838.863 kHz
parking_lot::RwLock               - [write]      0.000 kHz          [read]  22927.043 kHz
- Running with 0 writer threads and 36 reader threads
libmutex::multilock::MultiLock    - [write]      0.000 kHz          [read]   5102.784 kHz
std::sync::RwLock                 - [write]      0.000 kHz          [read]   4513.187 kHz
parking_lot::RwLock               - [write]      0.000 kHz          [read]  25403.545 kHz
- Running with 9 writer threads and 0 reader threads
libmutex::multilock::MultiLock    - [write]   1121.457 kHz          [read]      0.000 kHz
std::sync::RwLock                 - [write]    328.763 kHz          [read]      0.000 kHz
parking_lot::RwLock               - [write]  12647.836 kHz          [read]      0.000 kHz
- Running with 9 writer threads and 9 reader threads
libmutex::multilock::MultiLock    - [write]    526.728 kHz          [read]     26.877 kHz
std::sync::RwLock                 - [write]    167.173 kHz          [read]    167.213 kHz
parking_lot::RwLock               - [write]   9101.629 kHz          [read]   1235.971 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::multilock::MultiLock    - [write]    374.199 kHz          [read]   1229.216 kHz
std::sync::RwLock                 - [write]    133.781 kHz          [read]    267.606 kHz
parking_lot::RwLock               - [write]   9007.037 kHz          [read]   2334.696 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::multilock::MultiLock    - [write]    265.880 kHz          [read]   1912.898 kHz
std::sync::RwLock                 - [write]    110.811 kHz          [read]    332.491 kHz
parking_lot::RwLock               - [write]   7353.942 kHz          [read]   3641.296 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::multilock::MultiLock    - [write]    212.115 kHz          [read]   2408.666 kHz
std::sync::RwLock                 - [write]     91.687 kHz          [read]    366.813 kHz
parking_lot::RwLock               - [write]   6177.731 kHz          [read]   4957.635 kHz
- Running with 18 writer threads and 0 reader threads
libmutex::multilock::MultiLock    - [write]    899.024 kHz          [read]      0.000 kHz
std::sync::RwLock                 - [write]    343.208 kHz          [read]      0.000 kHz
parking_lot::RwLock               - [write]  21252.523 kHz          [read]      0.000 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::multilock::MultiLock    - [write]    778.487 kHz          [read]     23.901 kHz
std::sync::RwLock                 - [write]    190.397 kHz          [read]     95.242 kHz
parking_lot::RwLock               - [write]  11511.801 kHz          [read]    918.746 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::multilock::MultiLock    - [write]    506.613 kHz          [read]    726.183 kHz
std::sync::RwLock                 - [write]    152.640 kHz          [read]    152.701 kHz
parking_lot::RwLock               - [write]   8240.915 kHz          [read]   2292.078 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::multilock::MultiLock    - [write]    426.860 kHz          [read]   1119.826 kHz
std::sync::RwLock                 - [write]    135.662 kHz          [read]    203.534 kHz
parking_lot::RwLock               - [write]   6531.975 kHz          [read]   2876.508 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::multilock::MultiLock    - [write]    181.136 kHz          [read]   3101.304 kHz
std::sync::RwLock                 - [write]    129.095 kHz          [read]    258.235 kHz
parking_lot::RwLock               - [write]   5750.313 kHz          [read]   3711.325 kHz
- Running with 27 writer threads and 0 reader threads
libmutex::multilock::MultiLock    - [write]   1047.191 kHz          [read]      0.000 kHz
std::sync::RwLock                 - [write]    317.002 kHz          [read]      0.000 kHz
parking_lot::RwLock               - [write]  22917.631 kHz          [read]      0.000 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::multilock::MultiLock    - [write]    848.703 kHz          [read]      3.103 kHz
std::sync::RwLock                 - [write]    231.112 kHz          [read]     77.059 kHz
parking_lot::RwLock               - [write]  10474.890 kHz          [read]    647.909 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::multilock::MultiLock    - [write]    747.348 kHz          [read]    155.459 kHz
std::sync::RwLock                 - [write]    204.369 kHz          [read]    136.286 kHz
parking_lot::RwLock               - [write]   7889.996 kHz          [read]   1620.560 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::multilock::MultiLock    - [write]    463.310 kHz          [read]   1071.037 kHz
std::sync::RwLock                 - [write]    178.420 kHz          [read]    178.489 kHz
parking_lot::RwLock               - [write]   5992.619 kHz          [read]   2470.163 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::multilock::MultiLock    - [write]    528.744 kHz          [read]    807.535 kHz
std::sync::RwLock                 - [write]    155.438 kHz          [read]    207.278 kHz
parking_lot::RwLock               - [write]   5125.931 kHz          [read]   3225.117 kHz
- Running with 36 writer threads and 0 reader threads
libmutex::multilock::MultiLock    - [write]   1139.188 kHz          [read]      0.000 kHz
std::sync::RwLock                 - [write]    328.692 kHz          [read]      0.000 kHz
parking_lot::RwLock               - [write]  23440.964 kHz          [read]      0.000 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::multilock::MultiLock    - [write]    907.838 kHz          [read]      1.918 kHz
std::sync::RwLock                 - [write]    238.391 kHz          [read]     59.644 kHz
parking_lot::RwLock               - [write]  11070.744 kHz          [read]    551.476 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::multilock::MultiLock    - [write]    802.558 kHz          [read]     42.233 kHz
std::sync::RwLock                 - [write]    207.544 kHz          [read]    103.917 kHz
parking_lot::RwLock               - [write]   7443.136 kHz          [read]   1273.103 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::multilock::MultiLock    - [write]      0.018 kHz          [read]   5059.714 kHz
std::sync::RwLock                 - [write]    198.686 kHz          [read]    149.040 kHz
parking_lot::RwLock               - [write]   6171.321 kHz          [read]   2128.358 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::multilock::MultiLock    - [write]    635.769 kHz          [read]    334.178 kHz
std::sync::RwLock                 - [write]    161.665 kHz          [read]    161.704 kHz
parking_lot::RwLock               - [write]   5415.615 kHz          [read]   3012.141 kHz

cargo run --bin libmutex --release

480000 ops took 0.469 seconds; 1022561.035 ops/s
upgrade timeouts: 78994