DEV Community


Discussion on: Performance aspect of Deno vs. Node

iainjreid profile image
Iain J. Reid

Not in this scenario, no. Autocannon is used to test concurrent unique users, rather than just one user hammering the API.

The main improvement with HTTP2 is reducing the number of roundtrip requests that a single user might make (by reusing the TCP connection), but it doesn't have any meaningful effect on a group of unique users. Hope that helps!

It would be an interesting test though, to see if there was a meaningful difference. But I'm doubtful, because the biggest overhead in an HTTP request is the TCP connection itself.