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
A method which is marked by the [`[IterationSetup]`](xref:BenchmarkDotNet.Attributes.IterationSetupAttribute)
8
-
attribute will be executed exactly once *before each benchmark invocation* (we have changed that in 0.11.0).
8
+
attribute will be executed exactly once *before each benchmark invocation*, forcing `UnrollFactor=1` and `InvocationCount=1` (we have changed that in 0.11.0).
9
9
It's not recommended to use this attribute in microbenchmarks because it can spoil the results.
10
10
However, if you are writing a macrobenchmark (e.g. a benchmark which takes at least 100ms) and
11
11
you want to prepare some data before each invocation,
0 commit comments