-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
gh-140125: Increase object recursion depth for test_json from 200k to 500k
#142226
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
Conversation
|
From some microbenchmarks, this adds like 80ms or so on my machine, which seems negligible. |
test_json from 200k to 500ktest_json from 200k to 500k
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Victor Stinner <[email protected]>
… 200k to 500k (pythonGH-142226) (cherry picked from commit e3539e9) Co-authored-by: Zanie Blue <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
|
GH-142416 is a backport of this pull request to the 3.14 branch. |
|
@zanieb: Merged, thanks. I backported the change to 3.14 since you wrote that 3.14.1 is also affected by the issue. I don't think that 3.13 needs a backported. Correct me if I'm wrong. |
|
That's correct. Thank you for backporting <3 I was just coming to ask for that |
…m 200k to 500k (GH-142226) (#142416) gh-140125: Increase object recursion depth for `test_json` from 200k to 500k (GH-142226) (cherry picked from commit e3539e9) Co-authored-by: Zanie Blue <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
test_jsoncasetest_highly_nested_objects_decodingfails under PGO on Clang 20 #140125It appears increasing this recursion depth of the object resolves the issue where it can fail to hit the stack limit on macOS during PGO.
The PGO test runtime seemed unaffected on macOS and the test runtime in CI here seems within noise.