diff --git a/src/main.rs b/src/main.rs index fa41f94..316a4f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,5 +37,5 @@ fn main() { results: bsq::run(gridsize, chunksize, density, RUNS, (n, len)), }) .collect::>(); - serde_json::to_writer(std::fs::File::open("./data.json").unwrap(), &res).unwrap(); + serde_json::to_writer(std::fs::File::open(format!("./data-{}.json", chrono::Local::now().format("%s"))).unwrap(), &res).unwrap(); }