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
We're seeing files inside lib/primer/forms/ being lazily-loaded in a production environment. This is undesirable because it moves what should be boot time costs to users, is less friendly to Copy-on-Write memory and YJIT, and other issues.
Though also it seems like lib/ should not be an autoload directory at all, as other files are explicitly required. Maybe lib/primer/forms/ should be in app?
The text was updated successfully, but these errors were encountered:
We're seeing files inside
lib/primer/forms/
being lazily-loaded in a production environment. This is undesirable because it moves what should be boot time costs to users, is less friendly to Copy-on-Write memory and YJIT, and other issues.https://github.com/primer/view_components/blob/main/lib/primer/view_components/engine.rb#L12-L14
Though also it seems like
lib/
should not be an autoload directory at all, as other files are explicitly required. Maybelib/primer/forms/
should be in app?The text was updated successfully, but these errors were encountered: