On 10/26/17 2:51 PM, Jeff Muizelaar wrote:
What's the use case for a
--enable-optimize, opt-level=1 build?
Fwiw, I ended up doing a fair amount of my work recently in a
"--enable-optimize, --disable-debug, --enable-rust-debug" build, for the
following reasons:
1) I was modifying Rust style system code a lot and wanted a sane
compile time for incremental modifications. The time it took to build a
fully-optimized gkrust was prohibitive.
2) I was running tests locally on my modifications, and debug build
startup time in our test harnesses is horrible, to the point where
compiling my changes would take less time than running a single reftest.
Hence the --enable-optimize.
So that's a use case...
I agree that I constantly had to remember to never ever do any
performance measurement in that build; I treated it like I do my debug
builds in terms of what things I did with it, basically.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform