public static void ShowAvailableBenchmarks() { Console.Error.WriteLine("Available benchmarks:"); foreach (var type in Benchmarks.OrderBy(x => x.Name)) { Console.Error.WriteLine(type.Name); } }
private void Dispose(bool disposing) { if (this.disposed) { return; } if (disposing) { instance = null; } this.disposed = true; }
public static void GlobalSetup() { instance = Benchmarks.Instance; }