mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-11-15 02:03:49 +00:00
runtime measurement
This commit is contained in:
parent
ea0ffa5229
commit
6c8ee04e95
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user