You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
global::BenchmarkDotNet.Engines.IHost host; // this variable name is used by CodeGenerator.GetCoreRtSwitch, do NOT change it
41
+
global::BenchmarkDotNet.Engines.IHost host; // this variable name is used by CodeGenerator.GetBenchmarkRunCall, do NOT change it
42
42
if (global::BenchmarkDotNet.Engines.AnonymousPipesHost.TryGetFileHandles(args, out global::System.String writeHandle, out global::System.String readHandle))
43
43
host = new global::BenchmarkDotNet.Engines.AnonymousPipesHost(writeHandle, readHandle);
: 0; // used when re-using generated exe without BDN (typically to repro a bug)
63
59
64
60
if (args.Length == 0)
65
61
{
66
62
host.WriteLine("You have not specified benchmark id (an integer) so the first benchmark will be executed.");
67
63
}
68
-
#if NATIVEAOT
69
-
$NativeAotSwitch$
70
-
#else
71
-
global::System.Type type = typeof(global::BenchmarkDotNet.Autogenerated.UniqueProgramName).Assembly.GetType($"BenchmarkDotNet.Autogenerated.Runnable_{id}");
catch (global::System.Exception oom) when (oom is global::System.OutOfMemoryException || oom is global::System.Reflection.TargetInvocationException reflection && reflection.InnerException is global::System.OutOfMemoryException)
0 commit comments