https://github.com/rudolfolah/benchmark-routers-for-react
Benchmarking routers for React
https://github.com/rudolfolah/benchmark-routers-for-react
react react-router react-router-dom react-router-v5 react-router-v5-v6 react-router-v6 tanstack-router
Last synced: 4 months ago
JSON representation
Benchmarking routers for React
- Host: GitHub
- URL: https://github.com/rudolfolah/benchmark-routers-for-react
- Owner: rudolfolah
- License: mit
- Created: 2023-06-08T11:40:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T23:41:12.000Z (about 2 years ago)
- Last Synced: 2025-01-03T02:51:22.353Z (6 months ago)
- Topics: react, react-router, react-router-dom, react-router-v5, react-router-v5-v6, react-router-v6, tanstack-router
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Benchmark for React Routers
Benchmark comparison of:
* [React Router v6](https://reactrouter.com/en/main)
* [React Router v5](https://v5.reactrouter.com/)
* [TanStack Router](https://tanstack.com/router/v1)## Running the benchmarks
Install the dependencies and run the benchmarks:
```bash
npm install
node index.js
```Profilers in the Chrome DevTools and debugging:
```bash
node --inspect-brk index.js
```