removed benchmark debug printing

This commit is contained in:
Anton-4 2021-09-24 13:56:53 +02:00
parent 67efc9bd5f
commit 5d30e26e97

View file

@ -12,11 +12,9 @@ fn exec_bench_w_input<T: Measurement>(
) { ) {
let flags: &[&str] = &["--optimize"]; let flags: &[&str] = &["--optimize"];
println!("building {:?}", executable_filename);
let compile_out = run_roc(&[&["build", file.to_str().unwrap()], flags].concat()); let compile_out = run_roc(&[&["build", file.to_str().unwrap()], flags].concat());
println!("done building.");
/*if !compile_out.stderr.is_empty() { if !compile_out.stderr.is_empty() {
panic!("{}", compile_out.stderr); panic!("{}", compile_out.stderr);
} }
@ -26,13 +24,9 @@ fn exec_bench_w_input<T: Measurement>(
compile_out compile_out
); );
println!("checking output for {:?}", executable_filename);
check_cmd_output(file, stdin_str, executable_filename, expected_ending); check_cmd_output(file, stdin_str, executable_filename, expected_ending);
println!("benching {:?}", executable_filename);
bench_cmd(file, stdin_str, executable_filename, bench_group_opt); bench_cmd(file, stdin_str, executable_filename, bench_group_opt);
println!("DONE");*/
} }
fn check_cmd_output( fn check_cmd_output(