Closed Bug 1710478 Opened 3 years ago Closed 3 years ago

aboutProcesses.js' displayDOMWindowRow function provides too many fluent arguments

Categories

(Toolkit :: Performance Monitoring, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

When profiling about:processes after bug 1705827 landed, I see that JSON.stringify-ing and parsing of fluent arguments takes a significant part of the remaining time.

Before digging further into this, I think it makes sense to reduce the size of the data being serialized and parsed, by removing the fluent arguments that are unused.

My patch in bug 1710441 does that for process rows. It makes sense to also do it for rows were tabs are listed (the url, which is potentially long, is currently included unconditionnaly, but is only used in the subframes case).

Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/71c52ecc7fa7
only provide the fluent arguments that will be used when displaying tab rows in about:processes, r=dthayer.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: