perf member

Represents the Performance Manager.

Syntax

<static> perf

Example

// Start performance collection. 
if (hwc.perf.isEnabled())
{
    hwc.perf.stopInteraction();
}

hwc.perf.startInteraction('someinteraction');

hwc.perf.startInterval('IntervalName', 'CustomType'); // Start an optional interval.

// Stop performance collection.  Logs will be written.
if (hwc.perf.isEnabled())
{
  hwc.perf.stopInterval('IntervalName'); // Stop an optional interval.
  hwc.perf.stopInteraction();
}

Source

hwc-api.js, line 3579.