@gomani/bench@1.2.0
npm size budget5.1 KB / 8.0 KB ✓
@gomani/bench
gomani bench measures any dist: eager JavaScript (static-import closure; dynamic imports excluded as lazy), transferred bytes, offline-shell detection, and — when Playwright is present — DOM-interactive, LCP, and heap on the Baseline Device over the Baseline Network. Unmeasured metrics render as —.
API
measureDist
function
measureDist(dir: string): StaticMeasurement
The static probe: eager-JS closure + HTML + CSS in Brotli bytes, framework-agnostic.