GithubHelp home page GithubHelp logo

mrfoxpro / benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from graphql-crystal/benchmarks

0.0 1.0 0.0 617 KB

GraphQL server benchmarks

License: MIT License

JavaScript 12.15% Ruby 3.96% Python 3.55% Scala 3.61% Go 5.62% C# 0.73% Rust 7.64% Nim 3.51% Elixir 41.27% Crystal 14.19% Nix 1.69% Dockerfile 2.07%

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.98ms 50kps
graphql-crystal Crystal Kemal 4.04ms 25kps
gqlgen Go net/http 6.86ms 15kps
Juniper Rust Actix Web 7.37ms 14kps
async-graphql Rust Actix Web 7.57ms 13kps
agoo Ruby/C agoo 10.18ms 9.8kps
Hot Chocolate C# ASP.NET 12.97ms 7.9kps
graphql-go Go net/http 14.46ms 6.9kps
Mercurius Node.js Fastify 14.68ms 6.8kps
Hono Bun HonoJS 18.67ms 5.4kps
graphql-yoga Node.js http 25.62ms 3.9kps
graphql-jit Node.js http 26.98ms 3.7kps
Absinthe Elixir Phoenix 32.08ms 3.1kps
graphql-ruby Ruby Puma 55.67ms 2.3kps
apollo Node.js Express 50.49ms 2.0kps
graphql-js Node.js http 66.65ms 1.5kps
Strawberry Python gunicorn 126.23ms 780ps
Graphene Python gunicorn 126.85ms 780ps
Sangria Scala Akka HTTP 180.79ms 550ps

benchmarks's People

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.