I'm working on Touchbar tools for Adobe Lightroom. I have a bunch of widgets in a group with Execute Shell Script Actions running Python3 scripts. Hitting a widget highlights the widget and tells Lightroom via a POST that this is the current parameter. User then uses a two finger swipe on the Touchbar and parameter changes are sent to Lightroom, again with a POST.
I'm beginning to hit performance issues. The slider is a bit juddery which is understandable, I guess, if it's calling a shell and Python on every change. Also I'm using update_trigger over requests.get() to highlight the widget and un-highlight the other widgets in the group and there's a noticeable delay between hitting a button and having it highlight.
None of this is major but it's enough that I'd like to improve it and I wondered if anyone had any thoughts.