Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.16 KB

BenchmarkDotNet2Highcharts NuGet

Exporter to interactive charts (uses Highcharts) for BenchmarkDotNet. Supports simple, parameterized and cross-framework benchmarks!

Quick start

  1. Install NuGet package
Install-Package BenchmarkDotNet2Highcharts
  1. Add to your benchmarks default JsonBriefExporter (library will parse output files of this exporter to build charts)
using BenchmarkDotNet.Attributes;

[JsonExporterAttribute.Brief]
public class Benchmark
  1. Add to your Main initializing and launch of exporter, after benchmarks run
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
var hc = new HighchartsExporter();
hc.Export();

Chart types

  • Box plot
  • Column plot - to be implemented
  • TBA...

Samples