Skip to content

feat: add compilation#4769

Draft
yaacovCR wants to merge 1 commit into
graphql:17.x.xfrom
yaacovCR:compile
Draft

feat: add compilation#4769
yaacovCR wants to merge 1 commit into
graphql:17.x.xfrom
yaacovCR:compile

Conversation

@yaacovCR

@yaacovCR yaacovCR commented May 29, 2026

Copy link
Copy Markdown
Contributor

Add a compiled execution path for validated operations and subscriptions.

Benchmarks were run on Node v24.14.1 against 17.x.x. The compiler path shows rough ops/sec wins across the benchmark scenarios:

  • async root fields: 1,511 vs 638 ops/sec, +137%
  • field argument values: 11,245 vs 3,595 ops/sec, +213%
  • introspection query: 70.4 vs 49.9 ops/sec, +41%
  • async list field: 6,725 vs 3,083 ops/sec, +118%
  • async non-null list items: 6,853 vs 2,960 ops/sec, +132%
  • sync list field: 44,583 vs 14,248 ops/sec, +213%
  • variable field collection: 18,498 vs 5,708 ops/sec, +224%

@yaacovCR yaacovCR added the PR: feature 🚀 requires increase of "minor" version number label May 29, 2026
@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

@yaacovCR is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Add a compiled execution path for validated operations and subscriptions.

Benchmarks were run on Node v24.14.1 against 17.x.x. The compiler path shows rough ops/sec wins across the benchmark scenarios:

- async root fields: 1,511 vs 638 ops/sec, +137%
- field argument values: 11,245 vs 3,595 ops/sec, +213%
- introspection query: 70.4 vs 49.9 ops/sec, +41%
- async list field: 6,725 vs 3,083 ops/sec, +118%
- async non-null list items: 6,853 vs 2,960 ops/sec, +132%
- sync list field: 44,583 vs 14,248 ops/sec, +213%
- variable field collection: 18,498 vs 5,708 ops/sec, +224%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature 🚀 requires increase of "minor" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant