Class DisassemblyDiagnoserConfig
- Namespace
- BenchmarkDotNet.Diagnosers
- Assembly
- BenchmarkDotNet.dll
public class DisassemblyDiagnoserConfig
- Inheritance
-
DisassemblyDiagnoserConfig
Constructors
DisassemblyDiagnoserConfig(int, DisassemblySyntax, string[]?, FormatterOptions?, bool, bool, bool, bool, bool, bool)
public DisassemblyDiagnoserConfig(int maxDepth = 1, DisassemblySyntax syntax = DisassemblySyntax.Masm, string[]? filters = null, FormatterOptions? formatterOptions = null, bool printSource = false, bool printInstructionAddresses = false, bool exportGithubMarkdown = true, bool exportHtml = false, bool exportCombinedDisassemblyReport = false, bool exportDiff = false)
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.
filters
string[]Glob patterns applied to full method signatures by the the disassembler.
formatterOptions
FormatterOptionsCode formatter options. If not provided, the recommended settings will be used.
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.
Properties
ExportCombinedDisassemblyReport
public bool ExportCombinedDisassemblyReport { get; }
Property Value
ExportDiff
public bool ExportDiff { get; }
Property Value
ExportGithubMarkdown
public bool ExportGithubMarkdown { get; }
Property Value
ExportHtml
public bool ExportHtml { get; }
Property Value
Filters
public string[] Filters { get; }
Property Value
- string[]
Formatting
public FormatterOptions Formatting { get; }
Property Value
- FormatterOptions
MaxDepth
public int MaxDepth { get; }
Property Value
PrintInstructionAddresses
public bool PrintInstructionAddresses { get; }
Property Value
PrintSource
public bool PrintSource { get; }
Property Value
Syntax
public DisassemblySyntax Syntax { get; }