Table of Contents

Class GlobalSetupAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.Annotations.dll

Marks method to be executed before all benchmark iterations. It's going to be executed only once, just before warm up.

[AttributeUsage(AttributeTargets.Method)]
public class GlobalSetupAttribute : TargetedAttribute
Inheritance
GlobalSetupAttribute
Inherited Members

Constructors

GlobalSetupAttribute()

public GlobalSetupAttribute()