generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: speed up parts of the build (#3812)
This should have a fairly decent cumulative effect. Before: ``` $ time just build-zips just build-zips 0.20s user 0.09s system 22% cpu 1.287 total $ time just go2proto just go2proto 0.83s user 0.09s system 84% cpu 1.090 total $ time just build ftl 2>&1 | grep Running ===> Running recipe `go2proto`... ===> Running recipe `build-protos`... ===> Running recipe `build-zips`... ===> Running recipe `pnpm-install`... ===> Running recipe `build-frontend`... ===> Running recipe `build`... ===> Running recipe `go2proto`... ===> Running recipe `build-protos`... ===> Running recipe `build-zips`... ===> Running recipe `build-without-frontend`... ===> Running recipe `build-zips`... ===> Running recipe `go2proto`... ===> Running recipe `build-protos`... ===> Running recipe `build-go-binary`... just build ftl 2>&1 6.32s user 3.05s system 95% cpu 9.799 total grep Running 0.00s user 0.00s system 0% cpu 9.798 total ``` After: ``` $ time just build-zips just build-zips 0.31s user 0.22s system 107% cpu 0.498 total $ time just go2proto just go2proto 0.04s user 0.02s system 20% cpu 0.277 total $ time just build ftl 2>&1 | grep Running ===> Running recipe `pnpm-install`... ===> Running recipe `build-frontend`... ===> Running recipe `build`... ===> Running recipe `go2proto`... ===> Running recipe `build-protos`... ===> Running recipe `build-zips`... ===> Running recipe `build-without-frontend`... ===> Running recipe `_build-go-binary-fast`... just build ftl 2>&1 3.59s user 2.62s system 159% cpu 3.903 total grep Running 0.00s user 0.00s system 0% cpu 3.902 total ```
- Loading branch information
1 parent
ffbf1d6
commit 004a8e8
Showing
4 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
.mk-0.9.1.pkg | ||
.mk-0.10.0.pkg |