Closed Bug 1712983 Opened 3 years ago Closed 3 years ago

Certviewer slowing down page loads with devtools open

Categories

(DevTools :: General, defect, P2)

defect

Tracking

(firefox-esr78 unaffected, firefox88 unaffected, firefox89 unaffected, firefox90 wontfix, firefox91 wontfix, firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- wontfix
firefox91 --- wontfix
firefox92 --- fixed

People

(Reporter: zombie, Assigned: keeler)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

See details starting from bug 1684703 comment 24.

Looks like after https://phabricator.services.mozilla.com/D106340 landed, page loads seem to be slowed by 200-400ms (on Core i7) while devtools are open. From this profile it looks like we're pegging the CPU in the parent process https://profiler.firefox.com/public/hqc6swa6sk3fjbbmpgsscfgczhx1nw50mtpspg8/.

It's not terrible since it doesn't seem to happen with devtools closed, but it makes Firefox look bad if folks are using the network devtools panel to test and compare performance vs other browsers.

Flags: needinfo?(poirot.alex)
Summary: Certviewer slowing down page loading with devtools are open. → Certviewer slowing down page loads with devtools open
See Also: → 1684703

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

Severity: -- → S3
Priority: -- → P2

Dana, since you worked on the regressor bug 1688703, could you look into this?

Flags: needinfo?(dkeeler)

I suppose we could memoize the decoded certificates so we don't waste effort decoding the same ones over and over again.

Flags: needinfo?(dkeeler)
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Attachment #9228461 - Attachment description: Bug 1712983 - memoize decoded certificates to avoid unnecessary work r?ochameau → Bug 1712983 - memoize decoded certificates in devtools to avoid unnecessary work r?ochameau
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38ea594ae66e
memoize decoded certificates in devtools to avoid unnecessary work r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

Would it be possible to add one test in the performance tests with devtools open so this is found early if it happens again? See https://bugzilla.mozilla.org/show_bug.cgi?id=1720843

Has Regression Range: --- → yes
Flags: needinfo?(poirot.alex)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: