How to optimize cables patches with the Performance op
So, how can we use the performance op and Flow mode to find potential bottlenecks and optimize our patch? If you find yourself with a patch that feels slow or is stuttering, try the following procedure:
First, plug in a Performance op right after your MainLoop. As explained before, you should now see various metrics in the top left corner of your canvas. Keep an eye on the values FPS and frame avg (frame average).
If you have a patch that is slow, you should start by disconnecting your ops from top to bottom. Keep an eye on these two while you continue with the following steps:
- Disconnect the trigger below the Performance op. Your FPS and frame average should now go back to 60 (fps) and a frame average below 1ms.
- Now reconnect everything and check if these values go up again.
- You now know that something after your Performance op impacts the performance of your patch.
- Now try disconnecting different branches below the Performance op and see if there is an increase in performance.
- If not, go further down the chain and disconnect the ops/branches even further below.
- Repeat 4) and 5) until you can pinpoint which part of your patch is responsible for impacting your performance.
Found a problem? Edit this file on github and contribute to cables!