-
-
Notifications
You must be signed in to change notification settings - Fork 995
Add API to remove columns for baseline comparison #299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ok, let's discuss what we can do here. I have several thoughts.
|
@AndreyAkinshin An idea: extend then if somebody does not want to see some column he/she can create an exluding column provider with something similar to: class ExcludingColumns : IColumnProvider
{
public IEnumerable<IColumn> Exclude()
{
yield return BaselineScaledColumn.Scaled;
}
public IEnumerable<IColumn> GetColumns(Summary summary) => Enumerable.Empty<IColumn>();
} and register it in their own Config |
@adamsitnik, sounds interesting, but I also want to have an "attribute" way to exclude columns. Any ideas how to do it? |
hmm due to My only idea for now it to add new enum
the disadvantage is that it would be limitted to columns implemented inside BenchmarkDotNet, so people could not disable their custom columns this way. But on the other hand if they have enabled it they can also disable it by not using their custom ColumnProvider. |
@adamsitnik, what do you think about my approach with
This, columns attribute do not only introduce a column but also specify (or override) policy ( |
sorry @AndreyAkinshin I missed that. Good idea! Especially that we have an attribute for each column now! |
Another idea: we could also override names of the columns for cases when user want to use a standard column with another name. Examples: |
@AndreyAkinshin Nice feature, but most probably only our super users would use. Will it be easy to implement? |
Yep, I will do it as a part of column refactoring (v0.10.2). |
@AndreyAkinshin was it implemented? I am not sure? |
@adamsitnik, no. |
Most of the time I don't want to compare sd and other info against the baseline.
The text was updated successfully, but these errors were encountered: