Benchmark result in microseconds

This commit is contained in:
2026-01-30 17:39:15 +01:00
parent 340b8c6f4d
commit 5e2e9952d9
+5 -5
View File
@@ -92,11 +92,11 @@ impl std::fmt::Display for BenchmarkResult {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!( write!(
f, f,
"- Average: {} ns\n\ "- Average: {} µs\n\
- Min: {} ns\n\ - Min: {} µs\n\
- Max: {} ns\n\ - Max: {} µs\n\
- Total Render: {} ns\n\ - Total Render: {} µs\n\
- Total: {} ns", - Total: {} µs",
self.average, self.min, self.max, self.total_render, self.total self.average, self.min, self.max, self.total_render, self.total
) )
} }