PoshFunctions icon indicating copy to clipboard operation
PoshFunctions copied to clipboard

Bundle on build & publish for better performance

Open o-l-a-v opened this issue 10 months ago • 0 comments

Context

Importing the module takes a long time, everything from 2-8 seconds in my short testing. This can be greatly improved by bundling all functions into a single .psm1 file, rather than foreach dot source.

Resources on best practice for perf:

Request

Consider doing a build / bundle step in the release pipeline to bundle these files into one single *.psm1?

Some relevant tools:

o-l-a-v avatar Mar 20 '25 13:03 o-l-a-v