Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Adding Jetpack Growth bundle to the pricing page #96575

Open grzegorz-cp opened 2 days ago

grzegorz-cp commented 2 days ago

Related to https://github.com/Automattic/jetpack-roadmap/issues/1958

Proposed Changes

Why are these changes being made?

Testing Instructions

New layout: SCR-20241122-mpbn

SCR-20241122-ngpi

Pre-merge Checklist

github-actions[bot] commented 2 days ago
Calypso Live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125372
Jetpack Cloud live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125372&env=jetpack
Automattic for Agencies live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125372&env=a8c-for-agencies
matticbot commented 2 days ago

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 install-plugin.sh $pluginSlug add/jetpack-cloud-1958-growth-pricing-page on your sandbox.

matticbot commented 2 days ago

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~370 bytes added 📈 [gzipped])

``` name parsed_size gzip_size entry-stepper +1641 B (+0.1%) +370 B (+0.1%) entry-main +1641 B (+0.1%) +370 B (+0.1%) entry-login +1641 B (+0.1%) +371 B (+0.1%) ``` Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~340 bytes added 📈 [gzipped])

``` name parsed_size gzip_size jetpack-search +528 B (+0.1%) +105 B (+0.1%) plans +481 B (+0.0%) +114 B (+0.0%) jetpack-cloud-partner-portal +451 B (+0.0%) +93 B (+0.0%) jetpack-cloud-agency-sites-v2 +451 B (+0.0%) +93 B (+0.0%) scan +414 B (+0.0%) +82 B (+0.0%) jetpack-social +414 B (+0.1%) +82 B (+0.0%) backup +414 B (+0.0%) +82 B (+0.0%) a8c-for-agencies-sites +414 B (+0.0%) +82 B (+0.0%) a8c-for-agencies-marketplace +414 B (+0.1%) +82 B (+0.0%) jetpack-cloud-manage-pricing +413 B (+0.1%) +78 B (+0.1%) site-purchases +407 B (+0.0%) +59 B (+0.0%) purchases +407 B (+0.0%) +59 B (+0.0%) checkout +407 B (+0.0%) +63 B (+0.0%) jetpack-cloud-features-comparison +399 B (+0.1%) +64 B (+0.0%) a8c-for-agencies-purchases +391 B (+0.1%) +71 B (+0.0%) a8c-for-agencies-client +391 B (+0.0%) +71 B (+0.0%) jetpack-connect +367 B (+0.0%) +91 B (+0.0%) jetpack-cloud-pricing +367 B (+0.0%) +91 B (+0.0%) jetpack-cloud-plugin-management +330 B (+0.0%) +47 B (+0.0%) settings-jetpack +293 B (+0.1%) +36 B (+0.0%) purchase-product +293 B (+0.2%) +37 B (+0.1%) jetpack-cloud-settings +293 B (+0.0%) +36 B (+0.0%) domains +293 B (+0.0%) +36 B (+0.0%) settings +272 B (+0.0%) +22 B (+0.0%) hosting +272 B (+0.0%) +22 B (+0.0%) email +272 B (+0.0%) +22 B (+0.0%) migrate +114 B (+0.0%) +22 B (+0.0%) import-hosted-site-flow +114 B (+0.0%) +22 B (+0.0%) readymade-template-flow +98 B (+0.1%) +35 B (+0.1%) a8c-for-agencies-referrals +98 B (+0.0%) +35 B (+0.0%) jetpack-cloud-overview +76 B (+0.0%) +31 B (+0.0%) site-marketing +21 B (+0.0%) +15 B (+0.0%) marketing +21 B (+0.0%) +15 B (+0.0%) earn +21 B (+0.0%) +16 B (+0.0%) activity +21 B (+0.0%) +16 B (+0.0%) ``` 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 (~84 bytes added 📈 [gzipped])

``` name parsed_size gzip_size async-load-calypso-my-sites-checkout-modal +272 B (+0.0%) +22 B (+0.0%) async-load-calypso-blocks-editor-checkout-modal +272 B (+0.0%) +22 B (+0.0%) async-load-design-blocks +114 B (+0.0%) +23 B (+0.0%) async-load-design +114 B (+0.0%) +24 B (+0.0%) async-load-calypso-my-sites-stats-jetpack-upsell-section +21 B (+0.2%) +15 B (+0.3%) ``` 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. **Gzip Size:** Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.