-
Notifications
You must be signed in to change notification settings - Fork 2k
Reader: Use virtualized list to show the subscribed sites #107474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
Starting point to introduce performance optimization changes
This feature is very unused, just ~5 times by day and it cause performance issues when we use virtualized list
This reverts commit b7b51b7.
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~957 bytes added 📈 [gzipped]) Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~14863 bytes added 📈 [gzipped]) Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~11934 bytes removed 📉 [gzipped]) React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
I'm afraid the experience is worse for me. The browser tab is unresponsive for about 80 seconds for me in Chrome, before I can launch a search. On production, it's about 30 seconds before I can launch a search. I'll let others test, but for me the experience in production is better. |
|
@jeherve Wow, it is surprising. |

Closes READ-206
Important
I plan to merge the changes introduced on the client/landing/subscriptions/components/site-subscriptions-list-v2 to the v1 version if we don't find regressions. For now, I am keeping both versions to simplify the testing
Proposed Changes
client/landing/subscriptions/components/site-subscriptions-list-v2component to enable us to test the performance differencesreader/site-subscriptions-list-v2to simplify the comparative testingWhy are these changes being made?
Testing Instructions
Scenario: Performance
Go to the linear task and start a support session (SU) using the user mentioned on the issue.
Wait for the browser to load the SU session
Using the SU session, go to
/reader/subscriptions(Feature Disabled)Open the devtools and wait at least 10 calls to
/rest/v1.2/read/following/mineSet a CPU throttle to 4x as the image bellow describes
Try to make a search or a sorting, and check if the browser struggles to render. (You probably can see other moments when the browser is struggling to render the page)
Using the SU session, go to
/reader/subscriptions?flags=reader%2Fsite-subscriptions-list-v2(Feature Enabled)Check if you can notice a performance improvement and if you are able to search and sort
Pre-merge Checklist