We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bf488 commit 610f736Copy full SHA for 610f736
src/Benchmarks/Program.cs
@@ -2,6 +2,7 @@
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
4
using System;
5
+using System.Runtime;
6
using System.Threading;
7
using Benchmarks.Configuration;
8
using Microsoft.AspNetCore.Hosting;
@@ -47,6 +48,7 @@ private static void StartInteractiveConsoleThread()
47
48
49
var interactiveThread = new Thread(() =>
50
{
51
+ Console.WriteLine($"Server GC is currently {(GCSettings.IsServerGC ? "ENABLED" : "DISABLED")}");
52
Console.WriteLine("Press 'C' to force GC or any other key to display GC stats");
53
Console.WriteLine();
54
0 commit comments