Giter Site home page Giter Site logo

tailcallhq / benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from graphql-crystal/benchmarks

0.0 1.0 0.0 750 KB

GraphQL server benchmarks

License: MIT License

JavaScript 11.58% Ruby 3.97% Python 3.47% Scala 3.35% Go 5.49% C# 0.72% Rust 7.90% Nim 3.43% Elixir 40.31% Crystal 14.64% Nix 2.22% Dockerfile 1.37% Shell 1.56%

benchmarks's Introduction

GraphQL server benchmarks

Graphql server benchmarks in many languages. Pull requests welcome, please read CONTRIBUTING.md

All servers implement a simple schema:

type Query {
  hello: String!
}

The returned string is always world.

The API is served over HTTP using a common web server and load tested using bombardier.

Results

Name Language Server Latency avg Requests
static-rust Rust Actix Web 1.83ms 110kps
Tailcall Rust Hyper 3.03ms 66kps
graphql-crystal Crystal Kemal 3.34ms 60kps
gqlgen Go net/http 3.96ms 51kps
async-graphql Rust Actix Web 4.60ms 43kps
Juniper Rust Actix Web 4.92ms 41kps
Hot Chocolate C# ASP.NET 8.58ms 23kps
Mercurius Node.js Fastify 9.90ms 20kps
graphql-go Go net/http 10.99ms 18kps
graphql-yoga Node.js http 14.89ms 13kps
graphql-jit Node.js http 20.05ms 10.0kps
nim-graphql Nim Chronos 20.65ms 9.7kps
Absinthe Elixir Phoenix 23.96ms 8.3kps
agoo Ruby/C agoo 26.61ms 7.3kps
Hono Bun HonoJS 28.55ms 7.0kps
apollo Node.js Express 34.78ms 5.8kps
graphql-ruby Ruby Puma 44.67ms 5.7kps
graphql-js Node.js http 45.94ms 4.4kps
Sangria Scala Akka HTTP 90.91ms 2.2kps
Strawberry Python gunicorn 108.45ms 1.8kps
Graphene Python gunicorn 108.37ms 1.8kps

benchmarks's People

Contributors

jgillich avatar renovate[bot] avatar github-actions[bot] avatar renovate-bot avatar tusharmath avatar amitksingh1490 avatar tak1n avatar ardatan avatar kylerush 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.