dotnet / dotnet/BenchmarkDotNet

RPlotExporter File Names

Open
#1,558 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
11.5k
Forks
1.1k
Avg merge
6d 11h
Merged PRs (30d)
12

Description

I have just started using BenchmarkDotNet library and tried to make a simple case with a randomly named project and sub-namespace for my benchmarks.

But RPlotExporter uses full namespace for tagging images, also uses it as a title, so this creates two problems:
1- The title may only be partially visible and only the beginning part is shown, which is same for all benchmark functions (nam.esp.ace.class.Func). Is there a way to get a shorter title with something similar to parameter name shortening scheme?
![MyLovelyBenchmarkProject Benchmarks ReallyCoolBenchmark-DoSomethingBase-x=MMMM( )MMMM 256 -facetDensity](https://user-images.githubusercontent.com/33246/96040099-69dbb880-0e72-11eb-8879-8d6f5475ed7c.png)

2- For us puny Windows users the file-path is limited and plot generating script fails with access denied error for 'NUL' (I see that it occurs when path is too long)

I have added the sample project, RPlotExporter log and a sample png from one of the plots as a zip file here.

[SampleProject.zip](https://github.com/dotnet/BenchmarkDotNet/files/5380612/SampleProject.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.