Skip to content

Commit

Permalink
Fix size specifier (#1854), fixes #1727
Browse files Browse the repository at this point in the history
  • Loading branch information
YegorStepanov committed Dec 2, 2021
1 parent 7d5a8ff commit 7b02117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Diagnosers/MemoryDiagnoser.cs
Expand Up @@ -52,7 +52,7 @@ private class AllocatedMemoryMetricDescriptor : IMetricDescriptor
public string Id => "Allocated Memory";
public string DisplayName => "Allocated";
public string Legend => "Allocated memory per single operation (managed only, inclusive, 1KB = 1024B)";
public string NumberFormat => "N0";
public string NumberFormat => "0.##";
public UnitType UnitType => UnitType.Size;
public string Unit => SizeUnit.B.Name;
public bool TheGreaterTheBetter => false;
Expand Down
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Disassemblers/DisassemblyDiagnoser.cs
Expand Up @@ -165,7 +165,7 @@ private class NativeCodeSizeMetricDescriptor : IMetricDescriptor
public string Id => "Native Code Size";
public string DisplayName => "Code Size";
public string Legend => "Native code size of the disassembled method(s)";
public string NumberFormat => "N0";
public string NumberFormat => "0.##";
public UnitType UnitType => UnitType.Size;
public string Unit => SizeUnit.B.Name;
public bool TheGreaterTheBetter => false;
Expand Down

0 comments on commit 7b02117

Please sign in to comment.