Skip to content

Conversation

@zanieb
Copy link
Contributor

@zanieb zanieb commented Dec 3, 2025

It 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.

@zanieb
Copy link
Contributor Author

zanieb commented Dec 4, 2025

From some microbenchmarks, this adds like 80ms or so on my machine, which seems negligible.

@zanieb zanieb changed the title gh-140125: Increase recursion depth for test_json from 200k to 500k gh-140125: Increase object recursion depth for test_json from 200k to 500k Dec 4, 2025
@zanieb zanieb requested a review from markshannon December 4, 2025 18:53
@zanieb zanieb marked this pull request as ready for review December 4, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant