Reputation: 986
This is something I've noticed when profiling my webGL game.
When devTool is open it is significantly more laggy (I guess because of all the debugging stuff)
However whenever I'm doing a profiling (CPU for instance but everything works) the performances rockets. In a heavy loaded scene it jumped from 11 fps to 40.
It has two resultant :
How can I get those performances at any time while devTool is open ?
I have a hard time debugging performances cause everything is working just crystal clear most of the time during profiling ...
Chrome 40.0.2214.115 m
Upvotes: 2
Views: 359
Reputation: 64
Do you have any logging to the console? It might be that profiling turning off some debugging stuff and thus performance returning to the initial values of FPS. If it is a reason, you will not be able to have the same performance with CDT and without it.
Can behaviour be repeated on the threejs examples like http://threejs.org/examples/#webgl_buffergeometry? If yes, it's more serious issue. I was not able to repro such behaviour on Windows Chrome stable/canary versions.
Upvotes: 1