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

chore: Pre-parse documentation for help, examples, and flags #4283

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

twpayne
Copy link
Owner

@twpayne twpayne commented Feb 14, 2025

This reduces start-up time by about 5ms on my machine by avoiding parsing each command's reference documentation.

@twpayne twpayne marked this pull request as draft February 14, 2025 18:40
@twpayne twpayne force-pushed the pre-generate-helps branch 3 times, most recently from 2643534 to 654fc64 Compare February 14, 2025 19:19
@twpayne
Copy link
Owner Author

twpayne commented Feb 14, 2025

I think I've hit a bug in a dependency, so this is draft for now.

@twpayne twpayne force-pushed the pre-generate-helps branch 2 times, most recently from 2c8035e to 849724c Compare February 20, 2025 17:09
This reduces start-up time by about 5ms on my machine.
@twpayne twpayne marked this pull request as ready for review February 21, 2025 00:20
@twpayne twpayne merged commit 250c04c into master Feb 21, 2025
32 checks passed
@twpayne twpayne deleted the pre-generate-helps branch February 21, 2025 00:21
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.

1 participant