Initiative: Reduce compilation time
- Dominant language
- Elixir
- Stars
- 2.5k
- Forks
- 422
- Avg merge
- 23h 26m
- Merged PRs (30d)
- 46
Description
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### AI Policy
- [x] I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
### Is your feature request related to a problem? Please describe.
Ash currently has 187 compilation cycles, which causes slower compilation time and most of the project to recompile for even small code changes.
This issue will be used to track the progress and for discussions on the changes.
### Describe the solution you'd like
Refactor modules to reduce compilation cycles
*Constraints*
- No impact to public apis
- No change in functionality
- Only convert from compile-time to runtime when absolutely necessary and runtime performance is not significantly impacted
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start by measuring the current 187 compilation cycles in the Ash project and identifying which modules cause broad recompilation. Done means compilation cycles are reduced without changing public APIs or functionality, while runtime performance remains acceptable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100