Benchmark Protocol

Deterministic benchmark scenarios and measurement rules for both apps.

This protocol keeps the slow and optimized apps comparable.

Scenarios

ScenarioUser flowPrimary signal
Initial renderFresh production reload with the default data volumeReact commit duration and first visible dashboard state
Search/filter interactionSearch for enterprise, then change region and tier filtersBrowser Performance API measures and React Profiler commits
Large table scrollScroll the account table from top to deep rowsDOM node count, scroll responsiveness, and visual stability
Heavy chart toggleOpen and close the revenue concentration chartInitial bundle cost, lazy boundary behavior, and interaction duration
Image gallery toggleHide or reveal the gallery while the table remains populatedEager versus lazy image loading behavior
Production bundle comparisonRun npm run build and compare generated assetsInitial JS, lazy chunks, and largest asset

Measurement Rules

Default Test Inputs

InputValue
Rows20,000
Search queryenterprise
Region filterNorth America
Tier filterEnterprise
SortRisk score descending
Browser URLhttps://DanieleMasone.github.io/frontend-performance-lab/

For local setup, artifact generation, and the complete validation workflow, use the User Guide.