Skip to content

optimize go generate speed #161

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 3 commits into from
May 23, 2024
Merged

optimize go generate speed #161

merged 3 commits into from
May 23, 2024

Conversation

jabielecki
Copy link
Collaborator

Do not repeatedly parse the same yang files.
Saves about 7 seconds for me.

Bonus: recommend go generate -x as it adds just a few lines of output but adds a lot of clarity.

Do not repeatedly parse the same yang files.
Saves about 7 seconds for me.
@jabielecki jabielecki requested a review from danischm May 23, 2024 12:35
@danischm danischm merged commit ef328c6 into main May 23, 2024
6 checks passed
@jabielecki jabielecki deleted the speedup_gen branch May 23, 2024 15:50
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