Skip to content
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

Nav Redesign: Add "Activate" ability to dev tools promo #91031

Closed
wants to merge 4 commits into from

Conversation

DustyReagan
Copy link
Member

@DustyReagan DustyReagan commented May 22, 2024

Related to https://github.com/Automattic/dotcom-forge/issues/7348

Proposed Changes

Why are these changes being made?

Testing Instructions

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

@DustyReagan DustyReagan changed the title Add/activate to dev tools promo Nav Redesign: Add "Activate" ability to dev tools promo May 22, 2024
@matticbot
Copy link
Contributor

matticbot commented May 22, 2024

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

App Entrypoints (~61 bytes removed 📉 [gzipped])

name                   parsed_size           gzip_size
entry-subscriptions         -125 B  (-0.0%)      -40 B  (-0.0%)
entry-login                 -125 B  (-0.0%)      -40 B  (-0.0%)
entry-stepper                -81 B  (-0.0%)      -47 B  (-0.0%)
entry-main                   -81 B  (-0.0%)      -55 B  (-0.0%)
entry-domains-landing        -64 B  (-0.0%)      -26 B  (-0.0%)
entry-browsehappy            -64 B  (-0.0%)      -26 B  (-0.0%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~6699 bytes added 📈 [gzipped])

name                        parsed_size           gzip_size
dev-tools-promo                +63483 B  (+6.8%)   +18090 B  (+6.2%)
update-design-flow               -317 B  (-0.0%)      -16 B  (-0.0%)
signup                           -256 B  (-0.1%)      -12 B  (-0.0%)
link-in-bio-tld-flow             -256 B  (-0.0%)      -12 B  (-0.0%)
settings-performance             -177 B  (-0.0%)     +108 B  (+0.1%)
devdocs                          -108 B  (-0.1%)      -35 B  (-0.1%)
scan                              -99 B  (-0.0%)      -31 B  (-0.0%)
backup                            -99 B  (-0.0%)      -28 B  (-0.0%)
woocommerce-installation          -64 B  (-0.0%)      -41 B  (-0.0%)
with-theme-assembler-flow         -61 B  (-0.1%)       +1 B  (+0.0%)
update-options-flow               -61 B  (-0.1%)       -1 B  (-0.0%)
trial-wooexpress-flow             -61 B  (-0.1%)       +0 B
site-setup-flow                   -61 B  (-0.1%)       +2 B  (+0.0%)
site-migration-flow               -61 B  (-0.1%)       +1 B  (+0.0%)
migration-signup                  -61 B  (-0.1%)       +1 B  (+0.0%)
marketplace                       -61 B  (-0.0%)      -15 B  (-0.0%)
hosted-site-migration-flow        -61 B  (-0.1%)       +0 B
free-post-setup-flow              -61 B  (-0.1%)       -3 B  (-0.1%)
free-flow                         -61 B  (-0.1%)       +2 B  (+0.0%)
entrepreneur-flow                 -61 B  (-0.1%)       +2 B  (+0.0%)
assembler-first-flow              -61 B  (-0.1%)       +0 B
ai-assembler-flow                 -61 B  (-0.1%)       +1 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 (~1180 bytes removed 📉 [gzipped])

name                                                        parsed_size           gzip_size
async-load-design-blocks                                         -196 B  (-0.0%)    -1088 B  (-0.2%)
async-load-signup-steps-woocommerce-install-confirm               -64 B  (-0.1%)      -41 B  (-0.2%)
async-load-calypso-state-lib-automated-transfer-middleware        -61 B  (-0.2%)       -6 B  (-0.1%)

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.

@DustyReagan
Copy link
Member Author

Closing this PR in favor of #91141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants