Class BenchmarkAttribute
Inheritance
BenchmarkAttribute
Assembly: BenchmarkDotNet.Annotations.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class BenchmarkAttribute : Attribute
Constructors
BenchmarkAttribute(Int32, String)
Declaration
public BenchmarkAttribute(int sourceCodeLineNumber = 0, string sourceCodeFile = "")
Parameters
Type |
Name |
Description |
Int32 |
sourceCodeLineNumber |
|
String |
sourceCodeFile |
|
Properties
Baseline
Declaration
public bool Baseline { get; set; }
Property Value
Description
Declaration
public string Description { get; set; }
Property Value
OperationsPerInvoke
Declaration
public int OperationsPerInvoke { get; set; }
Property Value
SourceCodeFile
Declaration
public string SourceCodeFile { get; }
Property Value
SourceCodeLineNumber
Declaration
public int SourceCodeLineNumber { get; }
Property Value