Mati_O
November 9, 2015, 1:43pm
1
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
hannah
November 10, 2015, 3:58pm
2
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
Mati_O
November 11, 2015, 12:06pm
3
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