File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
src/BenchmarkDotNet.ResultDiff Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" CsvHelper" Version =" 18 .0.0" />
9
+ <PackageReference Include =" CsvHelper" Version =" 25 .0.0" />
10
10
</ItemGroup >
11
11
12
12
</Project >
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ private static void Main(string[] args)
33
33
34
34
var columns = new List < string >
35
35
{
36
+ "Type" ,
36
37
"Method" ,
37
38
"FileName" ,
38
39
"N" ,
@@ -108,7 +109,7 @@ private static void Main(string[] args)
108
109
writer . Write ( "| **New** |" ) ;
109
110
foreach ( var effectiveHeader in effectiveHeaders )
110
111
{
111
- if ( effectiveHeader == "Method" || effectiveHeader == "N" || effectiveHeader == "FileName" )
112
+ if ( effectiveHeader == "Type" || effectiveHeader == " Method" || effectiveHeader == "N" || effectiveHeader == "FileName" )
112
113
{
113
114
writer . Write ( "\t |" ) ;
114
115
}
@@ -151,11 +152,14 @@ private static void Main(string[] args)
151
152
|| oldUnit == "KB" && newUnit == "B"
152
153
|| oldUnit == "GB" && newUnit == "MB"
153
154
|| oldUnit == "s" && newUnit == "ms"
154
- || oldUnit == "ms" && newUnit == "us" )
155
+ || oldUnit == "ms" && newUnit == "us"
156
+ || oldUnit == "ms" && newUnit == "μs"
157
+ || oldUnit == "μs" && newUnit == "ns" )
155
158
{
156
159
newMultiplier = ConversionFromBigger ;
157
160
}
158
- else if ( oldUnit == "MB" && newUnit == "B" )
161
+ else if ( oldUnit == "MB" && newUnit == "B"
162
+ )
159
163
{
160
164
newMultiplier = ConversionFromBigger * ConversionFromBigger ;
161
165
}
You can’t perform that action at this time.
0 commit comments