Commit 00496f64 authored by Nick Craver's avatar Nick Craver

Add GC info to test output

parent 2ee147f4
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Runtime;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
...@@ -90,6 +91,10 @@ static TestBase() ...@@ -90,6 +91,10 @@ static TestBase()
backgroundExceptions.Add(args.Exception.ToString()); backgroundExceptions.Add(args.Exception.ToString());
} }
}; };
Console.WriteLine("Setup information:");
Console.WriteLine(" GC IsServer: " + GCSettings.IsServerGC);
Console.WriteLine(" GC LOH Mode: " + GCSettings.LargeObjectHeapCompactionMode);
Console.WriteLine(" GC Latency Mode: " + GCSettings.LatencyMode);
} }
internal static string Time() => DateTime.UtcNow.ToString("HH:mm:ss.fff"); internal static string Time() => DateTime.UtcNow.ToString("HH:mm:ss.fff");
protected void OnConnectionFailed(object sender, ConnectionFailedEventArgs e) protected void OnConnectionFailed(object sender, ConnectionFailedEventArgs e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment