Robbiewolf Posted December 21, 2017 Share Posted December 21, 2017 Hello all, I am not sure if I am alone in this, but I seem to have some performance issues with the debugLayer in firefox. If I open the basic scene(or any other scene for that matter) in the playground I have a solid 60 fps. But as soon as I show the debugLayer(either via the button on the top menu or via debugLayer.show) the fps drops to around 3. Removing the debugLayer puts the fps back to 60. I see no errors in the console. I tried to replicate this issue in Chrome and Edge but it works fine there. Is this a problem at the side of Babylon or Firefox? Here is a link to the playground: http://playground.babylonjs.com/#D3LNX9#1 (note this is basicly the basic scene with the debugLayer on from the start) Robbiewolf Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 21, 2017 Share Posted December 21, 2017 I am not seeing this behevior: What version of firefox are you using? Quote Link to comment Share on other sites More sharing options...
Robbiewolf Posted December 21, 2017 Author Share Posted December 21, 2017 (edited) Firefox 57.0.2 (64-bits) Could it then be a problem with the pc itself? Edited December 21, 2017 by Robbiewolf added images Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 21, 2017 Share Posted December 21, 2017 I am using the same version. Anyone else experiences this problem? Quote Link to comment Share on other sites More sharing options...
Kesshi Posted December 21, 2017 Share Posted December 21, 2017 I also see a small difference. (Firefox 57.0.2) With debug layer = 53 fps Without = 60 fps I get the same numbers with IE 11. In Chrome and Edge i always have 60 fps. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 21, 2017 Share Posted December 21, 2017 No problem here as well Can you try to do a profiler session to see where the CPU is used ? Quote Link to comment Share on other sites More sharing options...
Robbiewolf Posted January 2, 2018 Author Share Posted January 2, 2018 Looking at the profile, it doesn't really tell me anything.(perhaps I am looking in the wrong place) Something to note. Once I used the debugger it stays slow, it will show around 60 fps on the playground again. But my pc won't stop being slow until I close the tab that has the playground in it. Here is the profile and a picture of it. profile.json My Task manager doesn't really tell me much either, since my CPU is only around 20% Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 2, 2018 Share Posted January 2, 2018 Unfortunately this does not help me either Debug Layer requires a lot of HTML operation and can slow things down for sure. But hardly to the value you are seeing NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted January 2, 2018 Share Posted January 2, 2018 i think the log tools can help more than live debug layer Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.