Set and enforce performance budgets for v1.0
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, typescript, vite
- Área
- ci-cd, performance
Línea de trabajo
Start with docs/architecture.md and the referenced Vite, precache, performance test, and CI workflow files to understand the existing bundle budget and measurement setup. Define repeatable measurements for startup, offline page and precache size, and pack checking time and memory, then document budgets and how pull requests can raise them. Add CI checks and demonstrate a failing budget with a test change; done means the documented budgets are met at v1.0.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
v1.0 promises a dependable player on low-end phones and a verifier that stays usable as packs grow. The v0.2 bundle-size work (#34) adds a CI budget for the main chunk. Other costs are not measured: start-up time on a slow phone, the size of lexvm-offline.html and of the precache as packs are added, and the time and memory of npm run check:packs (the explorer uses about 1.8 KB per state). Baseline at the v0.1 pull request (Vite report): main chunk 270 KB (85 KB gzip), Create screen 148 KB (54 KB gzip), YAML compiler 102 KB (32 KB gzip), CSS 26 KB (6 KB gzip), lexvm-offline.html 660 KB (209 KB gzip); the service worker precaches 16 files; the noir pack's .lexpack.json is 100 KB.
Scope
- Measure and record budgets in docs/architecture.md: start-up time to an interactive library and game screen on a throttled mobile profile, lexvm-offline.html size, precache size,
npm run check:packstime and peak memory. - CI checks for each budget, including the main chunk budget from v0.2, with a documented way to raise a budget in a pull request.
Acceptance criteria
- Budgets and the measuring method are documented.
- CI fails when a budget is exceeded (shown with a test change).
- All budgets are met at the v1.0 release.
References
- apps/web/vite.config.ts
- apps/web/build/precache.ts
- packages/engine/test/explore-perf.test.ts
- .github/workflows/ci.yml
- docs/architecture.md
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 28 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nullthrone/lexvm
-
area: web good first issue priority: low type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nullthrone/lexvm#49 ·
-
area: infra good first issue priority: low type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
nullthrone/lexvm#41 ·
-
area: engine good first issue priority: low type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
nullthrone/lexvm#27 ·
-
area: web priority: low type: research
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
nullthrone/lexvm#63 ·
-
Run a security review: fuzz the loaders, parser and save import, and review the threat modelAbiertoarea: engine area: web priority: high type: chore
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
nullthrone/lexvm#61 ·
Todos los issues de nullthrone/lexvm
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
openclaw/openclaw#182077 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
aikido high security
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dequelabs/axe-linter-action#161 ·
-
[Feature Request] Update the DimCode agent icon to the 45:32 brand markPosiblemente ocupada @eric8810 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Feature]: 建议导入源后,自动切换到新导入的源Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
lyswhut/lx-music-desktop#3026 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
abhigyanpatwari/GitNexus#3704 ·
Los mantenedores suelen responder en 1 día