-
Notifications
You must be signed in to change notification settings - Fork 0
benchmark_mbp16_20220818T1044.md
Emil Koutanov edited this page Aug 18, 2022
·
1 revision
b1b9faf9ecd2d7ee692f0583d39393118603dfc9
- Running with 9 writer threads and 9 reader threads
- 5 iterations inside lock, 5 iterations outside lock
- 2 seconds per test
libmutex::unfair_lock::UnfairLock - [write] 21.090 kHz [read] 3121.690 kHz
std::sync::RwLock - [write] 198.075 kHz [read] 198.084 kHz
parking_lot::RwLock - [write] 9745.103 kHz [read] 1567.849 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.021 kHz [read] 4010.249 kHz
std::sync::RwLock - [write] 141.415 kHz [read] 282.857 kHz
parking_lot::RwLock - [write] 8071.737 kHz [read] 2812.084 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.017 kHz [read] 3750.919 kHz
std::sync::RwLock - [write] 113.512 kHz [read] 340.549 kHz
parking_lot::RwLock - [write] 6170.613 kHz [read] 3666.395 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.004 kHz [read] 3702.537 kHz
std::sync::RwLock - [write] 91.594 kHz [read] 366.397 kHz
parking_lot::RwLock - [write] 4607.219 kHz [read] 4617.077 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 25.868 kHz [read] 2152.401 kHz
std::sync::RwLock - [write] 225.459 kHz [read] 112.740 kHz
parking_lot::RwLock - [write] 9382.120 kHz [read] 808.074 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.024 kHz [read] 3452.338 kHz
std::sync::RwLock - [write] 177.629 kHz [read] 177.721 kHz
parking_lot::RwLock - [write] 7924.103 kHz [read] 1957.378 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.011 kHz [read] 3436.126 kHz
std::sync::RwLock - [write] 150.368 kHz [read] 225.611 kHz
parking_lot::RwLock - [write] 5839.038 kHz [read] 2884.845 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.013 kHz [read] 3483.401 kHz
std::sync::RwLock - [write] 130.679 kHz [read] 261.522 kHz
parking_lot::RwLock - [write] 4239.897 kHz [read] 3669.486 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 28.225 kHz [read] 1966.960 kHz
std::sync::RwLock - [write] 241.343 kHz [read] 80.488 kHz
parking_lot::RwLock - [write] 9683.564 kHz [read] 689.087 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.046 kHz [read] 3255.110 kHz
std::sync::RwLock - [write] 199.903 kHz [read] 133.316 kHz
parking_lot::RwLock - [write] 7206.384 kHz [read] 1810.067 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.017 kHz [read] 3342.856 kHz
std::sync::RwLock - [write] 177.894 kHz [read] 177.912 kHz
parking_lot::RwLock - [write] 5317.409 kHz [read] 2637.069 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.014 kHz [read] 3473.816 kHz
std::sync::RwLock - [write] 154.776 kHz [read] 206.400 kHz
parking_lot::RwLock - [write] 4128.195 kHz [read] 3088.543 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 39.637 kHz [read] 1635.641 kHz
std::sync::RwLock - [write] 225.749 kHz [read] 56.480 kHz
parking_lot::RwLock - [write] 8279.796 kHz [read] 536.452 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.063 kHz [read] 3583.901 kHz
std::sync::RwLock - [write] 184.166 kHz [read] 92.133 kHz
parking_lot::RwLock - [write] 5838.939 kHz [read] 1700.994 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.034 kHz [read] 3429.673 kHz
std::sync::RwLock - [write] 196.597 kHz [read] 147.497 kHz
parking_lot::RwLock - [write] 4852.274 kHz [read] 2324.320 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.040 kHz [read] 3596.897 kHz
std::sync::RwLock - [write] 175.865 kHz [read] 175.895 kHz
parking_lot::RwLock - [write] 4084.048 kHz [read] 2726.949 kHz
cargo run --bin libmutex --release
480000 ops took 1.367 seconds; 351061.432 ops/s
upgrade timeouts: 79797