From ef14a7f1ea7d53f1666404f5b6cb3d80fbef1b1a Mon Sep 17 00:00:00 2001 From: askiiart Date: Sun, 17 Nov 2024 23:17:00 -0600 Subject: [PATCH] switch it over to 0 nanoseconds for use with `process-data.py` in other repo --- src/benchmarks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/benchmarks.rs b/src/benchmarks.rs index 96e6bcf..794b992 100644 --- a/src/benchmarks.rs +++ b/src/benchmarks.rs @@ -150,7 +150,7 @@ pub fn benchmark() { let rand_read = format!("{:.5?}", random_read(path.clone())); println!("Random read (1024x 1 MiB): {}", rand_read); - let mut rand_latency: String = "0ms".to_string(); + let mut rand_latency: String = "0ns".to_string(); if fs != "data/mountpoints/fuse-archive-tar" { rand_latency = format!("{:.5?}", random_read_latency(path.clone())); }