aboutsummaryrefslogtreecommitdiffstatsci
path: root/PerfTests/Program.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-13 22:23:56 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-13 22:23:56 +0200
commit31125f2b7fc7517a324e90058bce2f2cec063f7c (patch)
tree8c525d44ffa349fab320b15222d2d573d42e72c5 /PerfTests/Program.cs
parent6428afe998093c656a1e76a8cbebf96258c60a50 (diff)
try FastEnum
Diffstat (limited to 'PerfTests/Program.cs')
-rw-r--r--PerfTests/Program.cs6
1 files changed, 3 insertions, 3 deletions
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 ();
}
}