public static Summary RunUrl(string url, IConfig config = null) { #if CLASSIC return(BenchmarkRunnerCore.Run(BenchmarkConverter.UrlToBenchmarks(url, config), ToolchainExtensions.GetToolchain)); #else throw new NotSupportedException(); #endif }
public static Summary RunUrl(string url, IConfig config = null) { #if CLASSIC return(Run(BenchmarkConverter.UrlToBenchmarks(url, config), config, summaryPerType: false).Single()); #else throw new NotSupportedException(); #endif }
public static Summary RunUrl(string url, IConfig config = null) => Run(BenchmarkConverter.UrlToBenchmarks(url, config), config);
private static Summary RunUrlWithDirtyAssemblyResolveHelper(string url, IConfig config = null) => RuntimeInformation.IsFullFramework ? BenchmarkRunnerClean.Run(BenchmarkConverter.UrlToBenchmarks(url, config)).Single() : throw new InvalidBenchmarkDeclarationException("Supported only on Full .NET Framework");
public static Summary RunUrl(string url, IConfig config = null) => BenchmarkRunnerCore.Run(BenchmarkConverter.UrlToBenchmarks(url, config), config, ToolchainExtensions.GetToolchain);