Bug 1330635 (ss-perf)

Sessionstore performance tracking

NEW
Unassigned

Status

()

Firefox
Session Restore
5 months ago
5 days ago

People

(Reporter: mikedeboer, Unassigned)

Tracking

(Depends on: 29 bugs, Blocks: 1 bug, {meta})

50 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 months ago
We set three tiers that we’ll use to theme and prioritize sessionstore component work:

Tier 1: Reliability
Tier 2: Performance
Tier 3: Feature development and maintenance

Performance is something we’re keen to look at. We’ve identified the following sub-themes:
1. Perceived performance.
1.1 We’re restoring windows and tabs in a loop that yields and moves to the next item in a serial fashion. Ideally, this would happen in parallel.
1.2 We’re not keeping the last active window and the last active tab in that window in front of the user whilst restoring. Ideally, other windows and tabs would open in the background, out of sight.
1.3 Various animations are active whilst restoring windows and tabs, like window resizing animation, tab-open animation, tab-overflow animation(s), etc. Ideally, these would be disabled during restore.
2. Measure before work
2.1 Create an ‘arewefastyet.com’-style dashboard for sessionstore REstore, including telemetry and Talos data.
2.2 Currently we have one Talos test that opens one window and over a hundred tabs. Add a test with multiple windows and take that as the baseline.
2.3 We are currently writing an uncompressed JSON blob to disk. We should consider using lz4 compression, which is fast and part of OS.File already.
2.3.1 Smaller writes = less time spent on flush
2.3.2 Less flush means smaller window of data corruption (crash during flush)
2.3.3 Faster reads of smaller files from disk should improve startup restore performance (measurable)
2.3.4 Fewer I/O ops should lessen strain on profile dirs located on network drives
2.4 Firefox Flow - there’s an opportunity to be part of this initiative by including sessionstore work.

Bugs which have 'performance' as its main theme will be marked blocking this bug.
(Reporter)

Updated

5 months ago
Depends on: 810932
(Reporter)

Updated

5 months ago
Depends on: 669034
(Reporter)

Updated

5 months ago
Depends on: 1305950
(Reporter)

Updated

5 months ago
Depends on: 1256472
(Reporter)

Updated

5 months ago
Depends on: 669272
(Reporter)

Updated

5 months ago
Depends on: 874533
(Reporter)

Updated

5 months ago
Depends on: 1294208
(Reporter)

Updated

5 months ago
Depends on: 1032987
(Reporter)

Updated

5 months ago
No longer depends on: 1032987
(Reporter)

Updated

5 months ago
Depends on: 1025924
(Reporter)

Updated

5 months ago
Depends on: 906076
(Reporter)

Updated

5 months ago
Depends on: 675539
(Reporter)

Updated

5 months ago
Blocks: 1242912
(Reporter)

Updated

5 months ago
Depends on: 1312373
(Reporter)

Updated

5 months ago
Depends on: 1314364
(Reporter)

Updated

5 months ago
Depends on: 1096013
(Reporter)

Updated

5 months ago
Depends on: 1034534
(Reporter)

Updated

5 months ago
Depends on: 1331930
(Reporter)

Updated

5 months ago
Depends on: 1331932
(Reporter)

Updated

5 months ago
Depends on: 1331935
(Reporter)

Updated

5 months ago
Depends on: 1331936
(Reporter)

Updated

5 months ago
Depends on: 1331937

Updated

5 months ago
Depends on: 1333798

Updated

4 months ago
Depends on: 1339480
(Reporter)

Updated

4 months ago
Depends on: 1341417
Depends on: 1344715

Comment 1

4 months ago
Sir , I want to work on this issue.
(Reporter)

Updated

3 months ago
Depends on: 536910
(Reporter)

Updated

3 months ago
Depends on: 1348805
(Reporter)

Updated

3 months ago
Depends on: 1348816

Updated

3 months ago
Depends on: 1350569

Updated

3 months ago
Depends on: 1352447
(Reporter)

Updated

3 months ago
No longer depends on: 1352447
(Reporter)

Updated

3 months ago
Depends on: 1353533
(Reporter)

Updated

3 months ago
Depends on: 1353586

Updated

2 months ago
Depends on: 1356879
(Reporter)

Updated

2 months ago
Depends on: 1358283

Updated

2 months ago
Depends on: 1356605
Depends on: 1360202

Updated

2 months ago
Depends on: 1361907

Updated

2 months ago
Depends on: 669603

Updated

a month ago
Depends on: 870460

Updated

a month ago
Depends on: 1365970

Updated

a month ago
Depends on: 1366213
Depends on: 1374491
You need to log in before you can comment on or make changes to this bug.