Skip to content

ScriptAnalyzer can be really slow #688

Closed
@lzybkr

Description

@lzybkr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions