High CPU consumption - coreaudiod process on macOS
Reported version
3.1
Priority
P2 - Medium
Type
Performance
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
Open MuseScore 3 on a Mac. Notice that the "coreaudiod" process is consuming a lot of CPU. On my 4-core system it consumes 32%. Then quit MuseScore and see that "coreaudiod" process drops to near 0%.
I just have a blank score open. I'm not doing anything. Why the high CPU?
Comments
See also https://musescore.org/en/node/289036
I did some investigating into this with Instruments this morning. It looks like the high CPU usage is coming from the MIDI server that MuseScore is using, but I can't seem to trace it deeper than that.
I attached a screenshot of the call tree.
(edited questions)
Does MuseScore/portaudio make changes to the Core Audio stack in any way, or does it use the macOS default?
Came up again in #324506: My Mac is heating! the culprit: Musescore!
In reply to Came up again in #324506: My… by Jojo-Schmitz
+1 for this impacting me.
mac os 10.15.7 (19H1715)
musescore 3.6.2.548020600