refactor(viewport): centralize browser metrics

This commit is contained in:
2026-07-16 19:43:03 +08:00
parent 990add97f8
commit b5990bca8b
7 changed files with 508 additions and 162 deletions
+4 -4
View File
@@ -30,10 +30,10 @@ Compressed sizes below are Turbopack module estimates. `Eager` is the route's sy
| Route | Direct-import baseline | Current eager baseline | Change | Current async baseline |
| --- | ---: | ---: | ---: | ---: |
| `/splash` | 646.2 KiB | 599.9 KiB | -46.3 KiB | 49.2 KiB |
| `/chat` | 669.8 KiB | 640.7 KiB | -29.1 KiB | 49.6 KiB |
| `/subscription` | 658.4 KiB | 617.3 KiB | -41.1 KiB | 20.6 KiB |
| `/tip` | 651.6 KiB | 611.2 KiB | -40.4 KiB | 20.6 KiB |
| `/splash` | 646.2 KiB | 600.6 KiB | -45.6 KiB | 49.2 KiB |
| `/chat` | 669.8 KiB | 641.1 KiB | -28.7 KiB | 49.6 KiB |
| `/subscription` | 658.4 KiB | 618.0 KiB | -40.4 KiB | 20.6 KiB |
| `/tip` | 651.6 KiB | 611.8 KiB | -39.8 KiB | 20.6 KiB |
The earlier direct-import pass replaced root `@/utils` and `@/data/storage`
barrel imports with symbol-level module paths. The current Client-boundary pass