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

Adding Apollo Federation benchmarks #2524

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Adding Apollo Federation benchmarks #2524

merged 2 commits into from
Mar 2, 2023

Conversation

Urigo
Copy link
Collaborator

@Urigo Urigo commented Mar 2, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 2, 2023

⚠️ No Changeset found

Latest commit: b223525

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

🚀 Snapshot Release (rc)

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

Package Version Info
@graphql-yoga/apollo-link 1.6.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 1.6.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/common 3.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
graphql-yoga 3.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/node 3.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 1.3.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 0.6.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 1.3.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 1.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 3.7.1-rc-20230302155507-b2235259 npm ↗︎ unpkg ↗︎

Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

💻 Website Preview

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

@Urigo Urigo merged commit 18c99e7 into main Mar 2, 2023
@Urigo Urigo deleted the Urigo-patch-1 branch March 2, 2023 16:31
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 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% ✓ 301514      ✗ 0     
     data_received................................: 1.2 GB  10 MB/s
     data_sent....................................: 61 MB   507 kB/s
     http_req_blocked.............................: avg=1.71µs   min=1µs     med=1.4µs   max=845.9µs p(90)=2.1µs    p(95)=2.4µs   
     http_req_connecting..........................: avg=7ns      min=0s      med=0s      max=409.7µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=541.29µs min=298.9µs med=440.4µs max=21.26ms p(90)=778µs    p(95)=817.6µs 
       { expected_response:true }.................: avg=541.29µs min=298.9µs med=440.4µs max=21.26ms p(90)=778µs    p(95)=817.6µs 
     ✓ { mode:graphql-jit }.......................: avg=414.43µs min=298.9µs med=365.3µs max=19.14ms p(90)=431.1µs  p(95)=467.7µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=846.13µs min=688.9µs med=773.8µs max=21.26ms p(90)=855.2µs  p(95)=1.01ms  
     ✓ { mode:graphql-response-cache }............: avg=461.33µs min=337.7µs med=419.9µs max=13.71ms p(90)=469.16µs p(95)=496.98µs
     ✓ { mode:graphql }...........................: avg=562.49µs min=420.4µs med=485.8µs max=19.58ms p(90)=581.9µs  p(95)=693.33µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 150757
     http_req_receiving...........................: avg=30.16µs  min=17.1µs  med=26.1µs  max=12.19ms p(90)=37.1µs   p(95)=42µs    
     http_req_sending.............................: avg=13.81µs  min=6.1µs   med=8.3µs   max=4.93ms  p(90)=13.3µs   p(95)=15.4µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s      med=0s      max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=497.3µs  min=270.7µs med=400.5µs max=21.18ms p(90)=741µs    p(95)=770.8µs 
     http_reqs....................................: 150757  1256.288162/s
     iteration_duration...........................: avg=790.28µs min=503.9µs med=684.4µs max=25.65ms p(90)=1.02ms   p(95)=1.08ms  
     iterations...................................: 150757  1256.288162/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@theguild-bot theguild-bot mentioned this pull request Apr 20, 2023
This was referenced May 7, 2024
This was referenced May 23, 2024
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.

3 participants