Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would be interested in seeing some sort of benchmarks (@fastify/nextjs) #566

Open
2 tasks done
jessekrubin opened this issue Jul 2, 2022 · 5 comments
Open
2 tasks done

Comments

@jessekrubin
Copy link

jessekrubin commented Jul 2, 2022

EDIT: I thought I was posting this specifically on the fastify-nextjs repo.

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

EDIT: I thought I was posting this specifically on the fastify-nextjs repo.

No issue to report. Just here to say that I would be interested in seeing some sort of benchmarks against an express custom server and/or a vanilla next app.

Food for thought!

@jessekrubin jessekrubin changed the title Would be interested in seeing some sort of benchmarks Would be interested in seeing some sort of benchmarks (@fastify/nextjs) Jul 2, 2022
@climba03003 climba03003 transferred this issue from fastify/.github Jul 2, 2022
@climba03003
Copy link
Member

Transfered to fastify-nextjs.

@mcollina
Copy link
Member

mcollina commented Jul 2, 2022

Thanks for reporting! Would you like to send a Pull Request to address this issue?

@jessekrubin
Copy link
Author

jessekrubin commented Jul 2, 2022

For sure! Anything to help push the fastify ecosystem forward!

(Just gotta find the free time which I might have this weekend)

@jessekrubin
Copy link
Author

@mcollina I did some testing of this over the weekend and can write it up when I have time... BUT it all comes down to fastify-nextjs being just as fast as the next server, tho if you are using fastify-nextjs there is a higher warmup cost than there is with just next. I did a bunch of different trials and fastify came to the conclusion that it is mostly "too close to call!"

PS: I used this cool cli tool to do the testing called 'autocannon', maybe you have heard of it?

@mcollina
Copy link
Member

Seems about right, it is the next server after all ;).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants