-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Client components are very slow and cause stack overflow #3264
Copy link
Copy link
Closed
Labels
Description
What version of Hono are you using?
4.5.4
What runtime/platform is your app running on?
Chrome
What steps can reproduce the bug?
Here's the full benchmark reproduction.
krausest/js-framework-benchmark#1723
Hono is much slower than Solidjs, the reference fast framework. The current result makes Hono the slowest JS framework. Up to 100 times slower in a medium number of components, and the browser stack overflows when the number of components is high (benchmarks fail).
The profiler confirms the inefficient implementation of client components in Hono.
What is the expected behavior?
Have an acceptable performance, at least on par with React.
https://krausest.github.io/js-framework-benchmark/2024/table_chrome_127.0.6533.72.html
What do you see instead?
Use other frameworks like Solidjs for client components.
Additional information
No response
Reactions are currently unavailable

