Table of Contents

Class MemoryRandomizationAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll

specifies whether Engine should allocate some random-sized memory between iterations it makes [GlobalCleanup] and [GlobalSetup] methods to be executed after every iteration

public class MemoryRandomizationAttribute : JobMutatorConfigBaseAttribute, IConfigSource
Inheritance
MemoryRandomizationAttribute
Implements
Inherited Members

Constructors

MemoryRandomizationAttribute(bool, OutlierMode)

public MemoryRandomizationAttribute(bool enable = true, OutlierMode outlierMode = 0)

Parameters

enable bool
outlierMode OutlierMode