Skip to content

adjustments for computeGraphs #3672

Open
BSd3v wants to merge 6 commits intoplotly:devfrom
BSd3v:fix/3661-compute-graphs2
Open

adjustments for computeGraphs #3672
BSd3v wants to merge 6 commits intoplotly:devfrom
BSd3v:fix/3661-compute-graphs2

Conversation

@BSd3v
Copy link
Contributor

@BSd3v BSd3v commented Mar 19, 2026

fixes #3661
adjustments for computeGraphs to not have validation when in debug is False or dev_tools_validate_callbacks is False

… False or `dev_tools_validate_callbacks` is False

(cherry picked from commit 077a3e7)
if store == "disabled":
print(f"Average time with store disabled: {avg_time:.2f} ms")
assert (
avg_time < 100
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having a fixed time test could lead to flakiness if our runner types change or have downtime/performance issues. @T4rk1n do you have any ideas on how to add performance regression testing for this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure there are better ways, the threshold should reflect what we think is acceptable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to benchmark outside of this, on specific devices, it might be worth running it on something like lambdatest, browser stack or something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] dash-renderer 4.0: O(n²) dependency graph resolution causes 8-9 second freeze in Firefox with ~400 callbacks

3 participants