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

enhance(delegate): use the native Promise.withResolvers when possible #6312

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented Jul 1, 2024

Use native Promise.withResolvers when possible

Copy link

changeset-bot bot commented Jul 1, 2024

🦋 Changeset detected

Latest commit: ffa841c

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

This PR includes changesets to release 1 package
Name Type
@graphql-tools/delegate 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 Jul 1, 2024

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 326       ✗ 0  
     data_received..................: 38 MB   3.8 MB/s
     data_sent......................: 140 kB  14 kB/s
     http_req_blocked...............: avg=4.1µs    min=1.95µs   med=2.58µs   max=205.77µs p(90)=3.96µs   p(95)=4.25µs  
     http_req_connecting............: avg=819ns    min=0s       med=0s       max=133.64µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=57.05ms  min=48.01ms  med=53.4ms   max=157.38ms p(90)=68.44ms  p(95)=86.8ms  
       { expected_response:true }...: avg=57.05ms  min=48.01ms  med=53.4ms   max=157.38ms p(90)=68.44ms  p(95)=86.8ms  
     http_req_failed................: 0.00%   ✓ 0         ✗ 163
     http_req_receiving.............: avg=140.35µs min=109.23µs med=129.97µs max=468.91µs p(90)=157.36µs p(95)=174.86µs
     http_req_sending...............: avg=25.89µs  min=18.63µs  med=23.6µs   max=157.64µs p(90)=30.69µs  p(95)=34.86µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=56.89ms  min=47.87ms  med=53.25ms  max=157.04ms p(90)=68.24ms  p(95)=86.63ms 
     http_reqs......................: 163     16.293082/s
     iteration_duration.............: avg=61.35ms  min=51.49ms  med=57.24ms  max=162.84ms p(90)=73.5ms   p(95)=91.4ms  
     iterations.....................: 163     16.293082/s
     vus............................: 1       min=1       max=1
     vus_max........................: 1       min=1       max=1

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.13-alpha-20240701143801-ffa841cb16c094c265d5ed07a1f400e03f640057 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jul 1, 2024

💻 Website Preview

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

@ardatan ardatan merged commit 7b6f77a into master Jul 1, 2024
19 of 20 checks passed
@ardatan ardatan deleted the promise-withresolvers branch July 1, 2024 14:37
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