Table of Contents

Class InProcessEmitExecutor

Namespace
BenchmarkDotNet.Toolchains.InProcess.Emit
Assembly
BenchmarkDotNet.dll

Implementation of IExecutor for in-process benchmarks.

public class InProcessEmitExecutor : IExecutor
Inheritance
InProcessEmitExecutor
Implements

Constructors

InProcessEmitExecutor(TimeSpan, bool)

Initializes a new instance of the InProcessEmitExecutor class.

public InProcessEmitExecutor(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 benchmarks.

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 benchmarks.

Returns

ExecuteResult
Implementation of for in-process benchmarks.