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
intIncludes called methods to given level. 1 by default, indexed from 1. To print just the benchmark set it to 0.
syntax
DisassemblySyntaxThe disassembly syntax. MASM is the default.
printSource
boolC#|F#|VB source code will be printed. False by default.
printInstructionAddresses
boolPrint instruction addresses. False by default
exportGithubMarkdown
boolExports to GitHub markdown. True by default.
exportHtml
boolExports to HTML with clickable links. False by default.
exportCombinedDisassemblyReport
boolExports all benchmarks to a single HTML report. Makes it easy to compare different runtimes or methods (each becomes a column in HTML table).
exportDiff
boolExports 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; }