Show / Hide Table of Contents

Method perf.write


Overload

Formats a string from time values collected by calling perf.first and perf.next, and shows it in the output. The string contains the number of microseconds of each code execution between calling First and each Next.

public static void write()

Examples

perf.first(100);
CODE1;
perf.next();
CODE2;
perf.next();
perf.write(); //speed:  timeOfCODE1  timeOfCODE2  (totalTime)