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

+2
View File
@@ -182,6 +182,7 @@ fn test_json_optional_memory() {
] {
let result = BenchmarkResult {
command: "example".into(),
command_raw: None,
measurements: Measurements::new(vec![Measurement {
peak_memory_usage: memory,
..Measurement::default()
@@ -249,6 +250,7 @@ fn test_json_summaries_for_parameterized_results() {
.into_iter()
.map(|(size, times)| BenchmarkResult {
command: "example".into(),
command_raw: None,
parameters: [(
"size".into(),
Parameter {