Use moz.configure for Nightly flags
Categories
(Core :: JavaScript: WebAssembly, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: bbouvier, Assigned: bbouvier)
Details
Attachments
(3 files)
This should give a few advantages:
- no need to define the defines in several files, it should propagate everywhere
- gives you --enable/--disable configure line options for free, with associated help (we could have --enable-wasm-gc, --enable-wasm-reftypes, etc.)
- build peers will like us more
Assignee | ||
Comment 1•6 years ago
|
||
This got a bit bigger than just wasm (it also includes typed objects now), so updating title.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/86c5f309b369
https://hg.mozilla.org/mozilla-central/rev/424868162298
https://hg.mozilla.org/mozilla-central/rev/2d7295e1d723
Comment 7•6 years ago
|
||
== Change summary for alert #19761 (as of Mon, 04 Mar 2019 08:26:52 GMT) ==
Improvements:
11% Base Content JS windows10-64 pgo stylo 5,090,648.00 -> 4,505,718.67
7% Base Content JS windows10-64 pgo stylo 5,092,542.00 -> 4,719,318.67
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=19761
Assignee | ||
Comment 8•6 years ago
|
||
This should not have brought any improvements of some sort, this is weird. (Same thing happened with bug 1527861 which landed in the same batch, where there were improvements on ARM and aarch64)
Trying to understand what's going on here. We were using if CONFIG['NIGHTLY_BUILD']
before, and this has been moved to milestone.is_nightly
in moz.configure files.
Nathan, can it happen that these two options are not in sync? (that is, one can be true while the other isn't, or conversely)
If so, then what could have happened is that using milestone.is_nightly
is true less often that CONFIG['NIGHTLY_BUILD']
is, which would mean some things got disabled on these builds, making runtime faster (because initialization of JS globals, etc.).
Comment 9•6 years ago
|
||
I think what's going on here is that the alert from comment 7 is flagging the wrong bug. If you look at the graph:
The drop is not related to this code landing; it looks more like bug 1433007 landing (at least if you look at the same metric on autoland, not mozilla-inbound), which makes a lot more sense:
The graph does make it look like this bug produced a small blip, which I don't really understand, but at least the big change is easier to understand...?
Description
•