Class BenchmarkAttribute
- Namespace
- BenchmarkDotNet.Attributes
- Assembly
- BenchmarkDotNet.Annotations.dll
[AttributeUsage(AttributeTargets.Method)]
public class BenchmarkAttribute : Attribute
- Inheritance
-
BenchmarkAttribute
- Inherited Members
Constructors
BenchmarkAttribute(int, string)
public BenchmarkAttribute(int sourceCodeLineNumber = 0, string sourceCodeFile = "")
Parameters
Properties
Baseline
public bool Baseline { get; set; }
Property Value
Description
public string? Description { get; set; }
Property Value
OperationsPerInvoke
public int OperationsPerInvoke { get; set; }
Property Value
SourceCodeFile
public string SourceCodeFile { get; }
Property Value
SourceCodeLineNumber
public int SourceCodeLineNumber { get; }