cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Performance optimization: Reduction of frequent reloading of PowerShell scripts in the data standard

Performance optimization: Reduction of frequent reloading of PowerShell scripts in the data standard

Currently, the PowerShell scripts and modules in the Data Standard are frequently reloaded by the system—sometimes even twice for each action. For example, before every command execution via Data Standard (e.g., editing a file datasheet), all PowerShell scripts are reloaded twice.

During the development phase, this is convenient because the application doesn't need to be restarted after modifying the scripts. However, in later stages of operation, this becomes unnecessary. Especially in more complex environments, loading the scripts and modules can take a considerable amount of time, significantly slowing down performance. Over the course of a workday, these PowerShell scripts are reloaded very frequently.

 

I believe it would be beneficial to make this behavior configurable. This way, we can retain the current behavior during development but avoid redundant script loading in regular operation

1 Comment
luca_henniges
Enthusiast

Love this Idea! This should have been introduced a long time ago.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea