Closed Bug 2079203 Opened 1 month ago Closed 1 month ago

Convert `SessionStartup` to a class

Categories

(Firefox :: Session Restore, task)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert)

Attachments

(1 external file)

SessionStartup exports an object literal that holds its state in _-prefixed properties. Converting it to a class lets those properties become private fields that TypeScript checks, as bug 1892761 did for SessionStore. The conversion has to check which of them tests and other modules read.

Nothing read _initialized, so it is dropped rather than kept as a write-only private field.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

Perfherder has detected a browsertime performance change from push 280da9b89fc743b497644568fe4e46479e17334e.

No action is required from the author; this comment is provided for informational purposes only.

Improvement Test Platform Options Absolute values [old vs new]
2% speedometer3 Perf-Dashboard/total (doc) windows11-64-24h2-nightlyasrelease fission webrender 55.79 ms -> 54.70 ms
1% speedometer3 Editor-TipTap/total (doc) macosx1500-aarch64-nightlyasrelease fission webrender 30.23 ms -> 29.82 ms
1% speedometer3 Editor-TipTap/total (doc) macosx1500-aarch64-nightlyasrelease fission webrender 30.08 ms -> 29.86 ms

Need Help or Information?

If you have any questions, please reach out to afinder@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

Keywords: perf-alert
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: