okta / okta-powershell-cli

Powershell CLI for communicating with the Okta API
Other
15 stars 4 forks source link

slow startup time #41

Open gabrielsroka opened 3 months ago

gabrielsroka commented 3 months ago

possibly due to verifying code signatures.

in a new shell:

Measure-Command {Get-OktaConfiguration}

Seconds           : 11

i removed the code signatures and it starts right away.

maybe combine the 760+ files into 1 (or 4, 1 per directory), so it has fewer signatures to verify. https://github.com/okta/okta-powershell-cli/blob/551fa3388a6e4aa80501470fb192eb7cf1db80b1/src/Okta.PowerShell/Okta.PowerShell.psm1#L27-L36

laura-rodriguez commented 3 months ago

Hi @gabrielsroka,

Thanks for reporting this issue. We'll keep an eye out of it and prioritize accordingly.