Use camel-case for csv file name for benchmark output.

This commit is contained in:
Sébastien Crozet
2020-09-06 12:34:24 +02:00
parent ff2da7fb27
commit 38c1b7b457
3 changed files with 4 additions and 1 deletions

View File

@@ -754,7 +754,8 @@ impl Testbed {
}
// Write the result as a csv file.
let filename = format!("{}.csv", builder.0);
use inflector::Inflector;
let filename = format!("{}.csv", builder.0.to_camel_case());
let mut file = BufWriter::new(File::create(filename).unwrap());
write!(file, "{}", backend_names[0]).unwrap();