-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show] Moving some py imports inside specific cmds (#1202)
- Some py imports in show/main.py script are taking more time on arm cpu. - modules - pkg_resources, netaddr are taking around 500ms causing delay for all show cmds. - These modules are used by only specific cmds. So, I have included these imports only for the commands that are using them. Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
- Loading branch information
1 parent
fab84fb
commit d4eb2d9
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters