# PerformanceWatchdogViewModel

#### new Cesium.PerformanceWatchdogViewModel(options)
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 23

The view model for `PerformanceWatchdog`.

Name | Type | Description
--- | --- | ---
`options` | object | optional Object with the following properties:
Name | Type | Default | Description
--- | --- | --- | ---
`scene` | Scene |  | The Scene instance for which to monitor performance.
`lowFrameRateMessage` | string | `'This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.'` | optional 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.

### Members

#### dismissMessage : Command
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 101

Gets a command that dismisses the low frame rate message. Once it is dismissed, the message will not be redisplayed.

#### lowFrameRateMessage : string
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 36

Gets or sets the message to display when a low frame rate is detected. This string will be interpreted as HTML.

#### lowFrameRateMessageDismissed : boolean
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 46

Gets or sets a value indicating whether the low frame rate message has previously been dismissed by the user. If it has been dismissed, the message will not be redisplayed, no matter the frame rate.

#### scene : Scene
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 89

Gets the `Scene` instance for which to monitor performance.

#### showingLowFrameRateMessage : boolean
widgets/Source/PerformanceWatchdog/PerformanceWatchdogViewModel.js 52

Gets or sets a value indicating whether the low frame rate message is currently being displayed.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.