You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pkg_resources module import load takes a long time (~100ms on my machine) in CLI startup. It would be preferable not to import pkg_resources for every cli execution to avoid the cost of importing pkg_resources. This also means not calling iter_entry_points for every cli execution, so we need to cache the results of iter_entry_points execution as well: either the entry point names or the results of loading the entry points. For the sake of speed, it's acceptable to require an extra step to update the cache for new installs after first running a newly-installed owm, however the first run of owm should not require any extra steps other than the normal install procedures to run successfully with all sub-commands and hits available.
The text was updated successfully, but these errors were encountered:
The pkg_resources module import load takes a long time (~100ms on my machine) in CLI startup. It would be preferable not to import pkg_resources for every cli execution to avoid the cost of importing pkg_resources. This also means not calling iter_entry_points for every cli execution, so we need to cache the results of iter_entry_points execution as well: either the entry point names or the results of loading the entry points. For the sake of speed, it's acceptable to require an extra step to update the cache for new installs after first running a newly-installed
owm
, however the first run ofowm
should not require any extra steps other than the normal install procedures to run successfully with all sub-commands and hits available.The text was updated successfully, but these errors were encountered: