viewerPerformanceWatchdogMixin won't display in Cesium 1.15 with viewer.extend

Hey, I think there’s a small bug introduced in 1.15…

In previous versions I used the following to display the performance watchdog, now it fails :

var viewer = new Cesium.Viewer(‘cesiumContainer’);

viewer.extend(Cesium.viewerPerformanceWatchdogMixin);

``

However, the other way works as usual :

viewer.scene.debugShowFramesPerSecond = true;

``

CesiumInspector’s mixin works fine also

Hello,

Are there any error messages? I couldn’t track down any obvious reason for this to not work in the new release.

It looks like the performance watchdog only shows up if the frame rate is below a certain threshold. Is it possible your application is running more quickly than before?

Best,

Hannah

As far as I remember, it would always show without any specific threshold - even with 60 fps. There are no any error messages.

I’ll keep using the other way :

viewer.scene.debugShowFramesPerSecond = true;

``

My method was to always display the frame rate and look for bottlenecks when the framerate drops and also profiling with devtools