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

enhance(response-cache): use whatwg crypto #1623

Merged
merged 6 commits into from
Feb 3, 2023
Merged

enhance(response-cache): use whatwg crypto #1623

merged 6 commits into from
Feb 3, 2023

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Feb 1, 2023

No description provided.

@ardatan ardatan requested a review from n1ru4l February 1, 2023 17:42
@changeset-bot
Copy link

changeset-bot bot commented Feb 1, 2023

🦋 Changeset detected

Latest commit: af0e9f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@envelop/response-cache Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

🚀 Website Preview

The latest changes to the website are available as preview in: https://17a07bea.envelop.pages.dev

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

🚀 Snapshot Release (alpha)

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

Package Version Info
@envelop/response-cache 4.0.5-alpha-20230201175704-949ef48a npm ↗︎ unpkg ↗︎
@envelop/response-cache-redis 2.0.5-alpha-20230201175704-949ef48a npm ↗︎ unpkg ↗︎
@envelop/validation-cache 5.1.0-alpha-20230201175704-949ef48a npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator

theguild-bot commented Feb 1, 2023

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.............................................: 100.00% ✓ 639996      ✗ 0     
     data_received......................................: 2.4 GB  16 MB/s
     data_sent..........................................: 139 MB  927 kB/s
     envelop_total......................................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:prom-tracing }............................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     event_loop_lag.....................................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:prom-tracing }............................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     http_req_blocked...................................: avg=1.89µs  min=600ns   med=1.1µs  max=13.54ms p(90)=1.7µs   p(95)=2µs    
     http_req_connecting................................: avg=157ns   min=0s      med=0s     max=3.25ms  p(90)=0s      p(95)=0s     
     http_req_duration..................................: avg=4.37ms  min=161.6µs med=3.26ms max=74.2ms  p(90)=9.23ms  p(95)=14.98ms
       { expected_response:true }.......................: avg=4.37ms  min=161.6µs med=3.26ms max=74.2ms  p(90)=9.23ms  p(95)=14.98ms
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=3.8ms   min=395.9µs med=3.34ms max=42.82ms p(90)=6.11ms  p(95)=7.51ms 
     ✓ { mode:envelop-cache-jit }.......................: avg=2.24ms  min=161.6µs med=1.7ms  max=33.82ms p(90)=4.07ms  p(95)=7.22ms 
     ✓ { mode:envelop-just-cache }......................: avg=3.87ms  min=383µs   med=3.34ms max=67.66ms p(90)=6.49ms  p(95)=7.72ms 
     ✓ { mode:graphql-js }..............................: avg=6.72ms  min=635.3µs med=5.62ms max=53.16ms p(90)=10.93ms p(95)=12.42ms
     ✓ { mode:prom-tracing }............................: avg=17.77ms min=1.99ms  med=15.9ms max=74.2ms  p(90)=30.9ms  p(95)=31.89ms
     http_req_failed....................................: 0.00%   ✓ 0           ✗ 319998
     http_req_receiving.................................: avg=42.16µs min=9.79µs  med=18.2µs max=21.71ms p(90)=26.7µs  p(95)=33.6µs 
     http_req_sending...................................: avg=30.18µs min=4.1µs   med=6.5µs  max=35.67ms p(90)=12.1µs  p(95)=16.6µs 
     http_req_tls_handshaking...........................: avg=0s      min=0s      med=0s     max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...................................: avg=4.3ms   min=133.5µs med=3.21ms max=74.17ms p(90)=8.93ms  p(95)=14.91ms
     http_reqs..........................................: 319998  2133.091978/s
     iteration_duration.................................: avg=4.68ms  min=354.1µs med=3.51ms max=74.6ms  p(90)=9.71ms  p(95)=15.36ms
     iterations.........................................: 319998  2133.091978/s
     vus................................................: 10      min=10        max=10  
     vus_max............................................: 20      min=20        max=20  

@n1ru4l n1ru4l merged commit d50fa6f into main Feb 3, 2023
@ardatan ardatan deleted the use-whatwg-crypto branch December 2, 2024 09:20
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