Skip to content

What is the difference between decorateRequest and @fastify/request-context #4202

Closed Answered by mcollina
joshuaavalon asked this question in Q&A
Discussion options

You must be logged in to vote

The first has zero overhead, and the latter cost about 15% of throughput.

Replies: 1 comment

Comment options

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