Skip to content

Why is Deno that slow? #15121

Locked Answered by lucacasonato
deeprobin asked this question in Q&A
Jul 8, 2022 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

The benchmark is not representative of many real world traffic scenarios. There are certain HTTP benchmarks where Deno is faster than Node, where Node will be faster than bun, or where bun will be fastest. You can not compare the performance of two systems through a single HTTP benchmark. The benchmark does not inspect request headers, request method, request url, or any number of other fields which are important in real traffic scenarios. It doesn't do routing, static file serving, etc.

Additionally these are just very different HTTP servers: Deno supports h2 and TLS on it's http server, while bun supports neither. We also can do automatic response body compression, full-duplex body stre…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@lucacasonato
Comment options

@lucacasonato
Comment options

@lucacasonato
Comment options

@uNetworkingAB
Comment options

Answer selected by aslilac
Comment options

You must be logged in to vote
1 reply
@littledivy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants