You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize the API docs generation by disabling the use of Go modules
when running the generation tool. This is a workaround for performance
issues in the upstream libraries:
kubernetes/gengo#147kubernetes/code-generator#69
Before this workaround:
make api-docs 93.87s user 171.98s system 426% cpu 1:02.30 total
After the workaround:
make api-docs 2.91s user 0.83s system 135% cpu 2.752 total
The hack seems worth the 97% improvement for iterating on docs.
0 commit comments