This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Description
As of Chrome v125, the PerformanceResourceTiming entries that get emitted for JS assets that are loaded via dynamic import have changed from being "other" to being "script". This causes the totalDownloadSize method of Navigation under @shopify/performance to change.
As a result, applications that use dynamic imports for progressive loading of the page will appear to have increased download sizes from their previous values in Chrome v124.
These new values do appear to be more correct, as the previous ones excluded these values as "other", but this points to a need to have a better heuristic for matching script & style downloads during a navigation.