Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Rasa CLI start-up time #4280

Closed
federicotdn opened this issue Aug 19, 2019 · 2 comments · Fixed by #8141
Closed

Improve Rasa CLI start-up time #4280

federicotdn opened this issue Aug 19, 2019 · 2 comments · Fixed by #8141
Labels
area:rasa-oss/cli Issues focused on the rasa command-line-interface area:rasa-oss 🎡 Anything related to the open source Rasa framework type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style.

Comments

@federicotdn
Copy link
Contributor

Rasa version: master

Python version: 3.5, 3.6, 3.7

Operating system (windows, osx, ...): GNU/Linux, macOS, Windows

Issue:

After a fresh rasa install, the rasa CLI can take up to 1.5 seconds (on my system) to show any output, even when no action has been specified (e.g. rasa --help). For workflows that involve running the rasa command various times, this can be an inconvenience. We should aim to lower the start-up time for the CLI to under 1 second, or another set number that users will be comfortable with.

Related to: #4248 and #3010.

Tools that could be useful:

@federicotdn federicotdn added type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework and removed type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. labels Aug 19, 2019
@stale
Copy link

stale bot commented Feb 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@koaning
Copy link
Contributor

koaning commented May 19, 2020

During a recording I just noticed 10+ seconds. Now, we need to be careful here because the recording is most likely influencing the timing but it seems like Rasa currently can take an order of magnitude more than the 1.5 seconds mentioned in the issue.

@alwx alwx added area:rasa-oss/cli Issues focused on the rasa command-line-interface and removed type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR labels Jan 29, 2021
@tmbo tmbo mentioned this issue Mar 8, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss/cli Issues focused on the rasa command-line-interface area:rasa-oss 🎡 Anything related to the open source Rasa framework type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants