IDAES/idaes-pse

IDAES command is slow again

Opened this issue · 1 comments

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.

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