-
Notifications
You must be signed in to change notification settings - Fork 0
benchmark_mbp16_20220819T0808.md
Emil Koutanov edited this page Aug 18, 2022
·
2 revisions
fb98fbc0c55f3eb4f03053785f223dcbdb32468e
cargo run --bin rwlock --release -- 9:36:9 9:36:9 5 5 2 2
Compiling libmutex-bench v0.0.0 (/Users/emikou/code/libmutex/libmutex-bench)
Finished release [optimized] target(s) in 1.65s
Running `target/release/rwlock '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] 693.368 kHz [read] 62.901 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 11.781 kHz [read] 5193.819 kHz
std::sync::RwLock - [write] 188.079 kHz [read] 188.087 kHz
parking_lot::RwLock - [write] 9850.377 kHz [read] 1318.443 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 447.616 kHz [read] 1553.520 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.045 kHz [read] 5718.640 kHz
std::sync::RwLock - [write] 145.108 kHz [read] 290.317 kHz
parking_lot::RwLock - [write] 8754.747 kHz [read] 2876.209 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 315.064 kHz [read] 2195.064 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.011 kHz [read] 5638.228 kHz
std::sync::RwLock - [write] 108.449 kHz [read] 325.392 kHz
parking_lot::RwLock - [write] 6504.158 kHz [read] 3727.596 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 237.724 kHz [read] 2598.499 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.013 kHz [read] 5215.438 kHz
std::sync::RwLock - [write] 94.373 kHz [read] 377.529 kHz
parking_lot::RwLock - [write] 5110.155 kHz [read] 4160.497 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 769.075 kHz [read] 13.061 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 27.560 kHz [read] 4063.889 kHz
std::sync::RwLock - [write] 241.138 kHz [read] 120.595 kHz
parking_lot::RwLock - [write] 11588.464 kHz [read] 757.856 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 614.621 kHz [read] 327.360 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.080 kHz [read] 5552.480 kHz
std::sync::RwLock - [write] 184.558 kHz [read] 184.588 kHz
parking_lot::RwLock - [write] 8102.314 kHz [read] 1962.111 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 443.427 kHz [read] 1386.425 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.029 kHz [read] 5579.842 kHz
std::sync::RwLock - [write] 157.734 kHz [read] 247.668 kHz
parking_lot::RwLock - [write] 6496.900 kHz [read] 2610.038 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 325.141 kHz [read] 2095.680 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.027 kHz [read] 5472.926 kHz
std::sync::RwLock - [write] 139.777 kHz [read] 279.582 kHz
parking_lot::RwLock - [write] 4651.400 kHz [read] 3252.637 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 871.667 kHz [read] 6.178 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 41.011 kHz [read] 3713.907 kHz
std::sync::RwLock - [write] 256.095 kHz [read] 85.422 kHz
parking_lot::RwLock - [write] 10396.062 kHz [read] 704.274 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 733.245 kHz [read] 226.043 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.069 kHz [read] 5488.315 kHz
std::sync::RwLock - [write] 196.252 kHz [read] 130.894 kHz
parking_lot::RwLock - [write] 8483.679 kHz [read] 1665.871 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 279.531 kHz [read] 3011.683 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.044 kHz [read] 5574.568 kHz
std::sync::RwLock - [write] 181.547 kHz [read] 181.657 kHz
parking_lot::RwLock - [write] 7114.164 kHz [read] 2667.693 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 455.034 kHz [read] 1486.878 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.030 kHz [read] 5604.566 kHz
std::sync::RwLock - [write] 155.492 kHz [read] 207.386 kHz
parking_lot::RwLock - [write] 5072.645 kHz [read] 3060.149 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 1043.907 kHz [read] 10.806 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 55.931 kHz [read] 3464.526 kHz
std::sync::RwLock - [write] 261.286 kHz [read] 65.356 kHz
parking_lot::RwLock - [write] 10311.052 kHz [read] 558.571 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 917.091 kHz [read] 5.942 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.202 kHz [read] 5626.925 kHz
std::sync::RwLock - [write] 219.768 kHz [read] 109.915 kHz
parking_lot::RwLock - [write] 6741.058 kHz [read] 1423.585 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 703.902 kHz [read] 478.735 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.141 kHz [read] 5574.071 kHz
std::sync::RwLock - [write] 200.450 kHz [read] 150.356 kHz
parking_lot::RwLock - [write] 6368.822 kHz [read] 2486.442 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write] 600.875 kHz [read] 735.510 kHz
libmutex::multilock::MultiLock[ReadBiased] - [write] 0.055 kHz [read] 5718.884 kHz
std::sync::RwLock - [write] 165.781 kHz [read] 165.821 kHz
parking_lot::RwLock - [write] 5022.805 kHz [read] 2990.878 kHz