Show / Hide Table of Contents

Class InProcessEmitExecutor

Implementation of IExecutor for in-process benchmarks.

Inheritance
Object
InProcessEmitExecutor
Implements
IExecutor
Namespace: BenchmarkDotNet.Toolchains.InProcess.Emit
Assembly: BenchmarkDotNet.dll
Syntax
public class InProcessEmitExecutor : IExecutor

Constructors

InProcessEmitExecutor(TimeSpan, Boolean)

Initializes a new instance of the InProcessExecutor class.

Declaration
public InProcessEmitExecutor(TimeSpan timeout, bool logOutput)
Parameters
Type Name Description
TimeSpan timeout

Timeout for the run.

Boolean logOutput

true if the output should be logged.

Fields

DefaultTimeout

Default timeout for in-process benchmarks.

Declaration
public static readonly TimeSpan DefaultTimeout
Field Value
Type Description
TimeSpan

Properties

ExecutionTimeout

Timeout for the run.

Declaration
public TimeSpan ExecutionTimeout { get; }
Property Value
Type Description
TimeSpan

The timeout for the run.

LogOutput

Gets a value indicating whether the output should be logged.

Declaration
public bool LogOutput { get; }
Property Value
Type Description
Boolean

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

Methods

Execute(ExecuteParameters)

Executes the specified benchmark.

Declaration
public ExecuteResult Execute(ExecuteParameters executeParameters)
Parameters
Type Name Description
ExecuteParameters executeParameters
Returns
Type Description
ExecuteResult

Implements

IExecutor
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors