-
Notifications
You must be signed in to change notification settings - Fork 0
benchmark_vm4_20220818T1044.md
Emil Koutanov edited this page Aug 18, 2022
·
1 revision
b1b9faf9ecd2d7ee692f0583d39393118603dfc9
- Running with 0 writer threads and 9 reader threads
- 5 iterations inside lock, 5 iterations outside lock
- 2 seconds per test
libmutex::unfair_lock::UnfairLock - [write] 0.000 kHz [read] 2096.553 kHz
std::sync::RwLock - [write] 0.000 kHz [read] 5113.981 kHz
parking_lot::RwLock - [write] 0.000 kHz [read] 5158.105 kHz
- Running with 0 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.000 kHz [read] 2194.180 kHz
std::sync::RwLock - [write] 0.000 kHz [read] 4938.391 kHz
parking_lot::RwLock - [write] 0.000 kHz [read] 5430.427 kHz
- Running with 0 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.000 kHz [read] 2274.261 kHz
std::sync::RwLock - [write] 0.000 kHz [read] 8199.809 kHz
parking_lot::RwLock - [write] 0.000 kHz [read] 7753.604 kHz
- Running with 0 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.000 kHz [read] 2164.037 kHz
std::sync::RwLock - [write] 0.000 kHz [read] 6852.819 kHz
parking_lot::RwLock - [write] 0.000 kHz [read] 6997.941 kHz
- Running with 9 writer threads and 0 reader threads
libmutex::unfair_lock::UnfairLock - [write] 112.592 kHz [read] 0.000 kHz
std::sync::RwLock - [write] 4960.538 kHz [read] 0.000 kHz
parking_lot::RwLock - [write] 8150.806 kHz [read] 0.000 kHz
- Running with 9 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 1.531 kHz [read] 2157.535 kHz
std::sync::RwLock - [write] 1797.152 kHz [read] 3508.103 kHz
parking_lot::RwLock - [write] 3509.952 kHz [read] 2534.613 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.005 kHz [read] 2442.808 kHz
std::sync::RwLock - [write] 1060.576 kHz [read] 5608.800 kHz
parking_lot::RwLock - [write] 1800.627 kHz [read] 4613.233 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.005 kHz [read] 2363.767 kHz
std::sync::RwLock - [write] 516.332 kHz [read] 6037.380 kHz
parking_lot::RwLock - [write] 619.306 kHz [read] 5791.526 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.005 kHz [read] 2424.149 kHz
std::sync::RwLock - [write] 342.344 kHz [read] 5663.101 kHz
parking_lot::RwLock - [write] 380.501 kHz [read] 6008.363 kHz
- Running with 18 writer threads and 0 reader threads
libmutex::unfair_lock::UnfairLock - [write] 112.400 kHz [read] 0.000 kHz
std::sync::RwLock - [write] 5139.688 kHz [read] 0.000 kHz
parking_lot::RwLock - [write] 7467.834 kHz [read] 0.000 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 3.413 kHz [read] 1932.235 kHz
std::sync::RwLock - [write] 2167.613 kHz [read] 1705.236 kHz
parking_lot::RwLock - [write] 3704.538 kHz [read] 1580.379 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.010 kHz [read] 2387.180 kHz
std::sync::RwLock - [write] 1679.406 kHz [read] 4041.496 kHz
parking_lot::RwLock - [write] 3161.169 kHz [read] 2818.873 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.011 kHz [read] 2379.198 kHz
std::sync::RwLock - [write] 1233.906 kHz [read] 4518.102 kHz
parking_lot::RwLock - [write] 1237.831 kHz [read] 3973.758 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.011 kHz [read] 2432.986 kHz
std::sync::RwLock - [write] 906.124 kHz [read] 5717.269 kHz
parking_lot::RwLock - [write] 852.470 kHz [read] 4531.810 kHz
- Running with 27 writer threads and 0 reader threads
libmutex::unfair_lock::UnfairLock - [write] 111.615 kHz [read] 0.000 kHz
std::sync::RwLock - [write] 5015.883 kHz [read] 0.000 kHz
parking_lot::RwLock - [write] 7116.422 kHz [read] 0.000 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 9.672 kHz [read] 1572.284 kHz
std::sync::RwLock - [write] 3443.412 kHz [read] 1857.811 kHz
parking_lot::RwLock - [write] 5161.412 kHz [read] 1023.778 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.021 kHz [read] 2353.419 kHz
std::sync::RwLock - [write] 1950.581 kHz [read] 2482.814 kHz
parking_lot::RwLock - [write] 2913.149 kHz [read] 2287.692 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.020 kHz [read] 2536.833 kHz
std::sync::RwLock - [write] 1333.990 kHz [read] 3238.901 kHz
parking_lot::RwLock - [write] 1269.698 kHz [read] 3124.934 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.015 kHz [read] 2715.325 kHz
std::sync::RwLock - [write] 1330.161 kHz [read] 4656.183 kHz
parking_lot::RwLock - [write] 697.326 kHz [read] 3877.203 kHz
- Running with 36 writer threads and 0 reader threads
libmutex::unfair_lock::UnfairLock - [write] 118.267 kHz [read] 0.000 kHz
std::sync::RwLock - [write] 5538.931 kHz [read] 0.000 kHz
parking_lot::RwLock - [write] 6110.904 kHz [read] 0.000 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::unfair_lock::UnfairLock - [write] 14.551 kHz [read] 1515.294 kHz
std::sync::RwLock - [write] 3295.672 kHz [read] 1374.956 kHz
parking_lot::RwLock - [write] 3472.979 kHz [read] 865.097 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.053 kHz [read] 2682.064 kHz
std::sync::RwLock - [write] 3054.551 kHz [read] 2624.734 kHz
parking_lot::RwLock - [write] 1683.535 kHz [read] 2120.148 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.019 kHz [read] 2231.518 kHz
std::sync::RwLock - [write] 1668.890 kHz [read] 2549.789 kHz
parking_lot::RwLock - [write] 794.811 kHz [read] 2732.079 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::unfair_lock::UnfairLock - [write] 0.019 kHz [read] 2284.748 kHz
std::sync::RwLock - [write] 1624.794 kHz [read] 3869.839 kHz
parking_lot::RwLock - [write] 603.839 kHz [read] 3075.831 kHz
cargo run --bin libmutex --release
480000 ops took 4.082 seconds; 117598.465 ops/s
upgrade timeouts: 79841