Fluxglass

Performance

Scheduling, adaptive quality, bundle budgets, and benchmark evidence.

Runtime policy

DOM reads are batched before writes by one scheduler per document. Displacement maps are deduplicated, cached with a bounded LRU, and generated by a shared worker where available. Worker failure falls back to an idle main-thread task. Observers, listeners, frames, timers, workers, and object URLs are cleaned up by their lifecycle owners.

The performance governor preserves the user's requested options while applying tier caps. It uses median frame windows with hysteresis to avoid oscillating quality after a single slow frame.

Budgets

Size Limit enforces minified+Brotli budgets for core, the incremental DOM runtime, the map worker, and the incremental React adapter. pnpm size is a required release check.

pnpm bench writes raw JSON. pnpm reports adds an environment-aware JSON summary, an HTML report, and an SVG chart under artifacts/performance. Local runs are informational and must not replace the committed CI baseline.

On this page