optimize DisplayPortUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered by checking for leaf frames
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
| Assignee | ||
Comment 1•2 years ago
|
||
On 20 runs of speedometer3 this makes MaybeCreateDisplayPortInFirstScrollFrameEncountered 30% faster.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Comment 4•2 years ago
|
||
it looks like this caused performance regression in some DevTools tests:
== Change summary for alert #40836 (as of Thu, 04 Jan 2024 17:12:17 GMT) ==
Regressions:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 44% | damp console.typing | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 408.81 -> 590.60 |
| 41% | damp console.typing | linux1804-64-shippable-qr | e10s fission stylo webrender | 421.14 -> 595.40 |
| 7% | damp console.typing | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 376.48 -> 404.18 |
| 7% | damp console.typing | windows10-64-shippable-qr | e10s fission stylo webrender | 375.80 -> 400.21 |
| 6% | damp custom.netmonitor.requestsFinished.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 2,307.28 -> 2,450.47 |
| 5% | damp custom.netmonitor.requestsFinished.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender | 2,306.01 -> 2,430.50 |
| 5% | damp custom.netmonitor.requestsFinished.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 2,844.16 -> 2,984.38 |
| 5% | damp custom.netmonitor.requestsFinished.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 2,793.09 -> 2,927.53 |
| 5% | damp custom.inspector.expandall.balanced | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 511.88 -> 535.22 |
| 5% | damp custom.netmonitor.reload.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 346.95 -> 362.70 |
| ... | ... | ... | ... | ... |
| 4% | damp custom.inspector.expandall.balanced | windows10-64-shippable-qr | e10s fission stylo webrender | 520.28 -> 540.87 |
| 3% | damp custom.jsdebugger.stepOver.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender | 433.99 -> 445.26 |
| 2% | damp custom.inspector.deeplynestedrule.refresh | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 83.22 -> 85.22 |
| 2% | damp custom.jsdebugger.stepOver.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 431.01 -> 441.19 |
| 2% | damp custom.inspector.deeplynestedrule.refresh | windows10-64-shippable-qr | e10s fission stylo webrender | 72.46 -> 74.11 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40836
the on console.typing is the most worrysome, source of the test is here: https://searchfox.org/mozilla-central/rev/f961e5f2a22f4d41733545190892296e64c06858/testing/talos/talos/tests/devtools/addon/content/tests/webconsole/typing.js
| Assignee | ||
Comment 5•2 years ago
|
||
Where is the link to the graph which specific revisions and results?
Comment 6•2 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #5)
Where is the link to the graph which specific revisions and results?
Comment 7•2 years ago
|
||
(note that other, more obvious graphs, like this one , points to a pushlog with more entries (https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=655286516798565db497786ca92d9a8f7f7744bf&tochange=9ea90dc23395fc3e2d9d2bd18598cc49434eeff1), so maybe this bug is not at fault here (and I didn't run any pushes to assert that this bug was the culprit)
| Assignee | ||
Comment 8•2 years ago
|
||
Thanks. The graph is also a quick way to get to a job for which I can trigger a job with a profile.
I think I see what the problem is that would make this bug a plausible culprit. Do you want to file a new bug for the regression or should I?
Comment 9•2 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #8)
Thanks. The graph is also a quick way to get to a job for which I can trigger a job with a profile.
I think I see what the problem is that would make this bug a plausible culprit. Do you want to file a new bug for the regression or should I?
Sure, I filed Bug 1873414
Description
•