KB-27680: Scripts in WhileRunning event.

Question:

If the time set up at Run every x msec field in the WhileRunning event is decreased, will the application’s execution become faster or slower?

Solution:

First, we should note that it is not advisable to create scripts in the application’s  WhileRunning event, because this script will be executed continually as long as the application is running, thus impairing its processing.

This time, set up at WhileRunning event’s Run every x msec field, refers to how often the script must be executed. Thus, by decreasing this time, the script tends to be executed more times, which can hinder the application’s performance. When you increase this time it will be executed less times, which leads to a better performance.

The best course of action in this case is to try to insert these scripts into other events in the application. We suggest you create Chrono tags, and use OnPreset event to time the occurrence of any scripts.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *