ParallelPerformanceTracker public sealed class ParallelPerformanceTracker Show allA utility class for tracking performance under various degrees of parallelism. AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsParallelPerformanceTracker#Create a tracker with a default action.public ParallelPerformanceTracker()ParallelPerformanceTracker#public ParallelPerformanceTracker( Action<int>action)PropertiesAction#Gets the action to invoke on every iteration.public Action<int> Action { get; }MethodsMeasure#Measure performance across a range of degrees of parallelism.public (int degree, TimeSpan duration)[] Measure( intiterations, intminDegree, intmaxDegree)Measure#Compute a specific degree measurement asynchronously. Running this method more than one at the same time will taint the measurements, so be sure to await every call to this method.public TimeSpan Measure( intiterations, intdegree, CancellationTokentoken)