This project aims to benchmark the rendering performance of various web frameworks. The included script evaluates the rendering time of sample data using different frameworks and outputs the results to a JSON file.
Right now the Vue 3 is the fastest framework
- Node.js: Ensure you have Node.js installed on your machine.
-
Clone the repository:
git clone https://github.com/your-username/framework-benchmark.git cd framework-benchmark
-
Install Dependencies
npm install
Execute the benchmark script to compare the rendering performance of different frameworks.
npm run benchmark
The results will be saved in benchmark_output.json
.
Open the index.html
file to view the benchmark results in a user-friendly web interface.
- React 18
- Next.js 14
- Vue 3
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature/1. your-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin feature/1. your-feature)
- Create a pull request :)