Performance: Build output analysis
HIGH IMPACT
This affects page load speed by determining how much code and assets are sent to the browser and how fast they are parsed and executed.
next build with automatic code splitting, tree shaking, and dynamic imports
next build with no code splitting or tree shaking, large monolithic bundles
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Large monolithic bundles | N/A | N/A | High due to delayed scripts | [X] Bad |
| Code splitting with dynamic imports | N/A | N/A | Lower due to faster script loading | [OK] Good |
| Importing full libraries | N/A | N/A | High due to large bundle size | [X] Bad |
| Importing specific functions | N/A | N/A | Lower due to smaller bundles | [OK] Good |
| Uncompressed assets | N/A | N/A | High network cost delays paint | [X] Bad |
| Compressed assets (gzip/Brotli) | N/A | N/A | Lower network cost speeds paint | [OK] Good |