We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1aca7 commit 97b6f39Copy full SHA for 97b6f39
storage/src/cache/mod.rs
@@ -333,7 +333,7 @@ pub trait BlobCache: Send + Sync {
333
334
let duration = Instant::now().duration_since(start).as_millis();
335
let duration_s = duration as f64 / 1000.0;
336
- let throughput_mbps = blob_size as f64 / duration_s / 1_000_000.0;
+ let throughput_mbps = chunk.compressed_size() as f64 / duration_s / 1_000_000.0;
337
debug!(
338
"read_chunk_from_backend: {} {} bytes at {}, duration {}ms, throughput {:.4}Mbps",
339
std::thread::current().name().unwrap_or_default(),
0 commit comments