Skip to content

ScriptAnalyzer can be really slow #688

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

Closed
lzybkr opened this issue Jan 10, 2017 · 1 comment
Closed

ScriptAnalyzer can be really slow #688

lzybkr opened this issue Jan 10, 2017 · 1 comment

Comments

@lzybkr
Copy link

lzybkr commented Jan 10, 2017

I found one big performance problem - the method Microsoft.Windows.PowerShell.ScriptAnalyzer.Helper.GetCommandInfo is expensive, especially if a necessary module is not loaded.

This method should probably cache successful lookups.

@kapilmb
Copy link

kapilmb commented Feb 6, 2017

Incorporated suggestion in #692.

@kapilmb kapilmb closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants