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
PerfBenchmark with TestMode.Measurement throws error without assertion. Isn't testmode measurment meant to be use with no assertions. Is there any way we can disable this check?
Example:
public class TempBenchmark
{
private Counter _counter;
[PerfSetup]
public void Setup(BenchmarkContext context)
{
_counter = context.GetCounter("Event");
}
[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Measurement)]
// [CounterThroughputAssertion("Event", MustBe.GreaterThan, 0.20d)]
public void Iterations()
{
_counter.Increment();
}
}
The text was updated successfully, but these errors were encountered:
PerfBenchmark with TestMode.Measurement throws error without assertion. Isn't testmode measurment meant to be use with no assertions. Is there any way we can disable this check?
Example:
The text was updated successfully, but these errors were encountered: