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

Comparison to Apollo Query Planner #6174

Merged
merged 3 commits into from May 14, 2024
Merged

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented May 13, 2024

This PR compares the number of subgraph calls with Apollo's Query Planner. The test fails only if a subgraph is called more than Apollo Gateway.

Copy link

changeset-bot bot commented May 13, 2024

⚠️ No Changeset found

Latest commit: cb9641c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented May 13, 2024

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 332       ✗ 0  
     data_received..................: 39 MB   3.8 MB/s
     data_sent......................: 142 kB  14 kB/s
     http_req_blocked...............: avg=4.05µs   min=2.12µs   med=2.7µs   max=180.31µs p(90)=3.91µs   p(95)=4.3µs   
     http_req_connecting............: avg=731ns    min=0s       med=0s      max=121.5µs  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=56.06ms  min=47.65ms  med=52.54ms max=156.33ms p(90)=62.46ms  p(95)=86.25ms 
       { expected_response:true }...: avg=56.06ms  min=47.65ms  med=52.54ms max=156.33ms p(90)=62.46ms  p(95)=86.25ms 
     http_req_failed................: 0.00%   ✓ 0         ✗ 166
     http_req_receiving.............: avg=138.91µs min=102.28µs med=133.1µs max=559.64µs p(90)=155.24µs p(95)=164.29µs
     http_req_sending...............: avg=25.28µs  min=17.66µs  med=24.04µs max=63.43µs  p(90)=29.97µs  p(95)=34.05µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s      max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=55.9ms   min=47.5ms   med=52.33ms max=155.96ms p(90)=62.29ms  p(95)=86.08ms 
     http_reqs......................: 166     16.493569/s
     iteration_duration.............: avg=60.6ms   min=51.84ms  med=56.88ms max=161.86ms p(90)=70.58ms  p(95)=90.08ms 
     iterations.....................: 166     16.493569/s
     vus............................: 1       min=1       max=1
     vus_max........................: 1       min=1       max=1

Copy link
Contributor

github-actions bot commented May 13, 2024

💻 Website Preview

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

@ardatan ardatan changed the title More Federation compat tests and comparison to Apollo Query Planner Comparison to Apollo Query Planner May 14, 2024
@ardatan ardatan merged commit bc88a56 into master May 14, 2024
30 checks passed
@ardatan ardatan deleted the more-tests-and-comparison branch May 14, 2024 13:50
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

2 participants