Finding + Fixing a AudioWorkletProcessor Performance Pitfall

from blog cprimozic.net Blog, | ↗ original
TL;DR: There is a non-zero cost that scales linearly with the number of parameters s have. If you are seeing issues with long execution times for with low execution times on the inner "(author script execution)" for the method itself, check if the total number of parameters you have on your AWPs is high. In my case, I reduced it from 544 to 96...