linera_views::test_utils::performance

Function read_value_bytes

Source
pub async fn read_value_bytes<S: TestKeyValueStore, F>(
    iterations: u64,
    f: F,
) -> Duration
where F: Fn(Option<Vec<u8>>) -> Option<Vec<u8>>,
Expand description

Benchmarks the read_value_bytes operation.