honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
20.38k stars 584 forks source link

perf(types): rm conditions to get better performance #3439

Closed m-shaka closed 1 month ago

m-shaka commented 1 month ago

The author should do the following, if applicable

Instantiation ave dropped by more than 10%(3,438,492->2,997,759)

image
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.77%. Comparing base (66df4e1) to head (48c50e9). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3439 +/- ## ======================================= Coverage 95.77% 95.77% ======================================= Files 155 155 Lines 9310 9310 Branches 2759 2730 -29 ======================================= Hits 8917 8917 Misses 393 393 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

yusukebe commented 1 month ago

@m-shaka

Wow. Great! Thanks to perf-measures/type-check. Merging. Thanks.