Class PerfCollectProfilerAttribute
- Namespace
- BenchmarkDotNet.Attributes
- Assembly
- BenchmarkDotNet.dll
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class)]
public class PerfCollectProfilerAttribute : Attribute, IConfigSource
- Inheritance
-
PerfCollectProfilerAttribute
- Implements
- Inherited Members
Constructors
PerfCollectProfilerAttribute(bool, int)
public PerfCollectProfilerAttribute(bool performExtraBenchmarksRun = false, int timeoutInSeconds = 300)
Parameters
performExtraBenchmarksRun
boolWhen set to true, benchmarks will be executed one more time with the profiler attached. If set to false, there will be no extra run but the results will contain overhead. False by default.
timeoutInSeconds
intHow long should we wait for the perfcollect script to finish processing the trace. 300s by default.
Properties
Config
public IConfig Config { get; }