Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Apollo Sandbox Renderer instead of GraphiQL #3654

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Jan 14, 2025

New renderer for Apollo Sandbox instead of GraphiQL

Copy link

changeset-bot bot commented Jan 14, 2025

🦋 Changeset detected

Latest commit: 23a854a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-yoga/render-apollo-sandbox Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ardatan ardatan force-pushed the apollo-sandbox-renderer branch from 23a854a to 5ffaec7 Compare January 14, 2025 21:00
Copy link
Contributor

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://684b828b.graphql-yoga.pages.dev

Copy link
Contributor

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 527332      ✗ 0     
     data_received................................: 2.1 GB  14 MB/s
     data_sent....................................: 106 MB  706 kB/s
     http_req_blocked.............................: avg=1.51µs   min=961ns    med=1.33µs   max=250.86µs p(90)=1.98µs   p(95)=2.17µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=140.76µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=352.87µs min=213.23µs med=321.13µs max=14.98ms  p(90)=460.3µs  p(95)=481.97µs
       { expected_response:true }.................: avg=352.87µs min=213.23µs med=321.13µs max=14.98ms  p(90)=460.3µs  p(95)=481.97µs
     ✓ { mode:graphql-jit }.......................: avg=282.65µs min=213.23µs med=266.01µs max=14.98ms  p(90)=297.69µs p(95)=313.42µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=483.96µs min=400.21µs med=461.76µs max=5.62ms   p(90)=503.91µs p(95)=557.39µs
     ✓ { mode:graphql-response-cache }............: avg=337.52µs min=264.98µs med=321.07µs max=6.79ms   p(90)=351.62µs p(95)=362.68µs
     ✓ { mode:graphql }...........................: avg=360.13µs min=273.4µs  med=331.14µs max=13.7ms   p(90)=394.72µs p(95)=442.16µs
     ✓ { mode:uws }...............................: avg=335.92µs min=260.7µs  med=318.91µs max=5.9ms    p(90)=352.56µs p(95)=373.67µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 263666
     http_req_receiving...........................: avg=32.43µs  min=15.97µs  med=32.03µs  max=2.9ms    p(90)=38.84µs  p(95)=41.26µs 
     http_req_sending.............................: avg=8.54µs   min=6µs      med=7.45µs   max=5.55ms   p(90)=11µs     p(95)=11.98µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=311.89µs min=180.51µs med=281.16µs max=14.88ms  p(90)=419.01µs p(95)=438.78µs
     http_reqs....................................: 263666  1757.756124/s
     iteration_duration...........................: avg=564.03µs min=384.14µs med=528.07µs max=15.5ms   p(90)=673.78µs p(95)=700.89µs
     iterations...................................: 263666  1757.756124/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant