Skip to content

Repository files navigation

Web Frameworks Benchmark

This is the repository of the Web Frameworks Benchmark Website. It's currently hosted on Vercel.

Source code for the benchmark itself: the-benchmarker/web-frameworks

Found a bug or have a suggestion/ feedback? Feel free to create a new issue


Contributing

  1. Fork this repository

  2. Clone the forked repository

  3. Install required dependencies

    cd website
    npm i
    
  4. Run dev server with hot reloading feature

    npm run dev
    
  5. Make awesome changes and commit it

  6. Create a Pull Request


Pre-rendered pages

The app renders on the client, so a crawler that does not run JavaScript sees an empty page. npm run build therefore runs the Vite build and then scripts/seo/build.mjs, which reads the benchmark dataset and writes into dist/:

  • a static, no-JavaScript page per framework (/frameworks/<language>/<framework>/) and per language (/frameworks/<language>/), with the numbers in a real table
  • sitemap.xml, robots.txt, llms.txt, llms-full.txt and data.json
  • canonical, Open Graph and JSON-LD tags on dist/index.html

Run it alone with npm run seo after a build. VITE_SITE_URL sets the canonical host, SEO_DATA_FILE reads the dataset from a local file instead of GitHub. The pages hold the data of the build, so the site needs a rebuild when the benchmark is re-run.


Built with React

About

Source Code for Web Frameworks Benchmark Website

Resources

Stars

410 stars

Watchers

8 watching

Forks

Used by

Contributors

Languages