Sound engine performance #2310
potsmugen
started this conversation in
Engine development
Replies: 1 comment
-
From what I can tell, it seems to be coming from oto specifically, a dependency of beep. I wonder what they would say if we brought it up to them? I also wonder if profiles are similar on other platforms since that specifically mentions the WASAPI context (Windows Audio Session API) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Several people have mentioned before that they're sticking with version 0.98.2 because 0.99 has worse performance for them. I've been profiling the nightly for a while now and one thing that always sticks out is how heavy the sound engine is:
It takes about 2/3 of the CPU here. That means it takes twice the processing power of the game logic and rendering combined. We've been talking about optimizing the rendering for a while, for perspective.
Out of curiosity I also profiled version 0.98.2:
The sound essentially vanished. Down to about 4% CPU.
Both profiles are from KFM vs KFM just doing nothing in Mountainside Temple. So no sounds were even playing.
Not saying we should go back to 0.98.2 sound or anything. This feels like an elephant in the room but I'm not sure where to go from here. Just wanted to document it.
Beta Was this translation helpful? Give feedback.
All reactions