mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-12-04 13:51:25 +00:00
Consistent display name
This commit is contained in:
1 parent
eedec07812
commit
579b762790
8 files changed
+34
-40
No files matched your search
@@ -482,6 +482,7 @@ impl<'a> Benchmark<'a> {
|
||||
Ok(BenchmarkResult {
|
||||
command,
|
||||
name,
|
||||
display_name: self.command.get_name_with_unused_parameters(),
|
||||
measurements,
|
||||
parameters: self
|
||||
.command
|
||||
@@ -492,7 +493,6 @@ impl<'a> Benchmark<'a> {
|
||||
name.to_string(),
|
||||
Parameter {
|
||||
value: value.to_string(),
|
||||
is_unused: self.command.is_parameter_unused(name),
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user