Class InProcessNoEmitToolchain
- Namespace
- BenchmarkDotNet.Toolchains.InProcess.NoEmit
- Assembly
- BenchmarkDotNet.dll
A toolchain to run the benchmarks in-process (no emit).
public sealed class InProcessNoEmitToolchain : IToolchain
- Inheritance
-
InProcessNoEmitToolchain
- Implements
Constructors
InProcessNoEmitToolchain(bool)
Initializes a new instance of the InProcessNoEmitToolchain class.
public InProcessNoEmitToolchain(bool logOutput)
Parameters
logOutput
booltrue
if the output should be logged.
InProcessNoEmitToolchain(TimeSpan, bool)
Initializes a new instance of the InProcessNoEmitToolchain class.
public InProcessNoEmitToolchain(TimeSpan timeout, bool logOutput)
Parameters
Fields
DontLogOutput
The toolchain instance without output logging.
public static readonly IToolchain DontLogOutput
Field Value
- IToolchain
- A toolchain to run the benchmarks in-process (no emit).
Instance
The default toolchain instance.
public static readonly IToolchain Instance
Field Value
- IToolchain
- A toolchain to run the benchmarks in-process (no emit).
Properties
Builder
The builder.
public IBuilder Builder { get; }
Property Value
- IBuilder
The builder.
Executor
The executor.
public IExecutor Executor { get; }
Property Value
- IExecutor
The executor.
Generator
The generator.
public IGenerator Generator { get; }
Property Value
- IGenerator
The generator.
IsInProcess
public bool IsInProcess { get; }
Property Value
- bool
- A toolchain to run the benchmarks in-process (no emit).
Name
Name of the toolchain.
public string Name { get; }
Property Value
- string
The name of the toolchain.
Methods
ToString()
Returns a string that represents this instance.
public override string ToString()
Returns
Validate(BenchmarkCase, IResolver)
public IEnumerable<ValidationError> Validate(BenchmarkCase benchmarkCase, IResolver resolver)
Parameters
benchmarkCase
BenchmarkCase- A toolchain to run the benchmarks in-process (no emit).
resolver
IResolver- A toolchain to run the benchmarks in-process (no emit).
Returns
- IEnumerable<ValidationError>
- A toolchain to run the benchmarks in-process (no emit).