GithubHelp home page GithubHelp logo

smarthug / benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benawad/node-graphql-benchmarks

0.0 1.0 0.0 124 KB

Fast and low overhead web framework fastify benchmarks.

Home Page: https://github.com/fastify/fastify

License: MIT License

JavaScript 100.00%

benchmarks's Introduction

TL;DR

  • graphql-jit helps
  • apollo-server adds overhead

Usage

npm start [arguments (optional)]

Arguments

You may also compare all test results, at once, in a single table; npm run compare -t

You can also extend the comparison table with percentage values based on fastest result; npm run compare -p

Benchmarks

  • Machine: My iMac
  • Method: autocannon -c 5 -d 10 localhost:4001/graphql (two rounds; one to warm-up, one to measure).
  • Node: 13.5.0
Requests/s Latency Throughput/Mb
apollo-server-express-tracing 85.1 58.22 11.75
apollo-server-express 80.6 61.45 11.14
apollo-server-fastify 86.5 57.23 11.97
express-REST 730.7 6.31 124.63
express-graphql+graphql-jit 498.6 9.53 68.97
express-graphql 146.8 33.56 20.29
fastify-gql 154.3 31.90 21.32
graphql-api-koa 138.1 35.70 19.06

benchmarks's People

Contributors

aboutlo avatar aichholzer avatar ardalanamini avatar benawad avatar cagataycali avatar delvedor avatar dotcypress avatar dougwilson avatar evheniy avatar fundon avatar hekike avatar hnry avatar hueniverse avatar jameskyburz avatar joshuawise avatar leizongmin avatar lependu avatar lukeed avatar mcollina avatar mhajder avatar sinchang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.