Skip to content
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

[6.1] Improve performance of JSONPointer encoding #1119

Conversation

d-ronnqvist
Copy link
Contributor

  • Explanation: This is a small isolated performance improvement that lowers the total documentation convert time by almost 1% for mixed Swift and Objective-C projects.
  • Scope: Small performance improvement for mixed Swift and Objective-C projects.
  • Issue: rdar://141047138
  • Risk: Low.
  • Testing: Existing tests pass. Used DocC's benchmark script to measure the performance difference for a few different projects.
  • Reviewer: @patshaughnessy
  • Original PR: Improve performance of JSONPointer encoding #1099

* Improve performance of JSONPointer encoding & decoding

* Reserve some extra capacity in temporary storage to avoid reallocations
@d-ronnqvist d-ronnqvist changed the title [6.1] Improve performance of JSONPointer encoding (#1099) [6.1] Improve performance of JSONPointer encoding Dec 6, 2024
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit cfaf3ca into swiftlang:release/6.1 Dec 9, 2024
2 checks passed
@d-ronnqvist d-ronnqvist deleted the json-pointer-encode-performance-6.1 branch December 9, 2024 15:29
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