Significant CPU Usage Increase between 1.10.1 and 1.11.2

I recently upgraded Defold for an unrelated reason and noticed significantly more lag than before. I thought I’d done something wrong, so I was searching far and wide for a mistake I made. I then re-downloaded an old version and lo and behold, the CPU usage was back down. With absolutely nothing changed, the CPU usage doubled to tripled.

1.11.2:

==============

1.10.1 Usage

The only difference in the console is this message:

`WARNING:ENGINE: Using bootstrap.debug_init_script='/_defold/debugger/start.luac`

Any ideas on what is going on? Thanks.

Hi!
Thanks for the heads up!
What project are you running?
Can you try earlier versions of Defold to try to pinpoint the exact version where this happened?

Hey, just checked it out, the increase in CPU usage happens in the immediate next update 1.10.2. I could DM you the project if you want to. Imma test another project to see if the same thing happens. I also get some lag in these upper versions. The only lead I could get from the profiler is that it probably has to do with the collisionobjects, DrawRenderList or OpenGLFlip. I have the sound on the same thread and cuts in the sound help hint to lag, which there’s significantly more of 1.10.2+.

The lag part likely has to do with the amount of tabs I have open right now but regardless the CPU usage is still up (not to mention the lower amount of lag in 1.10.1)

cough

Could you please create an issue on GitHub? We review new issues Monday morning and will assign someone in the team to do a first investigation.

If you read the release notes for 1.10.2, you’ll see that the sound mixing got an update.
As it does have to do more work, I expect it to cost a

Alright I’ll get onto that

It being a sound issue makes sense, the other projects I reviewed didn’t have that much of a difference but this particular one has sound.