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

first draft of the yoga production guide #2907

Merged
merged 2 commits into from
Aug 7, 2023
Merged

Conversation

n1ru4l
Copy link
Collaborator

@n1ru4l n1ru4l commented Jul 5, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jul 5, 2023

⚠️ No Changeset found

Latest commit: aa2837a

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 Jul 5, 2023

💻 Website Preview

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

@EmrysMyrddin
Copy link
Collaborator

That's a very good start :-)
Perhaps we could provide an example of production ready implementation in our examples ?

@ardatan ardatan merged commit 7078bd3 into main Aug 7, 2023
@ardatan ardatan deleted the yoga-production-guide branch August 7, 2023 09:43
ardatan pushed a commit that referenced this pull request Aug 7, 2023
* first draft of the yoga production guide

* meta meta
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 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% ✓ 297250      ✗ 0     
     data_received................................: 1.2 GB  10 MB/s
     data_sent....................................: 60 MB   500 kB/s
     http_req_blocked.............................: avg=1.68µs   min=1µs     med=1.4µs   max=810.6µs p(90)=2.1µs    p(95)=2.29µs  
     http_req_connecting..........................: avg=6ns      min=0s      med=0s      max=631.4µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=547.87µs min=299µs   med=454.7µs max=33.51ms p(90)=785.7µs  p(95)=816.21µs
       { expected_response:true }.................: avg=547.87µs min=299µs   med=454.7µs max=33.51ms p(90)=785.7µs  p(95)=816.21µs
     ✓ { mode:graphql-jit }.......................: avg=414.46µs min=299µs   med=367µs   max=33.51ms p(90)=428.8µs  p(95)=465.9µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=849.11µs min=710.6µs med=782.5µs max=21.81ms p(90)=843.61µs p(95)=928.27µs
     ✓ { mode:graphql-response-cache }............: avg=478.79µs min=354µs   med=435.6µs max=11.14ms p(90)=486.1µs  p(95)=502.1µs 
     ✓ { mode:graphql }...........................: avg=563.86µs min=419.7µs med=489.8µs max=21.13ms p(90)=578.9µs  p(95)=662.42µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 148625
     http_req_receiving...........................: avg=29.76µs  min=17.2µs  med=25.8µs  max=12.44ms p(90)=36.4µs   p(95)=41.3µs  
     http_req_sending.............................: avg=13.47µs  min=6.2µs   med=8.3µs   max=6.05ms  p(90)=13.3µs   p(95)=15.2µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s      med=0s      max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=504.63µs min=270.7µs med=416.1µs max=33.42ms p(90)=748.7µs  p(95)=772.4µs 
     http_reqs....................................: 148625  1238.514201/s
     iteration_duration...........................: avg=801.46µs min=509.4µs med=703.7µs max=33.83ms p(90)=1.03ms   p(95)=1.07ms  
     iterations...................................: 148625  1238.514201/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

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