runtime measurement

This commit is contained in:
Baipyrus 2024-01-24 23:39:14 +01:00
parent ea0ffa5229
commit 6c8ee04e95

View File

@ -1,7 +1,14 @@
use std::time::Instant;
mod common; mod common;
mod day09; mod day09;
fn main() { fn main() {
println!("Executing main entrypoint . . . "); println!("Executing main entrypoint . . . ");
let now = Instant::now();
day09::part_one(); day09::part_one();
let elapsed = now.elapsed();
println!("Execution in {:?}.", elapsed);
} }