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

IDAES command is slow again #1161

Open
eslickj opened this issue Apr 3, 2023 · 1 comment
Open

IDAES command is slow again #1161

eslickj opened this issue Apr 3, 2023 · 1 comment
Assignees
Labels
Priority:Normal Normal Priority Issue or PR

Comments

@eslickj
Copy link
Member

eslickj commented Apr 3, 2023

The idaes command line interface is slow again. It takes about 1.5 seconds to import stuff on my computer. This probably means it's importing extra stuff again. It should be pretty much instant. The delay is annoying.

@lbianchi-lbl lbianchi-lbl added Priority:High High Priority Issue or PR Priority:Normal Normal Priority Issue or PR and removed Priority:High High Priority Issue or PR labels Apr 6, 2023
@lbianchi-lbl
Copy link
Contributor

We should look into:

  • Profiling imports to see if there's any obvious offender (python -X ...?)
  • Reducing imports for the CLI (idaes --version shouldn't import much if anything)
  • Keep track of the runtime for CLI and/or import idaes to avoid regressions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants