Skip to content

What causes hyper and hyper-based frameworks to have lower response times compared to actix-web? #2927

@ishtms

Description

@ishtms

I saw the results on TFB and I was kinda surprised by how low the plaintext responses were on Hyper based frameworks.

Also, to do some testing, I created a benchmark repo to test all the existing rust web frameworks on a simple "hello world" response text.

You can find the repository with all the results here - Github Link.

The tests are performed with rewrk and the most surprising element of the results was when the concurrency was set to "2048", and all the hyper based frameworks were 2x slower than actix-web.

Any reasons/explanations on why would this be an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug. Something is wrong. This is bad!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions