Show / Hide Table of Contents

Class BenchmarkConverter

Inheritance
Object
BenchmarkConverter
Namespace: BenchmarkDotNet.Running
Assembly: BenchmarkDotNet.dll
Syntax
public static class BenchmarkConverter

Methods

MethodsToBenchmarks(Type, MethodInfo[], IConfig)

Declaration
public static BenchmarkRunInfo MethodsToBenchmarks(Type containingType, MethodInfo[] benchmarkMethods, IConfig config = null)
Parameters
Type Name Description
Type containingType
MethodInfo[] benchmarkMethods
IConfig config
Returns
Type Description
BenchmarkRunInfo

SourceToBenchmarks(String, IConfig)

Declaration
public static BenchmarkRunInfo[] SourceToBenchmarks(string source, IConfig config = null)
Parameters
Type Name Description
String source
IConfig config
Returns
Type Description
BenchmarkRunInfo[]

TypeToBenchmarks(Type, IConfig)

Declaration
public static BenchmarkRunInfo TypeToBenchmarks(Type type, IConfig config = null)
Parameters
Type Name Description
Type type
IConfig config
Returns
Type Description
BenchmarkRunInfo

UrlToBenchmarks(String, IConfig)

Declaration
public static BenchmarkRunInfo[] UrlToBenchmarks(string url, IConfig config = null)
Parameters
Type Name Description
String url
IConfig config
Returns
Type Description
BenchmarkRunInfo[]
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors