mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 09:01:25 +00:00
Include raw commands in JSON exports when names differ
This commit is contained in:
1 parent
1b3ec922fa
commit
c5d3a81fc5
7 files changed
+79
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user