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

Improve Swagger 2.0 support #355

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Improve Swagger 2.0 support #355

merged 2 commits into from
Jul 19, 2023

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented Jul 19, 2023

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 19, 2023

🚀 Snapshot Release (alpha)

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

Package Version Info
fets 0.4.4-alpha-20230719125901-62a0d2d npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Jul 19, 2023

💻 Website Preview

The latest changes are available as preview in: https://c74353c3.fets.pages.dev

@github-actions
Copy link
Contributor

github-actions bot commented Jul 19, 2023

✅ Benchmark Results

     ✓ no_errors{server:node-http,mode:no-schema}
     ✓ expected_result{server:node-http,mode:no-schema}
     ✓ no_errors{server:node-http,mode:json-schema}
     ✓ expected_result{server:node-http,mode:json-schema}
     ✓ no_errors{server:node-http,mode:zod}
     ✓ expected_result{server:node-http,mode:zod}
     ✓ no_errors{server:uWebSockets,mode:no-schema}
     ✓ expected_result{server:uWebSockets,mode:no-schema}
     ✓ no_errors{server:uWebSockets,mode:json-schema}
     ✓ expected_result{server:uWebSockets,mode:json-schema}
     ✓ no_errors{server:uWebSockets,mode:zod}
     ✓ expected_result{server:uWebSockets,mode:zod}

     checks......................................: 100.00% ✓ 876776      ✗ 0     
     data_received...............................: 80 MB   442 kB/s
     data_sent...................................: 55 MB   304 kB/s
     http_req_blocked............................: avg=2.12µs   min=1.1µs   med=1.7µs    max=2.86ms  p(90)=2.2µs    p(95)=2.6µs   
     http_req_connecting.........................: avg=7ns      min=0s      med=0s       max=1.44ms  p(90)=0s       p(95)=0s      
     http_req_duration...........................: avg=293.22µs min=160.6µs med=248.4µs  max=22.55ms p(90)=322.31µs p(95)=383.91µs
       { expected_response:true }................: avg=293.22µs min=160.6µs med=248.4µs  max=22.55ms p(90)=322.31µs p(95)=383.91µs
     ✓ { server:node-http,mode:json-schema }.....: avg=308.82µs min=192.2µs med=263.8µs  max=14.21ms p(90)=342.26µs p(95)=413.51µs
     ✓ { server:node-http,mode:no-schema }.......: avg=300.73µs min=176.5µs med=252µs    max=22.55ms p(90)=335.71µs p(95)=412.3µs 
     ✓ { server:node-http,mode:zod }.............: avg=304.22µs min=193µs   med=264.5µs  max=13.45ms p(90)=335.71µs p(95)=398.21µs
     ✓ { server:uWebSockets,mode:json-schema }...: avg=286.77µs min=177.8µs med=244.3µs  max=14.62ms p(90)=307.7µs  p(95)=362.21µs
     ✓ { server:uWebSockets,mode:no-schema }.....: avg=272.43µs min=160.6µs med=227.6µs  max=18.67ms p(90)=289.6µs  p(95)=340.61µs
     ✓ { server:uWebSockets,mode:zod }...........: avg=288.91µs min=177.5µs med=245.3µs  max=16.53ms p(90)=310.61µs p(95)=370.11µs
     http_req_failed.............................: 0.00%   ✓ 0           ✗ 438388
     http_req_receiving..........................: avg=28µs     min=14.2µs  med=23.8µs   max=11.42ms p(90)=34.4µs   p(95)=38.8µs  
     http_req_sending............................: avg=13.65µs  min=7.1µs   med=9.8µs    max=5.12ms  p(90)=19.3µs   p(95)=26.7µs  
     http_req_tls_handshaking....................: avg=0s       min=0s      med=0s       max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting............................: avg=251.56µs min=130.7µs med=210.4µs  max=22.03ms p(90)=274.9µs  p(95)=326.41µs
     http_reqs...................................: 438388  2435.460464/s
     iteration_duration..........................: avg=403.29µs min=236µs   med=353.41µs max=22.84ms p(90)=453.31µs p(95)=535.41µs
     iterations..................................: 438388  2435.460464/s
     vus.........................................: 1       min=1         max=1   
     vus_max.....................................: 2       min=2         max=2   

@ardatan ardatan merged commit b5f0c17 into master Jul 19, 2023
20 checks passed
@ardatan ardatan deleted the fix-swagger-support branch July 19, 2023 12:59
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