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

Federation: Add tests with @defer #6278

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Federation: Add tests with @defer #6278

merged 2 commits into from
Jul 1, 2024

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented Jun 18, 2024

This PR adds tests for Federation with @defer.

Copy link

changeset-bot bot commented Jun 18, 2024

🦋 Changeset detected

Latest commit: 6e67f50

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

This PR includes changesets to release 5 packages
Name Type
@graphql-tools/delegate Patch
@graphql-tools/stitch Patch
@graphql-tools/utils Patch
@graphql-tools/federation Patch
federation-benchmark 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 Jun 18, 2024

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 302       ✗ 0  
     data_received..................: 35 MB   3.5 MB/s
     data_sent......................: 129 kB  13 kB/s
     http_req_blocked...............: avg=4.81µs   min=2.16µs   med=3.23µs   max=191.76µs p(90)=4.74µs   p(95)=5.24µs 
     http_req_connecting............: avg=858ns    min=0s       med=0s       max=129.63µs p(90)=0s       p(95)=0s     
     http_req_duration..............: avg=62.07ms  min=52.29ms  med=58.42ms  max=163.26ms p(90)=71.39ms  p(95)=93.44ms
       { expected_response:true }...: avg=62.07ms  min=52.29ms  med=58.42ms  max=163.26ms p(90)=71.39ms  p(95)=93.44ms
     http_req_failed................: 0.00%   ✓ 0         ✗ 151
     http_req_receiving.............: avg=131.87µs min=106.25µs med=128.73µs max=250µs    p(90)=151.59µs p(95)=159.2µs
     http_req_sending...............: avg=26.71µs  min=16.92µs  med=25.81µs  max=54.71µs  p(90)=32.16µs  p(95)=37.38µs
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s     
     http_req_waiting...............: avg=61.91ms  min=52.15ms  med=58.24ms  max=162.95ms p(90)=71.26ms  p(95)=93.25ms
     http_reqs......................: 151     15.066147/s
     iteration_duration.............: avg=66.35ms  min=56.28ms  med=62.65ms  max=168.57ms p(90)=75.24ms  p(95)=97.92ms
     iterations.....................: 151     15.066147/s
     vus............................: 1       min=1       max=1
     vus_max........................: 1       min=1       max=1

Copy link
Contributor

github-actions bot commented Jun 18, 2024

💻 Website Preview

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

@ardatan ardatan marked this pull request as ready for review July 1, 2024 10:45
Copy link
Contributor

github-actions bot commented Jul 1, 2024

🚀 Snapshot Release (alpha)

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

Package Version Info
@graphql-tools/delegate 10.0.12-alpha-20240701104621-6e67f50844f7f4cbd61964900403a66232ead248 npm ↗︎ unpkg ↗︎
@graphql-tools/federation 2.1.1-alpha-20240701104621-6e67f50844f7f4cbd61964900403a66232ead248 npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 9.2.10-alpha-20240701104621-6e67f50844f7f4cbd61964900403a66232ead248 npm ↗︎ unpkg ↗︎
@graphql-tools/utils 10.2.3-alpha-20240701104621-6e67f50844f7f4cbd61964900403a66232ead248 npm ↗︎ unpkg ↗︎

@ardatan ardatan merged commit 66c99d9 into master Jul 1, 2024
29 checks passed
@ardatan ardatan deleted the tests-for-defer branch July 1, 2024 10:53
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