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

docs: add flow diagram and all hooks in the plugin system #3166

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

n1ru4l
Copy link
Collaborator

@n1ru4l n1ru4l commented Jan 16, 2024

add flow diagram and all hooks in the plugin system

Copy link
Contributor

🚀 Snapshot Release (alpha)

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

Package Version Info
@graphql-yoga/plugin-response-cache 3.3.0-alpha-20240116141116-a54d4496 npm ↗︎ unpkg ↗︎

Copy link
Contributor

💻 Website Preview

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

@n1ru4l n1ru4l merged commit 3f2d2c5 into main Jan 16, 2024
4 of 5 checks passed
@n1ru4l n1ru4l deleted the docs-plugin-api branch January 16, 2024 14:14
Copy link
Contributor

✅ 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% ✓ 409232      ✗ 0     
     data_received................................: 1.6 GB  14 MB/s
     data_sent....................................: 83 MB   688 kB/s
     http_req_blocked.............................: avg=1.46µs   min=982ns    med=1.31µs   max=272.64µs p(90)=1.94µs   p(95)=2.14µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=140.3µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=376.14µs min=208.01µs med=332.1µs  max=17.89ms  p(90)=530.17µs p(95)=548.91µs
       { expected_response:true }.................: avg=376.14µs min=208.01µs med=332.1µs  max=17.89ms  p(90)=530.17µs p(95)=548.91µs
     ✓ { mode:graphql-jit }.......................: avg=281.15µs min=208.01µs med=260.07µs max=17.89ms  p(90)=289.18µs p(95)=300.62µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=559.92µs min=448.13µs med=529.83µs max=9.52ms   p(90)=569.3µs  p(95)=603.17µs
     ✓ { mode:graphql-response-cache }............: avg=358.63µs min=280.25µs med=339.14µs max=7.99ms   p(90)=369.4µs  p(95)=379.92µs
     ✓ { mode:graphql }...........................: avg=368.97µs min=285.93µs med=335.77µs max=12.76ms  p(90)=378.61µs p(95)=426.2µs 
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 204616
     http_req_receiving...........................: avg=32.52µs  min=16.2µs   med=32.46µs  max=992.8µs  p(90)=37.93µs  p(95)=40.01µs 
     http_req_sending.............................: avg=8.35µs   min=5.9µs    med=7.46µs   max=300.61µs p(90)=10.93µs  p(95)=11.68µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=335.26µs min=176.53µs med=291.68µs max=17.79ms  p(90)=489.05µs p(95)=505.84µs
     http_reqs....................................: 204616  1705.111244/s
     iteration_duration...........................: avg=581.6µs  min=372.14µs med=534.13µs max=18.44ms  p(90)=739.08µs p(95)=761.35µs
     iterations...................................: 204616  1705.111244/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.

1 participant