-
Notifications
You must be signed in to change notification settings - Fork 402
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
optimization: switch fastbuild opt default to 1 from 0 #1091
Conversation
This will very slightly increase build times but applies basic optimizations that will do things like make iterators _much_ faster. Since fastbuild is how people iterate most of the time, this seems like a sensible default value.
The windows test failure seems like it might be environmental? |
The windows build is non-fatal but good to know about. The CI failure impacting you is docs being out of date. I wonder if you fix that and push a new commit if the windows build will work. |
LGTM, @UebelAndre, I'd just like to have at least 2 approvals on this one, feel free to merge once you approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as well! I don't expect this to be problematic but just as a heads up. I'd probably be quick to revert it and do some profiling to get a clear picture of the impact if someone complains 😅. But given that my team has a ton of targets we use in tools that are probably suffering from this while iterating, I thank you!
…build#1091)" This reverts commit 2048a65.
…build#1091)" This reverts commit 2048a65.
* optimization: switch fastbuild opt default to 1 from 0 This will very slightly increase build times but applies basic optimizations that will do things like make iterators _much_ faster. Since fastbuild is how people iterate most of the time, this seems like a sensible default value. * Regenerate documentation Co-authored-by: Augie Fackler <augie@google.com>
…build#1091)" (bazelbuild#1094) This reverts commit 2048a65.
This will very slightly increase build times but applies basic
optimizations that will do things like make iterators much
faster. Since fastbuild is how people iterate most of the time, this
seems like a sensible default value.