Closed Bug 1701395 Opened 3 years ago Closed 3 years ago

performance regression in chalkboard benchmark (https://testdrive-archive.azurewebsites.net/performance/chalkboard/)

Categories

(Core :: Graphics: Canvas2D, defect, P1)

Firefox 89
defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- fixed

People

(Reporter: furkan, Assigned: bobowen)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

  1. go to https://testdrive-archive.azurewebsites.net/performance/chalkboard/ run a benchmark and compare the results with a nightly before https://bugzilla.mozilla.org/show_bug.cgi?id=1699790

Actual results:

https://bugzilla.mozilla.org/show_bug.cgi?id=1699790 has landed. I did a mozregression and found this https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d08490cb7ac70c79a200ad93effef91d2570f793&tochange=8350638712cf491cbdabc5ed1cf2f72139daed12

Expected results:

https://www.vsynctester.com/gputest.html benchmark should have improved without degrading performance of chalkboard test. I also tested the vsynctester with and without https://bugzilla.mozilla.org/show_bug.cgi?id=1699790 I got similar results where in chalkboard I get worse results.

On my machine the results got from ~7.50 seconds to ~11.80. I also requested in the Nightly Matrix chat from users to see how their results are:

smowtenshi: reported from 6.41 to 8.39
B.J. Herbison: reported from 6.72 to 11.52

Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1699790

Assignee: nobody → bobowencode
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S4
Priority: -- → P1

This also sets the webrender max_texture_size back to 8192, to fix performance
regression.

What do you think would be the best approach here?
I guess I could try and add the feature level to TextureFactoryIdentifier, but I can't quite find my way round the rust code to work out how to populate it.

Flags: needinfo?(jmuizelaar)

This patch separates the max_texture_size reported by webrender's renderer (limit to what webrender can consume) from the max texture size used internally as a threshold for tiling.

Attachment #9212592 - Attachment is obsolete: true
Attachment #9212827 - Attachment description: WIP: Bug 1701395 - Report the device's max texture size (up to 16k) → Bug 1701395 - Report the device's max texture size (up to 16k). r=jrmuizel
Flags: needinfo?(jmuizelaar)
Pushed by bobowencode@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7ede736ae56e
Report the device's max texture size (up to 16k). r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Blocks: 1677515
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: