536910, 810932, 1034534, 1304389, 1356879, 1391298, 1458894, 1467338, 1471918, 1519517, sessionRestoreJank, 669272, 669603, 675539, 870460, 874533, 1025924, 1096013, 1256472, 1294208, 1305950, 1312373, 1314364, 1331930, 1331932, 1331935, 1331936, 1331937, 1333798, 1339480, 1341417, 1353533, 1358283, 1360202, 1361907, 1366213, 1374491, 1383416, 1493767
1344715, 1348805, 1350569, 1353586, 1374354, 1395066, Tab_discarding, 1467221, ss-SM, 1505572, 1507287, 1549975, lazytabs, 1348816, 1356605, 1365970, 1474130, 1474131, 1474139, 1549973
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.
Sir , I want to work on this issue.
Meta-bug for session managers: https://bugzilla.mozilla.org/show_bug.cgi?id=1427928
394492 - SessionStore API performance issues with large number of windows and tabs https://bugzilla.mozilla.org/show_bug.cgi?id=394492
Um, missing the obvious "PERF" key word here.
Summary: Sessionstore performance tracking → [meta] Sessionstore performance tracking
You need to log in before you can comment on or make changes to this bug.