コード例 #1
0
 public static Summary RunSource(string source, IConfig config = null)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunSourceWithDirtyAssemblyResolveHelper(source, config)));
 }
コード例 #2
0
 public static Summary Run <T>(IConfig config = null)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunWithDirtyAssemblyResolveHelper(typeof(T), config)));
 }
コード例 #3
0
 public static Summary RunUrl(string url, IConfig config = null)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunUrlWithDirtyAssemblyResolveHelper(url, config)));
 }
コード例 #4
0
 public static Summary[] Run(BenchmarkRunInfo[] benchmarkRunInfos)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunWithDirtyAssemblyResolveHelper(benchmarkRunInfos)));
 }
コード例 #5
0
 public static Summary Run(BenchmarkRunInfo benchmarkRunInfo)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunWithDirtyAssemblyResolveHelper(new[] { benchmarkRunInfo }).Single()));
 }
コード例 #6
0
 public static Summary[] Run(Assembly assembly, IConfig config = null, string[] args = null)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunWithDirtyAssemblyResolveHelper(assembly, config, args)));
 }
コード例 #7
0
 public static Summary Run(Type type, MethodInfo[] methods, IConfig config = null)
 {
     using (DirtyAssemblyResolveHelper.Create())
         return(RunWithExceptionHandling(() => RunWithDirtyAssemblyResolveHelper(type, methods, config)));
 }