Include raw commands in JSON exports when names differ

This commit is contained in:
David Peter committed 2026-10-05 17:02:34 +02:00
1 parent 1b3ec922fa
commit c5d3a81fc5
7 files changed
+79 -2

No files matched your search

+6 -1
View File
@@ -475,8 +475,13 @@ impl<'a> Benchmark<'a> {
self.run_cleanup_command(self.command.get_parameters().iter().cloned(), output_policy)?;
let command = self.command.get_name();
let command_raw = self.command.get_command_line();
let command_raw = (command_raw != command).then_some(command_raw);
Ok(BenchmarkResult {
command: self.command.get_name(),
command,
command_raw,
measurements,
parameters: self
.command