private static Summary RunWithDirtyAssemblyResolveHelper(Type type, IConfig config, string[] args) => (args == null ? BenchmarkRunnerClean.Run(new[] { BenchmarkConverter.TypeToBenchmarks(type, config) }) : new BenchmarkSwitcher(new[] { type }).RunWithDirtyAssemblyResolveHelper(args, config, false)) .Single();
private static Summary[] RunWithDirtyAssemblyResolveHelper(Type[] types, IConfig config, string[] args) => args == null ? BenchmarkRunnerClean.Run(types.Select(type => BenchmarkConverter.TypeToBenchmarks(type, config)).ToArray()) : new BenchmarkSwitcher(types).RunWithDirtyAssemblyResolveHelper(args, config, false).ToArray();
public static BenchmarkRunInfo[] Filter(IConfig effectiveConfig, IEnumerable <Type> types) => types .Select(type => BenchmarkConverter.TypeToBenchmarks(type, effectiveConfig)) .Where(info => info.BenchmarksCases.Any()) .ToArray();