Benchmark Summary The System.Benchmark class is a utility class for measuring the duration (in milliseconds) between a start and stop time. Description The System.Benchmark class is a utility class for measuring the duration (in milliseconds) between a start and stop time. Examples Basic Usage 12345678import System; Benchmark bench = new Benchmark();bench.start();// ... do stuffbench.stop(); Console.log(bench.duration); Methods durationCalculates the duration (in milliseconds) between the time when the benchmark timer was started and the time the benchmark timer was stopped. startStarts the benchmark timer. stopStops the the benchmark timer. Share HTML | BBCode | Direct Link