Skip to content
项目

关于

Web 框架基准测试网站的源代码。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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
  • two README badges per framework with its rank at concurrency 64: badge.svg for the overall rank and badge-language.svg for the rank in its language. The framework page shows the Markdown to copy.
  • sitemap.xml, robots.txt, llms.txt, llms-full.txt and data.json
  • initial titles, descriptions, canonical, social and JSON-LD tags for /, /result and /compare, with a readable fallback when JavaScript is disabled

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.

Run node scripts/seo/verify.mjs after building to check every generated page's metadata, canonical URL, primary heading, structured data and benchmark content.


Built with React

探索相关项目

加载中…