Class

PerformanceMonitor

DebugTools.PerformanceMonitor()

Performance monitor class

Constructor

# new PerformanceMonitor()

View Source utils/debugTools.js, line 9

Methods

# checkPerformanceAlerts()

Check for performance alerts

View Source utils/debugTools.js, line 87

# getRecommendations() → {Array}

Get performance recommendations

View Source utils/debugTools.js, line 147

Recommendations

Array

# getReport() → {Object}

Get performance report

View Source utils/debugTools.js, line 131

Performance report

Object

# reset()

Reset metrics

View Source utils/debugTools.js, line 180

# setThresholds(thresholds)

Set performance thresholds

Parameters:
Name Type Description
thresholds Object

New thresholds

View Source utils/debugTools.js, line 194

# update(data)

Update performance metrics

Parameters:
Name Type Description
data Object

Frame data

View Source utils/debugTools.js, line 42