Jump to content

Periodic lag spikes in small test


ikkuh
 Share

Recommended Posts

Hi,

 

I played around with Phaser and got periodic lag spikes in a very small test:

The test consists of 1 state with 5 sprites moving from the right to the left on the screen. Upon leaving the screen on the left the sprite is reset back to the right.

 

Testing this on a Desktop PC with Chrome version 40.0.2214.111 m and Firefox version 35.0.1 showed periodic lag spikes every ~19 seconds. Multiple frames seem to be skipped for no reason. You can literally watch it for 1 minute and see 3 lag spikes occur while being able to predict them each time.

 

Adding debug text showing the FPS or using the debug plugin showed no problems at all. Does anyone know why these lag spikes occur?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...