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 jwt.mdx #3493

Closed PolyDevil closed 3 days ago

PolyDevil commented 3 days ago

cose snippet is invalid

changeset-bot[bot] commented 3 days ago

⚠️ No Changeset found

Latest commit: 6ba02dab41ee29e1790de1ba950d4f0e9037c3bb

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% ✓ 527970      ✗ 0     
     data_received................................: 2.1 GB  14 MB/s
     data_sent....................................: 106 MB  707 kB/s
     http_req_blocked.............................: avg=1.46µs   min=1.03µs   med=1.31µs   max=291.45µs p(90)=1.92µs   p(95)=2.12µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=160.55µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=356.35µs min=212.05µs med=322.9µs  max=17.89ms  p(90)=457.74µs p(95)=477.6µs 
       { expected_response:true }.................: avg=356.35µs min=212.05µs med=322.9µs  max=17.89ms  p(90)=457.74µs p(95)=477.6µs 
     ✓ { mode:graphql-jit }.......................: avg=285.63µs min=212.05µs med=264.03µs max=15.46ms  p(90)=294.26µs p(95)=308.66µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=484.53µs min=395.81µs med=460.19µs max=9.25ms   p(90)=497.61µs p(95)=522.23µs
     ✓ { mode:graphql-response-cache }............: avg=340.77µs min=269.69µs med=322.66µs max=6.34ms   p(90)=351.92µs p(95)=363.1µs 
     ✓ { mode:graphql }...........................: avg=364.98µs min=271.61µs med=331.1µs  max=17.89ms  p(90)=385.1µs  p(95)=429.27µs
     ✓ { mode:uws }...............................: avg=341.52µs min=271.36µs med=322.46µs max=9.14ms   p(90)=353.6µs  p(95)=368.22µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 263985
     http_req_receiving...........................: avg=32.35µs  min=15.99µs  med=32.53µs  max=837.46µs p(90)=37.78µs  p(95)=39.83µs 
     http_req_sending.............................: avg=8.2µs    min=5.95µs   med=7.29µs   max=332.93µs p(90)=10.76µs  p(95)=11.36µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=315.79µs min=185.04µs med=283.22µs max=17.75ms  p(90)=416.43µs p(95)=434.05µs
     http_reqs....................................: 263985  1759.881567/s
     iteration_duration...........................: avg=563.36µs min=390.25µs med=526.9µs  max=18.41ms  p(90)=669.25µs p(95)=692.78µs
     iterations...................................: 263985  1759.881567/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2