-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Currently options for the exporters console argument are hardcoded here:
BenchmarkDotNet/src/BenchmarkDotNet/ConsoleArguments/ConfigParser.cs
Lines 52 to 71 in 21a2940
private static readonly IReadOnlyDictionary<string, IExporter[]> AvailableExporters = | |
new Dictionary<string, IExporter[]>(StringComparer.InvariantCultureIgnoreCase) | |
{ | |
{ "csv", new[] { CsvExporter.Default } }, | |
{ "csvmeasurements", new[] { CsvMeasurementsExporter.Default } }, | |
{ "html", new[] { HtmlExporter.Default } }, | |
{ "markdown", new[] { MarkdownExporter.Default } }, | |
{ "atlassian", new[] { MarkdownExporter.Atlassian } }, | |
{ "stackoverflow", new[] { MarkdownExporter.StackOverflow } }, | |
{ "github", new[] { MarkdownExporter.GitHub } }, | |
{ "plain", new[] { PlainExporter.Default } }, | |
{ "rplot", new[] { CsvMeasurementsExporter.Default, RPlotExporter.Default } }, // R Plots depends on having the full measurements available | |
{ "json", new[] { JsonExporter.Default } }, | |
{ "briefjson", new[] { JsonExporter.Brief } }, | |
{ "fulljson", new[] { JsonExporter.Full } }, | |
{ "asciidoc", new[] { AsciiDocExporter.Default } }, | |
{ "xml", new[] { XmlExporter.Default } }, | |
{ "briefxml", new[] { XmlExporter.Brief } }, | |
{ "fullxml", new[] { XmlExporter.Full } } | |
}; |
I would love a way to add custom exporters as options to this list.