-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
go/packages: optimize loading without overlays #160
base: master
Are you sure you want to change the base?
Conversation
Both of determineEnv and determineRootDirs calls take 100-200ms on MacBook Pro. Right now they are needed in most cases only for overlay processing. Optimize: call them only when overlays are set.
This PR (HEAD: e9260b9) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/195357 to see it. Tip: You can toggle comments from me using the |
Message from Michael Matloob: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Gobot Gobot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=2fb79fc0 Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Michael Matloob: Patch Set 1: Is this calling slowness? We shouldn't be blocking on determineEnv or determineRootDirs, right? Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Gobot Gobot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Denis Isaev: Patch Set 1:
Yes, on my MacBook pro the final loading time was 100-200ms slower even it's parallel. Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Michael Matloob: Patch Set 1:
Do you know why that's happening? I don't want to make this change without understanding how it helps. Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Go Bot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=2fb79fc0 Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Message from Go Bot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/195357. |
Both of determineEnv and determineRootDirs calls take 100-200ms on
MacBook Pro. Right now they are needed in most cases only for
overlay processing. Optimize: call them only when overlays are set.