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

APQ: Follow Apollo's implementation more & integration tests for Apollo Client #2985

Merged
merged 8 commits into from
Sep 5, 2023

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Sep 4, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Sep 4, 2023

🦋 Changeset detected

Latest commit: 3beaaff

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

This PR includes changesets to release 2 packages
Name Type
@graphql-yoga/plugin-prometheus Patch
@graphql-yoga/plugin-apq 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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

Apollo Federation Subgraph Compatibility Results

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

Learn more:

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

✅ 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% ✓ 317678      ✗ 0     
     data_received................................: 1.3 GB  11 MB/s
     data_sent....................................: 64 MB   534 kB/s
     http_req_blocked.............................: avg=1.65µs   min=1µs      med=1.4µs    max=849.61µs p(90)=2µs      p(95)=2.29µs  
     http_req_connecting..........................: avg=3ns      min=0s       med=0s       max=169.6µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=500.77µs min=253.3µs  med=412.7µs  max=26.84ms  p(90)=737.41µs p(95)=763.81µs
       { expected_response:true }.................: avg=500.77µs min=253.3µs  med=412.7µs  max=26.84ms  p(90)=737.41µs p(95)=763.81µs
     ✓ { mode:graphql-jit }.......................: avg=367.46µs min=253.3µs  med=321.2µs  max=21.13ms  p(90)=386.4µs  p(95)=415µs   
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=801.33µs min=669.51µs med=735.11µs max=22.41ms  p(90)=796.11µs p(95)=877.52µs
     ✓ { mode:graphql-response-cache }............: avg=439.03µs min=313.9µs  med=398µs    max=11.86ms  p(90)=447.3µs  p(95)=461.8µs 
     ✓ { mode:graphql }...........................: avg=514.7µs  min=379.8µs  med=441.3µs  max=26.84ms  p(90)=533.5µs  p(95)=595.5µs 
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 158839
     http_req_receiving...........................: avg=29.41µs  min=15.6µs   med=25.2µs   max=9.73ms   p(90)=37.4µs   p(95)=41.3µs  
     http_req_sending.............................: avg=13.02µs  min=6.1µs    med=8.1µs    max=5.03ms   p(90)=13µs     p(95)=14.8µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=458.33µs min=225.7µs  med=374µs    max=26.78ms  p(90)=702.41µs p(95)=724.51µs
     http_reqs....................................: 158839  1323.628882/s
     iteration_duration...........................: avg=749.74µs min=463.1µs  med=657.51µs max=27.12ms  p(90)=977.51µs p(95)=1.01ms  
     iterations...................................: 158839  1323.628882/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

💻 Website Preview

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

@ardatan ardatan changed the title Integration tests for APQ plugin and Apollo Client APQ: Follow Apollo's implementation more & integration tests for Apollo Client Sep 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-yoga/plugin-apq 2.0.5-alpha-20230905131456-3beaaffe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 2.0.5-alpha-20230905131456-3beaaffe npm ↗︎ unpkg ↗︎

@ardatan ardatan merged commit 75ee852 into main Sep 5, 2023
26 checks passed
@ardatan ardatan deleted the apq-apollo-client-integration branch September 5, 2023 15:12
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.

None yet

1 participant