You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, first of all: thanks for re-frame-10x. Very useful.
That said, team adoption is hindered by performance issues.
With the subs tab open, typing into any input field is so slow that it becomes unusable.
Even with the subs tap not showing, performance is affected quite significantly.
Use Chrome's Profiler I think I found one reason for 10xs slowness: Garden CSS.
Here's a snapshot of how much time is actually spent on compiling, expanding and setting CSS.
For some traces, it seems re-com is responsible for a lot of new CSS creation on every render, but it seems 10x is using it directly as well.
So my proposal is to use something like TailwindCSS or another standard static CSS library to avoid the performance hit or maybe figure out why garden.do_compile runs for every keystroke (i.e. re-render)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there, first of all: thanks for re-frame-10x. Very useful.
That said, team adoption is hindered by performance issues.
With the
subs
tab open, typing into any input field is so slow that it becomes unusable.Even with the
subs
tap not showing, performance is affected quite significantly.Use Chrome's Profiler I think I found one reason for 10xs slowness: Garden CSS.
Here's a snapshot of how much time is actually spent on compiling, expanding and setting CSS.
For some traces, it seems re-com is responsible for a lot of new CSS creation on every render, but it seems 10x is using it directly as well.
So my proposal is to use something like TailwindCSS or another standard static CSS library to avoid the performance hit or maybe figure out why
garden.do_compile
runs for every keystroke (i.e. re-render)Beta Was this translation helpful? Give feedback.
All reactions