Snippet Slows Down in subsequent runs - very weird

My sense is that the changes to the model are causing a refresh to happen, and that’s triggering your before-render snippet. Is there a way to separate the update actions so that the before-render snippet doesn’t update models that are relevant to the chart? I am not sure there is a way to prevent the chart from trying to re-render itself if its models are updated, since that’s built-in / intended functionality.