Command Caching Analysis

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46929
    Profile photo of Luke Griffith
    Luke Griffith
    Participant

    Hello Everybody,

    I've been trying to search online and in the numerous books I have on powershell, but can't find any details of how the command caching analysis works.

    Does anyone have any experience with troubleshooting this functionality? I'm seeing massive IO, and huge delays since moving to WMF5 on auto complete and auto module loading.

    I know the Module Manifest can be used to reduce this, by explicitly stating functions to export. Without this how does the engine process the internals of the module is it through an import and reflection of the module its self?

    Any help would be awesome 🙂

    #46937
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Without a manifest, the module must be entirely parsed. That does add a lot of overhead. It isn't reflection; it's essentially a temporary import.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.