Skip to content

Commit

Permalink
benchm.rs: use shorter id/file names
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Feb 3, 2020
1 parent 929af2d commit 689a121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/benchm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ fn start_benchmark() {
.expect("fail to git")
.stdout;
let commit_id = String::from_utf8(commit_id_u8).expect("strange commit id");
let timestamp = current_date_time().format("%F").to_string();
let timestamp = current_date_time().format("%Y%m%d").to_string();
config.run_name = format!("{}-{}", config.solver, commit_id);
config.run_id = format!("{}-{}", config.run_name, timestamp);
config.run_id = format!("{}-{}-{}", config.solver, timestamp, commit_id);
}
let diff = {
let diff8 = Command::new("git")
Expand Down

0 comments on commit 689a121

Please sign in to comment.