Table of Contents

Class InProcessNoEmitExecutor

Namespace
BenchmarkDotNet.Toolchains.InProcess.NoEmit
Assembly
BenchmarkDotNet.dll

Implementation of IExecutor for in-process (no emit) toolchain.

public class InProcessNoEmitExecutor : IExecutor
Inheritance
InProcessNoEmitExecutor
Implements

Constructors

InProcessNoEmitExecutor(TimeSpan, bool)

Initializes a new instance of the InProcessNoEmitExecutor class.

public InProcessNoEmitExecutor(TimeSpan timeout, bool logOutput)

Parameters

timeout TimeSpan

Timeout for the run.

logOutput bool

true if the output should be logged.

Fields

DefaultTimeout

Default timeout for in-process benchmarks.

public static readonly TimeSpan DefaultTimeout

Field Value

TimeSpan
Implementation of for in-process (no emit) toolchain.

Properties

ExecutionTimeout

Timeout for the run.

public TimeSpan ExecutionTimeout { get; }

Property Value

TimeSpan

The timeout for the run.

LogOutput

Gets a value indicating whether the output should be logged.

public bool LogOutput { get; }

Property Value

bool

true if the output should be logged; otherwise, false.

Methods

Execute(ExecuteParameters)

Executes the specified benchmark.

public ExecuteResult Execute(ExecuteParameters executeParameters)

Parameters

executeParameters ExecuteParameters
Implementation of for in-process (no emit) toolchain.

Returns

ExecuteResult
Implementation of for in-process (no emit) toolchain.