High CPU consumption - coreaudiod process on macOS

• Jun 3, 2019 - 02:44
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

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?

Attachment Size
Pasted Graphic.png 452.58 KB