cmd/gomobile: Use parallel build for frameworks on Apple platforms#74
cmd/gomobile: Use parallel build for frameworks on Apple platforms#74MikeChongCan wants to merge 19 commits into
Conversation
|
This PR (HEAD: 7a4f454) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/375134. |
|
This PR (HEAD: 0572ebc) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 6e4c23b) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 45c4267) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 1b903c7) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 50d954c) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: fd0e949) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: faf4e94) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/mobile/+/375134 to see it. Tip: You can toggle comments from me using the |
|
@hyangah gentle ping : ) |
Currently the build for different targets and CPU architectures is sequential. Even for a small project, it usually takes about one minute to build for
-target maccatalyst,ios,iossimulator,macos, which is very different from our perception of build speed of Golang.By adopting this parallel build approach, we can save a lot of time.
Simple visualization (
gomobile bind -target maccatalyst,ios,iossimulator,macos ...):Main Branch
This PR
Quick Benchmark
Local machine comparison with a minimal demo Golang project (on M1 Max):
Sample 1
Official demo: https://github.com/golang/mobile/tree/master/example/bind/hello
Sample 2