Skip to content

Don't rewrite it in Rust. Rewrite the 5% that's slow: profile your app, port the hot functions with your coding agent, prove they behave the same. Python, JS/TS, Ruby, Java, Kotlin, Go, PHP, C/C++, C#, R.

fix Micro initializer in show test after merging #150/#151

EL4CTEObe183b48657c
diff --git a/src/show.rs b/src/show.rs
index adf1ae3..04c02f1 100644
--- a/src/show.rs
+++ b/src/show.rs
@@ -419,7 +419,7 @@ mod tests {
built: true,
total: 10,
passed: 10,
- micro: Some(Micro { original_ns: 100.0, rust_ns: 10.0, speedup: 10.0 }),
+ micro: Some(Micro { original_ns: 100.0, rust_ns: 10.0, speedup: 10.0, clock_ns: 0.0 }),
lang: Lang::Python,
..Verify::default()
};