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
From k0kubun/hamlit#139, I noticed that it took 2 seconds to compile one of our Rails templates, with much of the time spent looking up Kernel.class in Temple::Filter#dispatcher:
Can you provide an example template that takes 2 seconds to compile? It's hard to work on this without a benchmark target. Also, it's been four years since this was filed, so you may want to benchmark it again with the latest Ruby (3.2). It's also worth trying the same thing with YJIT enabled.
From k0kubun/hamlit#139, I noticed that it took 2 seconds to compile one of our Rails templates, with much of the time spent looking up
Kernel.class
inTemple::Filter#dispatcher
:temple/lib/temple/mixins/dispatcher.rb
Line 65 in 7987ab6
I'm not quite sure what this code is doing. Is there a way we can optimize this out?
The text was updated successfully, but these errors were encountered: