We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a2bfbc commit 37b4599Copy full SHA for 37b4599
1 file changed
tools/attractor.rs
@@ -254,6 +254,7 @@ fn main() -> eyre::Result<()> {
254
args.height,
255
)?;
256
257
+ let start = std::time::Instant::now();
258
for (i, (mut x, mut y)) in initial_values.into_iter().enumerate() {
259
tracing::trace!("i={i}: Starting at: ({x}, {y})");
260
for j in 0..args.iterations {
@@ -269,6 +270,8 @@ fn main() -> eyre::Result<()> {
269
270
}
271
272
formatter.flush()?;
273
+ let elapsed = start.elapsed();
274
+ tracing::info!("Finished in {elapsed:?}");
275
276
Ok(())
277
0 commit comments