https://github.com/graphql-crystal/benchmarks
GraphQL server benchmarks
https://github.com/graphql-crystal/benchmarks
Last synced: 3 months ago
JSON representation
GraphQL server benchmarks
- Host: GitHub
- URL: https://github.com/graphql-crystal/benchmarks
- Owner: graphql-crystal
- License: mit
- Created: 2022-04-03T22:08:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T16:49:10.000Z (3 months ago)
- Last Synced: 2025-03-29T17:12:45.674Z (3 months ago)
- Language: Elixir
- Size: 834 KB
- Stars: 88
- Watchers: 2
- Forks: 28
- Open Issues: 13
-
Metadata Files:
- Readme: README.ecr
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL server benchmarks
Graphql server benchmarks in many languages. Pull requests welcome, please read [CONTRIBUTING.md](CONTRIBUTING.md)
All servers implement a simple schema:
```graphql
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](https://github.com/codesenberg/bombardier).
### Results
| Name | Language | Server | Latency avg | Requests |
| ---------------------------- | ------------- | --------------- | ---------------- | ------------- |
<%- benchmarks.each do |b| -%>
| [<%= b.name %>](<%= b.url %>) | <%= b.lang %> | <%= b.server %> | <%= b.latency %> | <%= b.reqs %> |
<%- end -%>