From 31125f2b7fc7517a324e90058bce2f2cec063f7c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Wed, 13 May 2020 22:23:56 +0200 Subject: try FastEnum --- PerfTests/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'PerfTests/Program.cs') diff --git a/PerfTests/Program.cs b/PerfTests/Program.cs index e97014df..8b83a592 100644 --- a/PerfTests/Program.cs +++ b/PerfTests/Program.cs @@ -50,7 +50,7 @@ namespace PerfTests void testDir (string dirPath, int level = 0) { - Console.WriteLine ($"{new string (' ', level * 4)}-{dirPath}"); + Console.WriteLine ($"{new string (' ', level * 4)}- {dirPath}"); level++; foreach (string d in Directory.GetDirectories (dirPath)) @@ -59,10 +59,10 @@ namespace PerfTests foreach (string f in Directory.GetFiles (dirPath)) { try { long mean = Test (f, out long min, out long max); - Console.WriteLine ($"{new string (' ', level * 4)}{ Path.GetFileName (f),-30}: {min,5} |{mean,5} |{max,5}"); + Console.WriteLine ($"{new string (' ', level * 4)}{ Path.GetFileName (f),-30}|{min,5}|{mean,5}|{max,5}"); } catch (Exception ex) { Console.ForegroundColor = ConsoleColor.Red; - Console.WriteLine ($"{ex.Message}"); + Console.WriteLine ($"- {ex.Message}"); Console.ResetColor (); } } -- cgit v1.3.1-4-g156e