Simple speed test for various types of styling Vite + Vue apps
The test consists of 3 Vue + Vite projects rendering styles in 3 different ways:
- Vanilla CSS
- SASS (SCSS)
- CSS in JS (Emotion)
is an automated performance testing script written in TypeScript that uses the Playwright library to measure the rendering time of said web pages.
The script uses Playwright to open a headless browser, repeatedly loading web pages styled with different CSS frameworks, measuring how long each takes to load, and calculating the average loading time for each framework.
Start the projects with concurrently by running:
$ pnpm start
After all the projects are running, in a new terminal start the test with:
$ pnpm test