fastify / fastify/benchmarks

Better reflect real-world API with bigger payloads

Open
#3 4 comments 2 reactions 1 assignee Claimed by @cagataycali View on GitHub
good first issue
Dominant language
JavaScript
Stars
631
Forks
251
Avg merge
9h 43m
Merged PRs (30d)
5

Description

Hello,

First, congrats for these nice & useful benchmarks !

I made a very simple benchmark [here](https://github.com/abenhamdine/frameworks-benchmark) with fastify vs Express and found some intereresting data : see https://github.com/fastify/fastify/issues/178 for the background.

The important point is : **size of payload matters** : with a big JSON payload, json stringification becomes the bottleneck, and fastify matches Express performance only if a schema is applied in fastify route, see https://github.com/fastify/fastify/issues/178#issuecomment-328036894

I would be glad to send a PR to add a new route in the tests, in order to test
a bigger payload, or you can directly copy the test data I used in my benchmark if you prefer !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.