ardatan / feTS

🗹 TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience
https://the-guild.dev/openapi/fets
MIT License
629 stars 29 forks source link

Fix nested circular references #1824

Closed ardatan closed 2 months ago

ardatan commented 2 months ago

Fixes https://github.com/ardatan/feTS/issues/1823

github-actions[bot] commented 2 months ago

🚀 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.8.3-alpha-20240816010854-8266ce9b8d2821d0aff033d6a4d34484925f99e3 npm ↗︎ unpkg ↗︎
github-actions[bot] commented 2 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://0bf13c87.fets.pages.dev](https://0bf13c87.fets.pages.dev)
github-actions[bot] commented 2 months ago

✅ 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: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}

     checks......................................: 100.00% ✓ 878184      ✗ 0     
     data_received...............................: 80 MB   664 kB/s
     data_sent...................................: 56 MB   465 kB/s
     http_req_blocked............................: avg=1.59µs   min=892ns    med=1.54µs   max=313.12µs p(90)=2.03µs   p(95)=2.21µs  
     http_req_connecting.........................: avg=1ns      min=0s       med=0s       max=120.25µs p(90)=0s       p(95)=0s      
     http_req_duration...........................: avg=192.69µs min=130.01µs med=180.89µs max=9.24ms   p(90)=206.48µs p(95)=215.66µs
       { expected_response:true }................: avg=192.69µs min=130.01µs med=180.89µs max=9.24ms   p(90)=206.48µs p(95)=215.66µs
     ✓ { server:node-http,mode:json-schema }.....: avg=207.41µs min=150.96µs med=194.44µs max=9.24ms   p(90)=217.86µs p(95)=226.16µs
     ✓ { server:node-http,mode:no-schema }.......: avg=198.08µs min=141.3µs  med=182.83µs max=9.03ms   p(90)=206.23µs p(95)=216.07µs
     ✓ { server:uWebSockets,mode:json-schema }...: avg=186.84µs min=137.43µs med=176.83µs max=7.96ms   p(90)=198.36µs p(95)=204.97µs
     ✓ { server:uWebSockets,mode:no-schema }.....: avg=180.18µs min=130.01µs med=169.14µs max=7.72ms   p(90)=191.54µs p(95)=199.13µs
     http_req_failed.............................: 0.00%   ✓ 0           ✗ 439092
     http_req_receiving..........................: avg=23.44µs  min=13.48µs  med=22.99µs  max=2.09ms   p(90)=28.48µs  p(95)=30.45µs 
     http_req_sending............................: avg=9.07µs   min=5.28µs   med=9.18µs   max=332.95µs p(90)=12.01µs  p(95)=13.34µs 
     http_req_tls_handshaking....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting............................: avg=160.17µs min=102.51µs med=148.57µs max=9.16ms   p(90)=171.74µs p(95)=180.4µs 
     http_reqs...................................: 439092  3659.057792/s
     iteration_duration..........................: avg=268.36µs min=192.02µs med=255.74µs max=9.43ms   p(90)=284.51µs p(95)=296.08µs
     iterations..................................: 439092  3659.057792/s
     vus.........................................: 1       min=1         max=1   
     vus_max.....................................: 2       min=2         max=2