Table of Contents

Class DisassemblyDiagnoserAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll
[AttributeUsage(AttributeTargets.Class)]
public class DisassemblyDiagnoserAttribute : Attribute, IConfigSource
Inheritance
DisassemblyDiagnoserAttribute
Implements
Inherited Members

Constructors

DisassemblyDiagnoserAttribute()

protected DisassemblyDiagnoserAttribute()

DisassemblyDiagnoserAttribute(int, DisassemblySyntax, bool, bool, bool, bool, bool, bool, params string[])

public DisassemblyDiagnoserAttribute(int maxDepth = 1, DisassemblySyntax syntax = DisassemblySyntax.Masm, bool printSource = false, bool printInstructionAddresses = false, bool exportGithubMarkdown = true, bool exportHtml = false, bool exportCombinedDisassemblyReport = false, bool exportDiff = false, params string[] filters)

Parameters

maxDepth int

Includes called methods to given level. 1 by default, indexed from 1. To print just the benchmark set it to 0.

syntax DisassemblySyntax

The disassembly syntax. MASM is the default.

printSource bool

C#|F#|VB source code will be printed. False by default.

printInstructionAddresses bool

Print instruction addresses. False by default

exportGithubMarkdown bool

Exports to GitHub markdown. True by default.

exportHtml bool

Exports to HTML with clickable links. False by default.

exportCombinedDisassemblyReport bool

Exports all benchmarks to a single HTML report. Makes it easy to compare different runtimes or methods (each becomes a column in HTML table).

exportDiff bool

Exports a diff of the assembly code to the Github markdown format. False by default.

filters string[]

Glob patterns applied to full method signatures by the the disassembler.

Properties

Config

public IConfig Config { get; }

Property Value

IConfig