Sometimes when I start the game with Canvas Renderer, it performs really slow like max 5fps. renderer.render(stage) takes 500-700ms.
It happens only after refresh randomly, on the first time starting the game. If I reconnect to the server, it will restart game, destroy sprites and it will run fine then.
It doesn't happen if I don't have many players in the server and only happens with canvas renderer.
How could I approach this issue? Would be really great to get this solved, then I could use the Canvas fallback.
Chromes performance captures below (some items cropped out with little total times)