Skip to content

Add performance budget tests to CI #181

@Marvell69

Description

@Marvell69

Page performance can degrade silently with each feature addition. Performance budget tests in CI fail when key metrics exceed thresholds, maintaining a fast user experience.

Requirements and context

  • Use Lighthouse CI to measure Core Web Vitals on key pages
  • Budgets: LCP < 2.5s, FID < 100ms, CLS < 0.1, Bundle size < 200KB gzipped
  • Pages to test: / (home), /marketplace, /dashboard/lp, /governance
  • Fail CI if any budget is exceeded
  • Include Lighthouse report as a CI artifact

Suggested execution

git checkout -b test/lighthouse-performance-budget
  • Install Lighthouse CI
  • Configure budgets and target pages
  • Integrate into CI workflow
  • Document how to review Lighthouse reports

Example commit message
test: add Lighthouse CI performance budget tests to CI pipeline

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions