Replies: 2 comments
-
Thanks for sharing! I haven't tried running derailed-benchmarks in awhile, but I'm curious what the Could you elaborate on what you mean by this?
As in, don't require (load) it in development, but do load it in production? If that is the case, you might be able to do that via the Gemfile, ie |
Beta Was this translation helpful? Give feedback.
-
@technicalpickles here's a larger snippet of some of the largest memory footprint gems:
To expand on this:
what i mean is, what is the essential functionality that must be loaded in production, to make packs work (loading files from directories, etc) and what could be loaded only when needed in development, e.g. cli, code_ownership, sorbet (if we're not using that), etc. |
Beta Was this translation helpful? Give feedback.
-
I notice from derailed-benchmarks that this takes a chunk of memory - is there any way that the gem could be configured to only load the runtime required parts in production?
Beta Was this translation helpful? Give feedback.
All reactions