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.
The text was updated successfully, but these errors were encountered:
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
ExportedFiles
from 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
Summary
object on above lines. (Because summary is designed as immutable)2. Change
ExporterBase::GetArtifactFullName
API to public.If
GetArtifactFullName
API can be changed topublic
It 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
GetArtifactFullNames
toIExporter
interface.The text was updated successfully, but these errors were encountered: