Closed Bug 1872564 Opened 2 years ago Closed 2 years ago

optimize DisplayPortUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered by checking for leaf frames

Categories

(Core :: Panning and Zooming, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

No description provided.

On 20 runs of speedometer3 this makes MaybeCreateDisplayPortInFirstScrollFrameEncountered 30% faster.

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Severity: -- → S4
Priority: -- → P3
Whiteboard: [sp3]
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ea90dc23395 Optimize DisplayPortUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered by checking for leaf frames. r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch

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

Where is the link to the graph which specific revisions and results?

(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)

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?

Regressions: 1873414

(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

Blocks: 1755676
Regressions: 1873863
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: