Timings
Dieser Commit ist enthalten in:
Ursprung
734a0a67b1
Commit
3792be48a3
@ -17,6 +17,7 @@
|
||||
|
||||
mod types;
|
||||
|
||||
use std::fmt::Debug;
|
||||
use std::fs::File;
|
||||
use std::io;
|
||||
use std::io::{BufWriter, Write};
|
||||
@ -158,6 +159,8 @@ fn main() {
|
||||
return;
|
||||
}
|
||||
|
||||
let start = std::time::Instant::now();
|
||||
|
||||
let search_behavior = SearchBehavior {
|
||||
ignore_block_data: matches.get_flag("ignore-data"),
|
||||
ignore_block_entities: matches.get_flag("ignore-block-entities"),
|
||||
@ -312,6 +315,9 @@ fn main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let end = std::time::Instant::now();
|
||||
println!("Finished in {:.2}s! Searched in {} Schematics", end.duration_since(start).as_secs_f32(), schematics.len());
|
||||
}
|
||||
|
||||
fn load_schem(schem_path: &PathBuf) -> Option<Schematic> {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren