Bug 1330635 (ss-perf)

[meta] Sessionstore performance tracking

NEW
Unassigned

Status

()

enhancement
2 years ago
5 days ago

People

(Reporter: mikedeboer, Unassigned)

Tracking

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

50 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

2 years 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

2 years ago
Depends on: 810932
Reporter

Updated

2 years ago
Depends on: sessionRestoreJank
Reporter

Updated

2 years ago
Depends on: 1305950
Reporter

Updated

2 years ago
Depends on: 1256472
Reporter

Updated

2 years ago
Depends on: 669272
Reporter

Updated

2 years ago
Depends on: 874533
Reporter

Updated

2 years ago
Depends on: 1294208
Reporter

Updated

2 years ago
Depends on: 1032987
Reporter

Updated

2 years ago
No longer depends on: 1032987
Reporter

Updated

2 years ago
Depends on: 1025924
Reporter

Updated

2 years ago
Depends on: lazytabs
Reporter

Updated

2 years ago
Depends on: 675539
Reporter

Updated

2 years ago
Blocks: 1242912
Reporter

Updated

2 years ago
Depends on: 1312373
Reporter

Updated

2 years ago
Depends on: 1314364
Reporter

Updated

2 years ago
Depends on: 1096013
Reporter

Updated

2 years ago
Depends on: 1034534
Reporter

Updated

2 years ago
Depends on: 1331930
Reporter

Updated

2 years ago
Depends on: 1331932
Reporter

Updated

2 years ago
Depends on: 1331935
Reporter

Updated

2 years ago
Depends on: 1331936
Reporter

Updated

2 years ago
Depends on: 1331937
Depends on: 1333798
Depends on: 1339480
Reporter

Updated

2 years ago
Depends on: 1341417

Updated

2 years ago
Depends on: 1344715

Comment 1

2 years ago
Sir , I want to work on this issue.
Reporter

Updated

2 years ago
Depends on: 536910
Reporter

Updated

2 years ago
Depends on: 1348805
Reporter

Updated

2 years ago
Depends on: 1348816

Updated

2 years ago
Depends on: 1352447
Reporter

Updated

2 years ago
No longer depends on: 1352447
Reporter

Updated

2 years ago
Depends on: 1353533
Reporter

Updated

2 years ago
Depends on: 1353586

Updated

2 years ago
Depends on: 1356879
Reporter

Updated

2 years ago
Depends on: 1358283
Depends on: 1356605
Depends on: 1360202
Depends on: 1361907
Depends on: 669603
Depends on: 870460
Depends on: 1365970
Depends on: 1366213
Depends on: 1374491
Reporter

Updated

2 years ago
Depends on: 1383416
Reporter

Updated

2 years ago
Depends on: 1391298
Depends on: 1395066

Comment 2

a year ago
Meta-bug for session managers:
https://bugzilla.mozilla.org/show_bug.cgi?id=1427928
Reporter

Updated

a year ago
Depends on: 1458894

Comment 3

a year ago
394492 - SessionStore API performance issues with large number of windows and tabs
https://bugzilla.mozilla.org/show_bug.cgi?id=394492
Blocks: 1474131
Depends on: 1474139
No longer blocks: 1474131
Depends on: 1474131
Depends on: 1474130
Depends on: 1467338
Depends on: 1471918

Updated

9 months ago
Depends on: ss-SM

Comment 4

8 months ago
Um, missing the obvious "PERF" key word here.
Depends on: 1493767

Updated

6 months ago
See Also: → ss-feature
Reporter

Updated

6 months ago
Depends on: 1505572

Updated

6 months ago
See Also: → ss-reliability

Updated

6 months ago
See Also: → Session_managers
Summary: Sessionstore performance tracking → [meta] Sessionstore performance tracking

Updated

5 months ago
Depends on: Tab_discarding
Reporter

Updated

4 months ago
Depends on: 1519517

Updated

2 months ago
Depends on: 1467221

Updated

2 months ago
Depends on: 1445464

Updated

2 months ago
No longer depends on: 1445464

Updated

a month ago
Depends on: 1544371

Updated

a month ago
Depends on: 1507287
Type: defect → enhancement

Updated

17 days ago
Depends on: 1549973

Updated

17 days ago
Depends on: 1549975
You need to log in before you can comment on or make changes to this bug.