Comparative Benchmarking of React and Svelte Frameworks under Web Performance Optimization Techniques Based on User-Centric Metrics
This project benchmarks the performance of two frontend frameworks (React and Svelte) using user-centric web performance metrics, both in baseline condition and after applying individual optimization strategies.
These metrics follow Core Web Vitals recommended by Google.
āāā apps/ # React and Svelte app variations
āāā benchmarking/ # Lighthouse CI config and performance result outputs
āāā mock-api/ # Static JSON-based mock API
āāā README.md
āāā ...
apps/
: Contains individual projects for each optimization applied to both React and Svelte (e.g., react-lazy-image
, svelte-code-splitting
, etc.).benchmarking/
: Scripts, configuration, and Lighthouse results from automated testing.mock-api/
: Simulated backend API using static JSON files.Pick any implementation inside the apps/
folder and run it locally:
cd apps/react-lazy-image # or any other folder
npm install
npm run dev