Skip to content

benchmark_vm4_20220819T0808.md

Emil Koutanov edited this page Aug 18, 2022 · 1 revision
cargo run --bin rwlock --release -- 9:36:9 9:36:9 5 5 2 2

- Running with 9 writer threads and 9 reader threads
- 5 iterations inside lock, 5 iterations outside lock
- 2 seconds per test
libmutex::multilock::MultiLock[WriteBiased] - [write]    600.407 kHz          [read]    178.420 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]    564.882 kHz          [read]   2279.128 kHz
std::sync::RwLock                           - [write]   2482.678 kHz          [read]   2632.024 kHz
parking_lot::RwLock                         - [write]   6168.554 kHz          [read]   2257.427 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    600.413 kHz          [read]   1125.177 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.119 kHz          [read]   4267.297 kHz
std::sync::RwLock                           - [write]    971.880 kHz          [read]   4443.247 kHz
parking_lot::RwLock                         - [write]   2357.711 kHz          [read]   4472.742 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    407.942 kHz          [read]   1788.955 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.004 kHz          [read]   4304.812 kHz
std::sync::RwLock                           - [write]    819.672 kHz          [read]   5267.095 kHz
parking_lot::RwLock                         - [write]   2031.647 kHz          [read]   4878.667 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    290.451 kHz          [read]   2038.056 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.057 kHz          [read]   4226.681 kHz
std::sync::RwLock                           - [write]    416.584 kHz          [read]   5470.520 kHz
parking_lot::RwLock                         - [write]    940.955 kHz          [read]   5932.182 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1120.157 kHz          [read]    190.358 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1170.539 kHz          [read]   1155.816 kHz
std::sync::RwLock                           - [write]   3160.603 kHz          [read]   1943.126 kHz
parking_lot::RwLock                         - [write]   6966.335 kHz          [read]   1240.326 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    801.097 kHz          [read]    270.151 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]     41.325 kHz          [read]   3491.209 kHz
std::sync::RwLock                           - [write]   1436.818 kHz          [read]   2772.220 kHz
parking_lot::RwLock                         - [write]   5197.527 kHz          [read]   2273.540 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    599.077 kHz          [read]    789.191 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.201 kHz          [read]   3423.203 kHz
std::sync::RwLock                           - [write]   1285.740 kHz          [read]   4049.299 kHz
parking_lot::RwLock                         - [write]   2543.791 kHz          [read]   3399.465 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    555.646 kHz          [read]   1396.060 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.111 kHz          [read]   4031.662 kHz
std::sync::RwLock                           - [write]    887.378 kHz          [read]   4647.428 kHz
parking_lot::RwLock                         - [write]   1039.225 kHz          [read]   4843.299 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1577.357 kHz          [read]    193.784 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1335.202 kHz          [read]    731.119 kHz
std::sync::RwLock                           - [write]   3896.984 kHz          [read]   1583.572 kHz
parking_lot::RwLock                         - [write]   3501.020 kHz          [read]   1159.703 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    919.909 kHz          [read]    151.231 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]    157.358 kHz          [read]   3099.608 kHz
std::sync::RwLock                           - [write]   2602.818 kHz          [read]   2575.768 kHz
parking_lot::RwLock                         - [write]   4433.082 kHz          [read]   1963.961 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    818.659 kHz          [read]    485.112 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      4.207 kHz          [read]   3782.451 kHz
std::sync::RwLock                           - [write]   1943.463 kHz          [read]   3237.127 kHz
parking_lot::RwLock                         - [write]   2939.035 kHz          [read]   2772.082 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    750.487 kHz          [read]    684.210 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      2.664 kHz          [read]   4050.504 kHz
std::sync::RwLock                           - [write]   1633.169 kHz          [read]   4034.393 kHz
parking_lot::RwLock                         - [write]   1942.404 kHz          [read]   3286.198 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1478.150 kHz          [read]     98.508 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1491.435 kHz          [read]    612.148 kHz
std::sync::RwLock                           - [write]   3679.536 kHz          [read]   1262.906 kHz
parking_lot::RwLock                         - [write]   6786.092 kHz          [read]    671.329 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    992.239 kHz          [read]    110.376 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]     62.713 kHz          [read]   3335.999 kHz
std::sync::RwLock                           - [write]   2992.476 kHz          [read]   2112.414 kHz
parking_lot::RwLock                         - [write]   4525.110 kHz          [read]   1548.639 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    787.883 kHz          [read]    242.393 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]     50.592 kHz          [read]   4033.561 kHz
std::sync::RwLock                           - [write]   2702.523 kHz          [read]   2677.945 kHz
parking_lot::RwLock                         - [write]   2040.546 kHz          [read]   2458.079 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    651.328 kHz          [read]    258.795 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      3.293 kHz          [read]   4081.715 kHz
std::sync::RwLock                           - [write]   2107.504 kHz          [read]   3617.837 kHz
parking_lot::RwLock                         - [write]   1869.522 kHz          [read]   2843.370 kHz