Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
https://github.com/zalando-incubator/graphql-jit#compile-a-q...
so I guess the difference is instead of having totally generic functions that parse the query every time, instead you can call a factory function up front to get a specialised function for a particular query
and V8 JIT can make that faster
I remember seeing graphql-jit on a comparative benchmark of GQL server implementations, and it blowing everything out of the water, really impressive:
https://github.com/benawad/node-graphql-benchmarks
Depending on your usecase, you can go one level further and directly evaluate the query AST without delegating to resolvers.
(This generally only makes sense if you do programmatic schema generation. IE, read some metadata about a source and then generate GQL types/operations from it.)
So a query comes in, say something like:
query {
Related posts
- Exploring Material 3 Design With Angular Material
- VChart, How to perform event tracking based on Tooltip behavior
- Path To A Clean(er) React Architecture - API Layer & Fetch Functions
- How to draw a line chart with a multi-line layout
- An OIDC authentication library that supports self hosting and has complete test cases