I am doing playtesting throughout the entire game I'm making. All layouts play smooth when I go straight to it from the main menu, however I've noticed slowdowns (or more like choppyness) when I play the game for more than 40 minutes (give or take 10 min), and play through it all chronologically. The first thing one would think is "oh it's obviously a memory leak", but I don't see any more memory use than normal in my task manager. I rarely stay on the same layout for more than 2-3 minutes at a time, and nothing carries over to the next layout apart from assets that's common between the two. I also tried making hotkeyes for every level and teleport quickly between them to quickly make sure all the assets in the game have been loaded in at some point, still runs smooth. It only really seems to happen after long playsessions.
The worst part is that this seems to be happening completely at random. I've had playsessions on the same computer with the same builds where the slowdown occur. It feels very choppy, almost like an unstable vsync of sorts. Can anyone relate? I'm using the latest stable release of C2 with Node Webkit.
Thanks