Hi everyone! A few of my users have reported that my plugin takes up 70-90% CPU on the Ableton 11 meter, all on M1 Max machines (it should use 2-10% CPU). Their MacOS versions are Monterey and Sonoma. I got one of them to send me the logs from an altered release build with a bunch of PerformanceCounter instances, and discovered that there was no one culprit in the code - all DSP modules were simply running 2-10x slower than on my machine (a macbook pro 2022 M1).
One theory I had was that the audio thread was being run on an efficiency core - I heard that Ableton 11 can only allocate performance cores with small buffer sizes, so I asked one user to reduce his buffer size and see if that fixed it. He said that the performance was even worse with a 64-sample buffer size.
So, perhaps it’s not a thread priority issue? My plugin only uses the default JUCE main thread, I do not instantiate any of my own threads. I am on JUCE version 7.0.9, the latest version. Has anyone else experienced this issue, or any ideas about what it could be? Thanks!