Skip to content

Fix stateful test performance regression #4440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

tybug
Copy link
Member

@tybug tybug commented Jun 20, 2025

dataclasses.asdict deepcopies and can be very expensive. Regressed in #4395, where I copied attrs.asdict -> dataclasses.asdict (but that's no excuse!)

closes (very likely) #4431.

@tybug tybug merged commit 6856f1f into HypothesisWorks:master Jun 20, 2025
119 of 121 checks passed
@tybug tybug deleted the stateful-asdict-perf branch June 20, 2025 06:18
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.

2 participants