This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/src/performance/linkbench Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ public void Compute()
6262 UnlinkedDirSize = GetDirSize ( unlinkedDirInfo ) ;
6363 LinkedDirSize = GetDirSize ( linkedDirInfo ) ;
6464
65- MsilSizeReduction = ( UnlinkedMsilSize - LinkedMsilSize ) / UnlinkedMsilSize * 100 ;
66- DirSizeReduction = ( UnlinkedDirSize - LinkedDirSize ) / UnlinkedDirSize * 100 ;
65+ MsilSizeReduction = LinkedMsilSize / UnlinkedMsilSize ;
66+ DirSizeReduction = LinkedDirSize / UnlinkedDirSize ;
6767 }
6868
6969 // Compute total size of a directory, in MegaBytes
@@ -233,7 +233,7 @@ public class LinkBench
233233 {
234234 private static ScenarioConfiguration scenarioConfiguration = new ScenarioConfiguration ( new TimeSpan ( 2000000 ) ) ;
235235 private static MetricModel SizeMetric = new MetricModel { Name = "Size" , DisplayName = "File Size" , Unit = "MB" } ;
236- private static MetricModel PercMetric = new MetricModel { Name = "Perc " , DisplayName = "Reduction" , Unit = "% " } ;
236+ private static MetricModel PercMetric = new MetricModel { Name = "Ratio " , DisplayName = "Reduction" , Unit = "Linked/Unlinked " } ;
237237 public static string Workspace ;
238238 public static string ScriptDir ;
239239 public static string AssetsDir ;
You can’t perform that action at this time.
0 commit comments