-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Speed up make #10560
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
Speed up make #10560
Conversation
- stop `find` from venturing into node_modules and other directories that do not contain *.go files - only run `find` once for *.go files - move image tempdir generation to that task - rename GOFILES to GO_SOURCES_OWN for consistency and to indicate that vendor files are not included - pre-resolve FOMANTIC_SOURCES
Codecov Report
@@ Coverage Diff @@
## master #10560 +/- ##
==========================================
+ Coverage 43.75% 43.82% +0.07%
==========================================
Files 586 584 -2
Lines 81764 81649 -115
==========================================
+ Hits 35775 35786 +11
+ Misses 41549 41426 -123
+ Partials 4440 4437 -3
Continue to review full report at Codecov.
|
I wonder if |
|
Anything that builds into |
So templates go into bindata? I thought they were built as part of the go compilation. |
Templates are included as files in bindata.go and compiled at runtime not at compilation step |
Ok. Once will keep that in mind for once we make the |
This change seems to output errors on Windows? I get this a handful of times.
Is it related to a specific version of |
Hmm, check your You can also manually run the find:
It should output a list of all go files. |
It does at least work on 4.6.0, Cygwin version:
|
Also try changing |
Seems it's related to escaping. The following works on Windows, but not on Linux.
I think we can get a solution propped up shortly. 😃 |
Backslash should need no escaping. Try this:
|
Nope, still angry. #10577 works, though. Regardless, this PR is 🔥. Building is so much faster now. |
find
from venturing into node_modules and other directories that do not contain *.go filesfind
once for *.go filesOn my machine, the first action alone speeds up make initialization by around 400%.