-
Notifications
You must be signed in to change notification settings - Fork 904
Description
Environment
Motia Version: Motia 0.12.0-beta.157, Node Version: v22.21.0, OS: Mac
Steps to Reproduce
- Create or use an existing Motia project
- Add several endpoints/modules
- Restart the dev server using motia dev
- Observe that startup duration increases as more endpoints are added
Expected Behavior
The project should initialize faster, or the startup process should scale more efficiently as the number of endpoints grows
Actual Behavior
Startup takes a long time, and the delay increases noticeably with more endpoints.
motia.mov
Relevant Logs/Console Output
Screenshots
No response
Motia Version
Motia 0.12.0-beta.157
Additional Context
I noticed a performance issue related to project startup time in Motia.
When restarting the Motia project, it takes a significantly long time to fully start.
In setups with more endpoints and modules enabled, the startup time becomes even longer. The large number of endpoints appears to increase initialization time considerably, which affects developer productivity and slows down the feedback loop during development.
We are still at the starting point of our application, and even now the project takes a long time to initialize when starting or restarting. This raises concerns about future scalability because as the project grows, the initialization time may become even slower, impacting development workflow and overall performance.