yakivyusin / BenchmarkDotNet2Highcharts

Exporter to interactive charts (uses Highcharts) for BenchmarkDotNet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Exporter to interactive charts (uses Highcharts) for BenchmarkDotNet.


Languages

Language:C# 100.0%