Skip to content

Add-Type call on module load adds ~0.3 - 0.4s to load time #30

Description

@cspotcode
> pwsh -nop -c 'import-module pansies'
Loading DLL
00:00:00.0432533
Remaining .psm1 logic, which includes calling C# compiler
00:00:00.4472917

Could be ported to a DLL which is conditionally loaded, avoiding the compile step on startup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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