Represents the Performance Manager.
<static> perf
// 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();
}