Replies: 1 comment
-
yes it is 2x - 3x faster to directly use Bun.serve(). In the future we plan to rewrite node:http to address this but we won't do that for awhile |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For a code base I am wondering it would be faster to use
Bun.serve
, and refactor awaynode:http
. It would be a more significant undertaking as the code base also uses Connect middleware. Before doing so, I was wondering if anyone did some performance benchmarks between these two and whether there is a significant difference.Beta Was this translation helpful? Give feedback.
All reactions