Open pstachula-dev opened 2 weeks ago
cc @gurgunday
Yeah, seems like it really helped for this benchmark, normally a compressor like brotli or gzip would help as well
Not sure if adding a minifier would make it faster or slower in the end
Minifer should be made in the new compilation step, like all other frameworks, but this introduces a new step, so the issue of DX vs. Perf.
Oh yeah, I see, and I can actually imagine it in fastify-html
or ghtml
one day if we can make it simple enough
I found a big problem with whitespace characters, which increase the size of the final server response by 25% (197kb vs 149kb)
With this change, I increased the average number of requests from 968req/s to 1033req/s.