Version: v0.5.1 - Beta.  We welcome contributors & feedback.  THanks!

Perf.start

Perf.start(taskId, detail = '')

Description

Start a Perf task, with an optional detail String.

function createThumb(imageFileName) {

    Perf.start('createThumbnail', 'file: ' ~ imageFileName);

    // ... modify pixels ...

    Perf.stop();
}