Monitors performance of the application and displays a message if poor performance is detected.
alias PerformanceWatchdog
- The options object takes the following properties
- {Element|String} options.container The DOM element or ID that will contain the widget.
- {Scene} options.scene The Scene for which to monitor performance.
- {String} [options.lowFrameRateMessage='This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.'] The
message to display when a low frame rate is detected. The message is interpeted as HTML, so make sure
it comes from a trusted source so that your application is not vulnerable to cross-site scripting attacks.
Monitors performance of the application and displays a message if poor performance is detected.
alias PerformanceWatchdog
- The options object takes the following properties - {Element|String} options.container The DOM element or ID that will contain the widget. - {Scene} options.scene The Scene for which to monitor performance. - {String} [options.lowFrameRateMessage='This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.'] The message to display when a low frame rate is detected. The message is interpeted as HTML, so make sure it comes from a trusted source so that your application is not vulnerable to cross-site scripting attacks.