Replies: 4 comments 1 reply
-
Thanks for flagging @wmertens, this seems like more of a discussion than a bug per se. I'll move this over there and we can continue the conversation. |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing this up. We will do some benchmarking for sure! There are also opt-out root decorators, which need to be added to the docs. |
Beta Was this translation helpful? Give feedback.
-
Did some basic benchmarking on a few different setups. All tests were using autocannon ( Each test has a server rendered page that is doing some kind of logging on the server, including a redacted secret. Obviously this is a fairly trivial example, and the more logs you have and larger size of logs, as well as size of responses returned by the server are going to incur more of a hit, but this should at least give us a baseline idea of what is going on to just patch the methods.
The matrix here of frameworks, hosting platforms, javascript runtimes, etc gets huge pretty quickly. Obviously it may change in prod versus on my laptop. But overall I'd say this is fairly promising! |
Beta Was this translation helpful? Give feedback.
-
Well, I'm super happy that Qwik is not impacted in any case, but 10-20% is pretty severe IMHO. So at the very least it should be mentioned... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
varlock version
latest
Steps to reproduce
See https://github.com/dmno-dev/varlock/blob/main/packages/varlock/src/auto-load.ts#L5-L6 - Express changing the core objects actually gives a big performance hit, which is one of the reasons why fastify is faster, and I worry that these patches also do that.
What is expected?
Great DX, no runtime cost
What is actually happening?
Unknown, please benchmark to prove it's fine
System Info
Any additional comments?
No response
Beta Was this translation helpful? Give feedback.
All reactions