(.js)
laraImport("lara.code.Timer");
(.lara)
import lara.code.Timer;
Classes:
new Timer(unit, filename)
Timer object, for timing sections of code.
getAfterJp()
getUnit()
setPrint(print)
setPrintUnit(printUnit)
time($start, prefix, $end)
time($start, prefix, $end)
Times the code of a given section.