How does 'automatic' variable value recomputation work?

Hi team - how does the ‘Automatic’ option work for variable value recomputation behind the scenes in Workshop?

We’re in the midst of some performance improvement efforts, and wondering if shifting away from ‘Automatically’ to ‘Only when triggered by an event’ would help us improve performance where certain UI sections or downstream variables are computed based on automatically computed upstream variables.

If ‘Automatic’ means that it only changes when variable inputs explicitly change then this is probably fine, but if not then perhaps we could look into explicitly recomputing them via events. Thanks!

From my experience, this is how it works. Variables that are set to recompute automatically are only updated when their inputs change.

Additionally, there is no inherent way to kickoff events in Workshop based on certain logic or criterion. The only way that I have found to kick off events is through button clicks (submitting an action, closing an overlay, button widget, tab widget, etc). So depending on your needs here for how the variables update and whether or not you want to have to click a button for them to change, automatic recomputation is probably the best way to go.

Best,

BP