QA: Review frontend bundle size / loading speed (post-motion) #3

Closed
opened 2026-03-28 09:43:56 +00:00 by PlasticDigits · 17 comments
PlasticDigits commented 2026-03-28 09:43:56 +00:00 (Migrated from gitlab.com)

Summary

Please have QA dev @brouie assess whether frontend bundle loading speed is acceptable in realistic conditions (cold load, repeat visit with cache, throttled network if available).

Context

We added motion for route transitions and richer interactions. Production builds now report a large main chunk (~1 MB+ minified) and Rollup suggests considering code-splitting / manualChunks.

Ask

  1. Measure or subjectively evaluate time-to-interactive / perceived load for the Vite production build (e.g. npm run build && npm run preview).
  2. Confirm whether the current bundle behavior is acceptable for our target users and hosting.

Resolution rules

  • If loading is acceptable: close this issue (optionally note metrics or “LGTM” in a comment).
  • If not acceptable: leave this issue open until a fix is implemented (e.g. lazy routes, manual chunks, or other agreed bundle strategy), then close with a short summary of what changed.
  • frontend/ — Vite build, motion dependency
  • CI / preview: npm run build, npm run preview
## Summary Please have **QA dev @brouie** assess whether **frontend bundle loading speed** is acceptable in realistic conditions (cold load, repeat visit with cache, throttled network if available). ## Context We added `motion` for route transitions and richer interactions. Production builds now report a **large main chunk** (~1 MB+ minified) and Rollup suggests considering code-splitting / `manualChunks`. ## Ask 1. Measure or subjectively evaluate **time-to-interactive** / perceived load for the Vite production build (e.g. `npm run build && npm run preview`). 2. Confirm whether the current bundle behavior is **acceptable** for our target users and hosting. ## Resolution rules - If loading is **acceptable**: close this issue (optionally note metrics or “LGTM” in a comment). - If **not acceptable**: **leave this issue open** until a fix is implemented (e.g. lazy routes, manual chunks, or other agreed bundle strategy), then close with a short summary of what changed. ## Related paths - `frontend/` — Vite build, `motion` dependency - CI / preview: `npm run build`, `npm run preview`
PlasticDigits commented 2026-03-28 09:44:00 +00:00 (Migrated from gitlab.com)

assigned to @Brouie

assigned to @Brouie
Brouie commented 2026-04-21 04:14:10 +00:00 (Migrated from gitlab.com)

@PlasticDigits verified on 52b7f04.

Build metrics (production, npm run build):

  • Main: 1,023.87 kB min / 321.51 kB gzip
  • TimeCurvePage chunk: 486.34 kB min / 146.24 kB gzip
  • Total build: 11.25s
  • Rollup manualChunks/code-splitting warning present but not blocking

Combined gzip for main + TimeCurve = ~468 kB. Acceptable for the target audience (crypto users on broadband/LTE). Preview build renders TimeCurve page with all surfaces (timer, live buys, podiums, WarBow, modals) loading without perceptible delay. LGTM for current phase — revisit if/when we target lower-bandwidth markets or add heavier routes.

Clear for sign-off on #2.

@PlasticDigits verified on 52b7f04. Build metrics (production, `npm run build`): - Main: 1,023.87 kB min / 321.51 kB gzip - TimeCurvePage chunk: 486.34 kB min / 146.24 kB gzip - Total build: 11.25s - Rollup manualChunks/code-splitting warning present but not blocking Combined gzip for main + TimeCurve = ~468 kB. Acceptable for the target audience (crypto users on broadband/LTE). Preview build renders TimeCurve page with all surfaces (timer, live buys, podiums, WarBow, modals) loading without perceptible delay. LGTM for current phase — revisit if/when we target lower-bandwidth markets or add heavier routes. Clear for sign-off on #2.
Brouie (Migrated from gitlab.com) closed this issue 2026-04-21 04:14:25 +00:00
PlasticDigits commented 2026-04-22 06:49:56 +00:00 (Migrated from gitlab.com)

mentioned in issue #40

mentioned in issue #40
Brouie commented 2026-05-01 03:29:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #102

mentioned in issue #102
Brouie commented 2026-05-04 06:14:50 +00:00 (Migrated from gitlab.com)

mentioned in issue #116

mentioned in issue #116
Brouie commented 2026-05-04 07:24:29 +00:00 (Migrated from gitlab.com)

mentioned in issue #128

mentioned in issue #128
Brouie commented 2026-05-04 07:56:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #129

mentioned in issue #129
Brouie commented 2026-05-14 02:53:39 +00:00 (Migrated from gitlab.com)

mentioned in issue #207

mentioned in issue #207
Brouie commented 2026-05-22 04:53:09 +00:00 (Migrated from gitlab.com)

mentioned in commit 261e7b474d

mentioned in commit 261e7b474dec5bc747276f361d2959a2d448a20c
PlasticDigits commented 2026-05-30 14:50:03 +00:00 (Migrated from gitlab.com)

mentioned in issue #272

mentioned in issue #272
PlasticDigits commented 2026-06-03 13:35:24 +00:00 (Migrated from gitlab.com)

mentioned in merge request !413

mentioned in merge request !413
PlasticDigits commented 2026-06-13 13:56:21 +00:00 (Migrated from gitlab.com)

mentioned in merge request !463

mentioned in merge request !463
PlasticDigits commented 2026-06-14 22:32:00 +00:00 (Migrated from gitlab.com)

mentioned in issue #327

mentioned in issue #327
PlasticDigits commented 2026-06-14 22:32:09 +00:00 (Migrated from gitlab.com)

mentioned in issue #325

mentioned in issue #325
PlasticDigits commented 2026-06-14 22:56:55 +00:00 (Migrated from gitlab.com)

mentioned in merge request !500

mentioned in merge request !500
PlasticDigits commented 2026-06-25 20:07:16 +00:00 (Migrated from gitlab.com)

mentioned in issue #345

mentioned in issue #345
PlasticDigits commented 2026-06-25 20:07:48 +00:00 (Migrated from gitlab.com)

mentioned in issue #342

mentioned in issue #342
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/yieldomega#3
No description provided.