-
Notifications
You must be signed in to change notification settings - Fork 0
benchmark_vm4_20220818T0855.md
Emil Koutanov edited this page Aug 17, 2022
·
1 revision
ea58a4c4467e1ae2d19dd3f28d524ed3fdde9094
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::unfair_lock::UnfairLock - [write] 0.869 kHz [read] 2099.270 kHz
std::sync::RwLock - [write] 2021.943 kHz [read] 2351.095 kHz
parking_lot::RwLock - [write] 4290.338 kHz [read] 2558.031 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.006 kHz [read] 2281.782 kHz
std::sync::RwLock - [write] 857.182 kHz [read] 3659.970 kHz
parking_lot::RwLock - [write] 2405.936 kHz [read] 4470.497 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.006 kHz [read] 2779.726 kHz
std::sync::RwLock - [write] 684.143 kHz [read] 4235.940 kHz
parking_lot::RwLock - [write] 1277.698 kHz [read] 5327.962 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.006 kHz [read] 2420.742 kHz
std::sync::RwLock - [write] 433.576 kHz [read] 5550.997 kHz
parking_lot::RwLock - [write] 462.463 kHz [read] 6055.035 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 3.928 kHz [read] 2108.303 kHz
std::sync::RwLock - [write] 2790.563 kHz [read] 1966.091 kHz
parking_lot::RwLock - [write] 3871.051 kHz [read] 1620.914 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.012 kHz [read] 2369.332 kHz
std::sync::RwLock - [write] 1841.611 kHz [read] 3099.899 kHz
parking_lot::RwLock - [write] 1736.922 kHz [read] 3095.356 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.010 kHz [read] 2177.765 kHz
std::sync::RwLock - [write] 1260.855 kHz [read] 4053.137 kHz
parking_lot::RwLock - [write] 1409.525 kHz [read] 3834.827 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.010 kHz [read] 2308.999 kHz
std::sync::RwLock - [write] 910.088 kHz [read] 4761.699 kHz
parking_lot::RwLock - [write] 905.669 kHz [read] 4447.569 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 8.595 kHz [read] 1821.069 kHz
std::sync::RwLock - [write] 2950.731 kHz [read] 1291.587 kHz
parking_lot::RwLock - [write] 3615.039 kHz [read] 1101.054 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.029 kHz [read] 2471.344 kHz
std::sync::RwLock - [write] 2286.852 kHz [read] 2279.147 kHz
parking_lot::RwLock - [write] 1965.988 kHz [read] 2342.497 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.019 kHz [read] 2344.756 kHz
std::sync::RwLock - [write] 1913.627 kHz [read] 2834.812 kHz
parking_lot::RwLock - [write] 829.244 kHz [read] 3151.908 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.017 kHz [read] 2272.077 kHz
std::sync::RwLock - [write] 1419.553 kHz [read] 4062.371 kHz
parking_lot::RwLock - [write] 1529.722 kHz [read] 3568.590 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 17.086 kHz [read] 1934.861 kHz
std::sync::RwLock - [write] 3378.774 kHz [read] 1081.987 kHz
parking_lot::RwLock - [write] 3472.465 kHz [read] 861.807 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.035 kHz [read] 2296.014 kHz
std::sync::RwLock - [write] 2334.059 kHz [read] 1732.255 kHz
parking_lot::RwLock - [write] 1854.295 kHz [read] 1993.178 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.018 kHz [read] 2223.438 kHz
std::sync::RwLock - [write] 1925.474 kHz [read] 2763.516 kHz
parking_lot::RwLock - [write] 927.011 kHz [read] 2817.522 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.024 kHz [read] 2246.757 kHz
std::sync::RwLock - [write] 1714.308 kHz [read] 2963.552 kHz
parking_lot::RwLock - [write] 1300.301 kHz [read] 3070.016 kHz
cargo run --bin libmutex --release
48000 ops took 0.455 seconds; 105565.750 ops/s
upgrade timeouts: 7882