Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

lestrrat-morgue/go-graphql

Repository files navigation

go-graphql

GraphQL for Go

Build Status

GoDoc

MOTIVATION

STATUS

  • Can parse queries
  • Can parse schemas
  • Can format queries/schemas
  • Can create queries/schemas programatically, via raw models or DSL
  • Can traverse queries/schemas using visitor
  • TODO: validation
  • TODO: actual dispatching

BENCHMARK

% make bench 
go test -tags bench -benchmem -benchtime=5s -bench .
BenchmarkParseOfficial-4      200000         45166 ns/op       18344 B/op        516 allocs/op
BenchmarkParseLestrrat-4      200000         43567 ns/op        7554 B/op        255 allocs/op
BenchmarkParseNeelance-4      200000         37186 ns/op       12379 B/op        291 allocs/op
PASS
ok      github.com/lestrrat/go-graphql  26.462s

Releases

No releases published

Packages

No packages published