Hey, your StdDev is too big, you should pay attention to it
) and toolchain system (custom Generator/Builder/Executor configurations). What do you think?
Guys, now we have big amount of upcoming features, idea and plans, discussions. What do you think about a wiki page with a roadmap?
Yeah, we need to put this somewhere, even if it's only a GitHub discussion. For instnace I've got several ideas for new Diagnostics that can go on the list
BenchmarkTask
) , amount of warmup and target iterations (the two last parameters). E.g., processCount=1
, warmupIterationCount=3
, targetIterationCount=5
. I am trying to implement smart logic that will be adjust these parameters based on you benchmark: if you really don't need super precision, benchmarking will perform quickly. Hopefully, new logic will be published in December.
[BenchmarkTask(mode: BenchmarkMode.SingleRun, processCount: 1, warmupIterationCount: 1, targetIterationCount: 1)]
i.e. "SingleRun"
QuickBenchmarkTaskAttribute
with settings as you've described.
public class QuickBenchmarkTaskAttribute : BenchmarkTaskAttribute
{
public QuickBenchmarkTaskAttribute()
: base(mode: BenchmarkMode.SingleRun, processCount: 1, warmupIterationCount: 1, targetIterationCount: 1)
{ }
}
GetCustomAttributes
call linked above states false for allow inheritance
inherit: true
to discover derived attributes I believe
BenchmarkAttribute
should be sealed
or the GetCustomAttributes
call should allow inheritance. The combination we have right now I consider to be a bug. Obviously, changing the call instead of sealing the attribute would be a better fix.