Closed Bug 1784940 Opened 2 years ago Closed 2 years ago

Atrocious levels of jank in only one window on Linux

Categories

(Core :: Graphics, defect)

Firefox 105
defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: chutten, Assigned: aosmond)

References

Details

Attachments

(1 file)

I'm seeing 100-200ms jank events in the parent process that aren't a lot of fun. Latest nightlies. Linux. Happening since at least Friday.

Appears to happen reliably on the first window of a two-window many-tab session if the tab strip is scrolled to the end (to the right).

Here's another profile of about:performance janking, if it helps: https://share.firefox.dev/3zX823M

I'm going to try to get a regression window next. ni?aosmond because :jrmuizel told me to.

Flags: needinfo?(aosmond)

mozregression doesn't want to load my profile [Errno 2] No such file or directory: '/home/chutten/.mozilla/firefox/ed6wehqr.worksync/chrome_debugger_profile/lock'. And anyway, when I restarted back into the same build it wouldn't recur.

It came close to having the same symptoms when I switched to a tab that was a JSON view of a loaded "main" ping data: URI (about:telemetry > Current data -> Archived ping data > Choose a "main" ping > Raw JSON), but as soon as I switch away from that tab, the performance goes back to normal. I'll monitor it.

The parent process is spending a lot of time in the RWLock objects. Looking at gfxFont::Measure, it does lock and unlock the extent lock an inordinate amount. I think we can do better.

Severity: -- → S3
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)
Pushed by aosmond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/866e80f44658
Acquire/release locks in gfxFont::Measure fewer times. r=jfkthame
Blocks: 1785673
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: