dotansimha / graphql-yoga

🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
https://the-guild.dev/graphql/yoga-server
MIT License
8.25k stars 574 forks source link

Update envelop-plugins.mdx #3492

Closed PolyDevil closed 3 days ago

PolyDevil commented 3 days ago

code snippet is invalid; semicolon should be after the second ) closing brace, but it can be omitted.

changeset-bot[bot] commented 3 days ago

⚠️ No Changeset found

Latest commit: 71baeade36ae7357d0d13d89747d154db3f1d442

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[bot] commented 3 days ago

✅ 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}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 514018      ✗ 0     
     data_received................................: 2.1 GB  14 MB/s
     data_sent....................................: 103 MB  689 kB/s
     http_req_blocked.............................: avg=1.56µs   min=1µs      med=1.37µs   max=304.47µs p(90)=2.08µs   p(95)=2.27µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=153.4µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=367µs    min=225.43µs med=329.67µs max=19.44ms  p(90)=466.29µs p(95)=487.65µs
       { expected_response:true }.................: avg=367µs    min=225.43µs med=329.67µs max=19.44ms  p(90)=466.29µs p(95)=487.65µs
     ✓ { mode:graphql-jit }.......................: avg=296.86µs min=225.43µs med=273.41µs max=19.44ms  p(90)=304.89µs p(95)=321.9µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=497.72µs min=406.21µs med=467.57µs max=10.76ms  p(90)=508.41µs p(95)=538.63µs
     ✓ { mode:graphql-response-cache }............: avg=351.79µs min=277.4µs  med=331.95µs max=6.64ms   p(90)=360.69µs p(95)=371.57µs
     ✓ { mode:graphql }...........................: avg=374.64µs min=275.72µs med=337.07µs max=13.79ms  p(90)=394.9µs  p(95)=451.13µs
     ✓ { mode:uws }...............................: avg=349.47µs min=267.9µs  med=326.8µs  max=9.64ms   p(90)=358.92µs p(95)=376.23µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 257009
     http_req_receiving...........................: avg=34.01µs  min=17.03µs  med=33.89µs  max=2.51ms   p(90)=39.96µs  p(95)=42.06µs 
     http_req_sending.............................: avg=8.76µs   min=6.03µs   med=7.74µs   max=4.65ms   p(90)=11.21µs  p(95)=12.52µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=324.22µs min=189.64µs med=287.58µs max=19.3ms   p(90)=423.45µs p(95)=442.23µs
     http_reqs....................................: 257009  1713.374706/s
     iteration_duration...........................: avg=578.72µs min=401.86µs med=538.71µs max=20.01ms  p(90)=681.99µs p(95)=707.64µs
     iterations...................................: 257009  1713.374706/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2