Disable and remove Unboxed Objects
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
People
(Reporter: mgaudet, Assigned: mgaudet)
References
Details
Attachments
(20 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
Depends on D24036
| Assignee | ||
Comment 8•7 years ago
|
||
A note about the Scalar Replacement Changes: The M{Load,Store}Unboxed*
instructions in theory could be used to manipulate and analyze typed arrays.
However, according to nbp TypedArrays should already be excluded from elibility
because of the potential for cross-thread sharing in a SharedArrayBuffer world,
and so the only support in Scalar Replacement here is for Unboxed Objects, and
so it can all be removed.
Depends on D24037
| Assignee | ||
Comment 9•7 years ago
|
||
Depends on D24038
| Assignee | ||
Comment 10•7 years ago
|
||
Depends on D24039
| Assignee | ||
Comment 11•7 years ago
|
||
Depends on D24040
| Assignee | ||
Comment 12•7 years ago
|
||
Depends on D24041
| Assignee | ||
Comment 13•7 years ago
|
||
Depends on D24042
| Assignee | ||
Comment 14•7 years ago
|
||
Depends on D24043
| Assignee | ||
Comment 15•7 years ago
|
||
Depends on D24044
| Assignee | ||
Comment 16•7 years ago
|
||
Depends on D24045
| Assignee | ||
Comment 17•7 years ago
|
||
Depends on D24046
| Assignee | ||
Comment 18•7 years ago
|
||
Depends on D24047
| Assignee | ||
Comment 19•7 years ago
|
||
Depends on D24048
| Assignee | ||
Comment 20•7 years ago
|
||
A note about the patches: They're sort of awkwardly batched to allow partial bisection on the off-chance something went poorly, however, there aren't a lot of good cut-points, so this batching is extremely arbitrary.
| Assignee | ||
Comment 21•7 years ago
|
||
| Assignee | ||
Comment 22•7 years ago
|
||
Depends on D24093
| Assignee | ||
Comment 23•7 years ago
|
||
This is possible now that we no longer have unboxed objects
Depends on D24247
| Assignee | ||
Comment 24•7 years ago
|
||
Depends on D24248
| Assignee | ||
Comment 25•7 years ago
|
||
Depends on D24249
| Assignee | ||
Comment 26•7 years ago
|
||
Depends on D24250
| Assignee | ||
Comment 28•7 years ago
|
||
One thing to note from some preliminary Talos testing was a substantial reddit regression on TTFI
Local testing also shows a degradation.
> central_ttfi <- c(9973, 9714, 8756, 11702, 12911, 9143, 8863, 8909, 8416, 8798, 8813, 13037, 11030, 9315, 8646, 8775, 9004, 14002, 9653, 10850, 7302, 7738, 7810, 7621, 8293)
> test_ttfi <- c[(10650, 9943, 14728, 9788, 11818, 9153, 9102, 8703, 8393, 8825, 9023, 9006, 14849, 8661, 9558, 9559, 17954, 10607, 11025, 9390, 12824, 10473, 14234, 9320, 12865)
> t.test(test_ttfi,central_ttfi)
Welch Two Sample t-test
data: test_ttfi and central_ttfi
t = 2.0795, df = 43.587, p-value = 0.04349
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
38.35968 2471.80032
sample estimates:
mean of x mean of y
10818.04 9562.96
Looking at the historical graphs for that measure it does seem to be noisy, though my patch values do seem higher noticeably. I've kicked off another try run to get some more data.
I don't think we should block landing based on this, however I'll have to do some investigation to see if I can figure out -why- this is happening. Unboxed objects are already disabled, so this will have to be some sort of secondary effect.
Comment 29•7 years ago
|
||
Interesting. Yeah it's worth investigating - could be a bug in one of the patches.
| Assignee | ||
Comment 30•7 years ago
|
||
So, I've been unable to locally bisect this as the noise on my machine seems to render local runs useless.
I've observed on the same revision huge swings. e.g
- on Central, without my changes entirely, an average of both 8886 and 9844.
- on tip, with all my changes, I see both 9673.5 and 9857.0
Looking at the raw measurements, you can see that they're all over the place.
central: {"name": "ttfi", "lowerIsBetter": true, "alertThreshold": 2.0, "value": 8886.0, "replicates": [9973, 9714, 8756, 11702, 12911, 9143, 8863, 8909, 8416, 8798, 8813, 13037, 11030, 9315, 8646, 8775, 9004, 14002, 9653, 10850, 7302, 7738, 7810, 7621, 8293], "unit": "ms”},
{"name": "ttfi", "lowerIsBetter": true, "alertThreshold": 2.0, "value": 9844.0, "replicates": [10515, 9052, 9123, 15871, 9873, 9298, 8412, 13977, 8543, 8824, 8432, 8672, 10008, 9641, 9985, 9815, 11812, 10331, 10993, 10055, 16356, 11266, 10256, 9801, 9536], "unit": "ms"}
tip: {"name": "ttfi", "lowerIsBetter": true, "alertThreshold": 2.0, "value": 9673.5, "replicates": [10650, 9943, 14728, 9788, 11818, 9153, 9102, 8703, 8393, 8825, 9023, 9006, 14849, 8661, 9558, 9559, 17954, 10607, 11025, 9390, 12824, 10473, 14234, 9320, 12865], "unit": "ms”},
{"name": "ttfi", "lowerIsBetter": true, "alertThreshold": 2.0, "value": 9857.0, "replicates": [9395, 9496, 9283, 9594, 10512, 9743, 13349, 11136, 12809, 9426, 9233, 9462, 10665, 9247, 9734, 9576, 19750, 10306, 9684, 9808, 12217, 9906, 11283, 10462, 11598], "unit": "ms"}
I'm going to try and see if I see similar wild swings on try.
| Assignee | ||
Comment 31•7 years ago
|
||
The reddit regression disappeared with a new Try build comparison
Must have been some unlucky noise.
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0330a759e399
https://hg.mozilla.org/mozilla-central/rev/4e8e9a0b6c69
https://hg.mozilla.org/mozilla-central/rev/ef947b198f2c
https://hg.mozilla.org/mozilla-central/rev/7e790d902c60
https://hg.mozilla.org/mozilla-central/rev/3abc5dfef71f
https://hg.mozilla.org/mozilla-central/rev/551ced45a264
https://hg.mozilla.org/mozilla-central/rev/35a9aa1ae7b9
https://hg.mozilla.org/mozilla-central/rev/2939d41f1ade
https://hg.mozilla.org/mozilla-central/rev/8d759131d76e
https://hg.mozilla.org/mozilla-central/rev/c54c4aa147f9
https://hg.mozilla.org/mozilla-central/rev/6b55560f4da9
https://hg.mozilla.org/mozilla-central/rev/d4383df46286
https://hg.mozilla.org/mozilla-central/rev/fa973fb70a32
https://hg.mozilla.org/mozilla-central/rev/140d92e854c1
https://hg.mozilla.org/mozilla-central/rev/164b08106106
https://hg.mozilla.org/mozilla-central/rev/2f776fa2433d
https://hg.mozilla.org/mozilla-central/rev/eb04dcf207a0
https://hg.mozilla.org/mozilla-central/rev/a19a0fc91ddc
https://hg.mozilla.org/mozilla-central/rev/136b21be1299
https://hg.mozilla.org/mozilla-central/rev/89945a066c66
https://hg.mozilla.org/mozilla-central/rev/6ba48873ecae
Updated•7 years ago
|
Comment 35•7 years ago
|
||
Seems like Assorted DOM returned to previous baselines.
== Change summary for alert #20081 (as of Sat, 23 Mar 2019 01:09:14 GMT) ==
Improvements:
5% raptor-assorted-dom-firefox linux64-pgo-qr opt 26.57 -> 25.25
5% raptor-assorted-dom-firefox linux64 pgo 26.39 -> 25.08
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=20081
Updated•7 years ago
|
| Assignee | ||
Updated•6 years ago
|
Description
•