Closed mweberxyz closed 7 months ago
Implements npm run benchmark and adds additional benchmarks to help catch regressions/improvements
npm run benchmark
% npm run benchmark > @fastify/view@8.2.0 benchmark > node benchmark.js express.js: 24266.67 req/s fastify.js: 96245.34 req/s fastify-twig.js: 86080 req/s fastify-ejs-async.js: 104426.67 req/s fastify-ejs-with-layout.js: 89322.67 req/s
npm run test
Just pushed a light refactoring and added benchmarks for all supported engines - requesting re-review.
Implements
npm run benchmark
and adds additional benchmarks to help catch regressions/improvementsExample usage
Checklist
npm run test
andnpm run benchmark