Replies: 2 comments
-
|
Hey! 👋 Crystal is generally known for its slow compilation times, so related optimizations should primarily be addressed at the language level. Forcing users to explicitly require individual parts of the framework goes against its philosophy and is unlikely to ever happen, to be honest. Additionally, most features rely on plugins that are already implemented as separate shards, such as cache stores, session stores, file storage, email backends, and so on. |
Beta Was this translation helpful? Give feedback.
-
|
Just a quick note for me (no action required): I got some tips that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the build time for the primitive application in GitHub Actions is around 20 minutes and 15 minutes with cache.
In my app, I’m not using all features provided by Marten—for example, storage or image field types.
I'm wondering if there’s something that can be done within the core Marten framework to load only the necessary files and dependencies.
I believe breaking the framework into smaller, optional components that can be added as needed would help optimize load times by including only the essentials.
Example of my current shard.yml:
Beta Was this translation helpful? Give feedback.
All reactions