Performance: WebGL build
HIGH IMPACT
This affects the page load speed and runtime rendering performance of Unity games running in the browser.
Use asset bundles, compression (gzip or Brotli), and strip unused code/assets before build.
Build with all assets included and no compression or asset bundling.
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Uncompressed large WebGL build | Minimal DOM changes | 0 reflows | High paint cost due to delayed rendering | [X] Bad |
| Compressed and optimized WebGL build | Minimal DOM changes | 0 reflows | Lower paint cost with faster rendering start | [OK] Good |