You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some exporter ( e,g, RPlotExporter) seems that don't inherited from ExporterBase. (that output multiple files?)
So it might be better to adding GetArtifactFullNames to IExporter interface.
I want to get exported files that are created by Exporters (e.g.
MarkdownExporter's output)Related logics are implemented by ExporterBase.cs.
But it's defined as
internal. So it can't be used from external code.https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet/Exporters/ExporterBase.cs#L51-L55
Is it possible to add supporting feature that get
ExportedFilesfrom benchmark results?For example.
1. Add ExportedFiles information to benchmark results summary.
If it can add ExportedFiles property to existing benchmark summary reports.
If it's possible It can be used in a simpler way.
But Exported files are created by following lines.
https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet/Running/BenchmarkRunnerClean.cs#L292-L297
So might not possible to modify
Summaryobject on above lines. (Because summary is designed as immutable)2. Change
ExporterBase::GetArtifactFullNameAPI to public.If
GetArtifactFullNameAPI can be changed topublicIt can get exported files with following code.
Note
Some exporter ( e,g,
RPlotExporter) seems that don't inherited from ExporterBase. (that output multiple files?)So it might be better to adding
GetArtifactFullNamestoIExporterinterface.