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: test new defer-stream implementation #3402

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

n1ru4l
Copy link
Collaborator

@n1ru4l n1ru4l commented Aug 4, 2024

Testing backward-compatibility.

Copy link

changeset-bot bot commented Aug 4, 2024

🦋 Changeset detected

Latest commit: 8c19186

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

This PR includes changesets to release 23 packages
Name Type
graphql-yoga Patch
@graphql-yoga/nestjs Patch
@graphql-yoga/render-graphiql Patch
@graphql-yoga/plugin-apollo-inline-trace Patch
@graphql-yoga/apollo-managed-federation Patch
@graphql-yoga/plugin-apq Patch
@graphql-yoga/plugin-csrf-prevention Patch
@graphql-yoga/plugin-defer-stream Patch
@graphql-yoga/plugin-disable-introspection Patch
@graphql-yoga/plugin-graphql-sse Patch
@graphql-yoga/plugin-jwt Patch
@graphql-yoga/plugin-persisted-operations Patch
@graphql-yoga/plugin-prometheus Patch
@graphql-yoga/plugin-response-cache Patch
@graphql-yoga/plugin-sofa Patch
apollo-federation-gateway-with-yoga Patch
apollo-subgraph-with-yoga Patch
graphql-lambda Patch
cloudflare-advanced Patch
cloudflare Patch
nextjs-app Patch
hello-world-benchmark Patch
@graphql-yoga/nestjs-federation 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

Copy link
Contributor

github-actions bot commented Aug 4, 2024

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

github-actions bot commented Aug 4, 2024

✅ 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}

     checks.......................................: 100.00% ✓ 421498      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 85 MB   709 kB/s
     http_req_blocked.............................: avg=1.45µs   min=941ns    med=1.3µs    max=260.17µs p(90)=1.9µs    p(95)=2.1µs   
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=140.6µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=359.41µs min=216.16µs med=323.58µs max=17.97ms  p(90)=461.94µs p(95)=480.5µs 
       { expected_response:true }.................: avg=359.41µs min=216.16µs med=323.58µs max=17.97ms  p(90)=461.94µs p(95)=480.5µs 
     ✓ { mode:graphql-jit }.......................: avg=284µs    min=216.16µs med=262.46µs max=17.97ms  p(90)=292.13µs p(95)=303.97µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=483.44µs min=403.68µs med=458.38µs max=9.5ms    p(90)=496.22µs p(95)=520.92µs
     ✓ { mode:graphql-response-cache }............: avg=338.85µs min=265.03µs med=319.84µs max=6.69ms   p(90)=350.28µs p(95)=360.53µs
     ✓ { mode:graphql }...........................: avg=366.82µs min=276.89µs med=334.73µs max=13.59ms  p(90)=379.31µs p(95)=412.6µs 
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 210749
     http_req_receiving...........................: avg=33.34µs  min=17.28µs  med=33.24µs  max=7.46ms   p(90)=38.54µs  p(95)=40.6µs  
     http_req_sending.............................: avg=8.03µs   min=6.03µs   med=7.17µs   max=414.73µs p(90)=10.68µs  p(95)=11.33µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=318.02µs min=181.96µs med=282.94µs max=17.86ms  p(90)=420.19µs p(95)=436.55µs
     http_reqs....................................: 210749  1756.215783/s
     iteration_duration...........................: avg=564.58µs min=388.14µs med=525.05µs max=18.46ms  p(90)=671.02µs p(95)=694.23µs
     iterations...................................: 210749  1756.215783/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

Copy link
Contributor

github-actions bot commented Aug 4, 2024

💻 Website Preview

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

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