Benchmark.Run

Static Method in Benchmark

Declaration

public static void Run(int iterations, params Action[] functions)

Description

Performs a benchmark that runs each provided function a given amount of iterations.

Parameters

iterationsThe amount of times each function is executed.
functionsThe functions to be executed.