From 53bde2bc3f1af11e68e0566c389f4c8cefde43b8 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 31 Dec 2024 21:33:48 -0800 Subject: [PATCH] test time --- src/tests.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index fedd861..b030ef4 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -28,9 +28,14 @@ fn _1()->Result<(),crate::v1::Error>{ fn _2()->Result<(),crate::v1::Error>{ let file=std::fs::File::open("files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d").unwrap(); let input=std::io::BufReader::new(file); + + let t0=std::time::Instant::now(); + let mut bot_file=crate::v1::File::new(input).unwrap(); let block=bot_file.read_all()?; + println!("{:?}",t0.elapsed()); + Ok(()) }