Reduce the time for CLI startup #2795
naveen521kk
started this conversation in
Suggestions and Proposals
Replies: 2 comments
-
|
@naveen521kk is there any explanation as to why |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's been like that forever. Someone should change it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description of the proposed feature
Currently, when running
manimexecutable or module using (py -m manim), the whole module is imported which is large and takes a lot of time. I propose to move all the CLI handling stuff (iemanim.cli) to a new module calledmanim_cliwhich would not import manim until the command line arguments are parsed. By doing so, we can reduce the startup time.How can the new feature be used?
Reduce the time to load
manimcommand. If someone just wanted to see the help this would reduce the time they wait becausemanimwouldn't be imported in that case.Additional comments
We would need to move the main module to
srcstructure for this to work.Beta Was this translation helpful? Give feedback.
All reactions