Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Guides
  3. Performance audit

Performance audit 1.2.2

Audit static HTML for CLS, lazy-loading, and render-blocking scripts — with safe auto-fixes. Deutsch

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Commands

velinstyle perf audit samples/
velinstyle perf audit index.html
velinstyle perf suggest .
velinstyle perf fix . --write
velinstyle perf audit . --json

perf audit|suggest|fix and velinstyle scan accept a directory or a single file (same pattern as layout).

Rules

RuleSeverityAutofix
img-missing-dimensionswarningwidth/height defaults
img-no-lazyinfoloading="lazy"
script-no-deferwarningdefer on external scripts
large-inline-styleinfo
font-display-swapinfohint in report
unused-velin-importinfosuggests runtime subpath

CI

Run npm run test:perf in the framework repo, or npx velinstyle perf audit samples/ --json in CI. Exit code 1 when any error-severity issue is found.