-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
There are some obvious problem with the bench.
-
actix-web and warp return a String while others return a &'static str. This means they have additional allocation for generating payload while others don't.
-
hyper being low level does not set content-type header. And I believe all other tests do set it to "plain/text" or "text/plain; charset=utf-8". So it should set one to be on par.
-
warp by the test method mentioned in README.md does not generate meaningful response because it can not find the route you defined. This makes it return a 404 response that has no payload so it bypass the response body entirely. This is mentioned in issue Rocket v5 (async) bencmark #2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels