/web-framework-bench

This project tested the performance and usability of some commonly used and **actively maintained** open source WEB frameworks.

Primary LanguageRustMIT LicenseMIT

WEB framework tests

This project tested the performance and usability of some commonly used and actively maintained open source WEB frameworks.

本项目测试了一些常用且积极维护的开源 WEB 框架的性能和易用性.

The controlled variables are:

以下为我们控制的变量:

  • No compression (should be handled by Nginx, etc., disabled).

    无压缩 (实践上应当由 Nginx 等处理, 一律关闭).

  • No cookies.

    测试中不使用 Cookie.

  • HTTP/1.1 only, serve as a simple HTTP server (usage of h2c is rare).

    仅使用 HTTP/1.1, 作简易 HTTP 服务器 (h2c 使用较少).

  • No HTTPS (should be handled by Nginx, etc.).

    不启用 HTTPS (实践上应当由 Nginx 等处理, 不属于 WEB 框架重点考虑的范畴).

Frameworks to test

  • Rust 1.85.1 (latest stable)
    • actix-web 4.10.2
    • axum 0.8.1
    • ntex 2.12.3
    • poem 3.1.7
    • rocket 0.5.1
    • salvo 0.77.1

LICENSE

MIT

Credits

Anton Putra's tests