How to Check the Load/Performance Impact of Project Library Scripts on the Ignition Gateway?

I have a script called Stale in project library now I want to monitor the script on gateway.

How Can I Measure How Much Load My Scripts Are Putting on the Gateway?

Best Way to Monitor Script Execution Load in Ignition Gateway.

Methods to Check Script Performance and Gateway Usage in Ignition.

on the gateway if you go to the diagnostics tab there should be a tab called scripts where you should be able to see some additional information on the running scripts. there is also a spot to check gateway CPU usage in the overview of the diagnostics tab.

you could also use a logger to help track the script system.util.getLogger | Ignition User Manual

if you're looking to check script performance you could use this \/

Get rid of that import system, you should never import libraries from within a function, only within the module itself. Importing libraries within functions causes unnecessary performance impacts. However, you should never import the system library itself. This is *always available (except under certain circumstances pre v8.3)

Re the OP, you can check timer and other gateway event scripts execution stats from the Web portal. This function doesn't look like it's doing much though

Note: there is a difference between ignition's system library, and the Java System library, as used in Phil's post.