Solarus Forum

Solarus => Development => Topic started by: alexgleason on September 29, 2018, 11:12:28 pm

Title: Slowdown after leaving the game on for a while
Post by: alexgleason on September 29, 2018, 11:12:28 pm
My game runs at full speed normally. But sometimes I'll leave the game window open while I'm working on some code. When I return 20 minutes later it's often lagging quite a bit. CPU usage goes up to 100% on one of my cores.

It's possible my game code is causing this, but I'm not sure where. I'm not using game:on_update() anywhere and I don't think I'm firing off any events that never stop. Has anyone else experienced this? Solarus 1.5.3
Title: Re: Slowdown after leaving the game on for a while
Post by: Christopho on September 30, 2018, 12:48:08 am
We fixed some performance issues in Solarus 1.6. Can you compile the dev branch of the repository to see if you still have the problem?
Title: Re: Slowdown after leaving the game on for a while
Post by: Akamatsu on September 30, 2018, 04:51:16 am
@Christopho

I've got a compiled version and have not had this issue how long does it have to be running?