Open Bug 1679823 Opened 4 years ago Updated 3 years ago

Record the optimization characteristics of the profiled build

Categories

(Core :: Gecko Profiler, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: julienw, Unassigned)

Details

See https://github.com/firefox-devtools/profiler/issues/3040 for more context.

In short, we want to know the optimization level of the current profiled build, both for C++ and Rust. Then we can display all this information in the metainfo panel, and display a warning if the build isn't a release build.

It's not completely clear to me if nightly builds are built with --enable-release but I think they are. (in [1], the lines with imply_option seem to contradict the default value of this option, this is a bit weird).

[1] https://searchfox.org/mozilla-central/rev/168c45a7acc44e9904cfd4eebcb9eb080e05699c/build/moz.configure/toolchain.configure#7-15

Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.