Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple Tabs vs. One Long Script

Hi, Is anyone aware that there is a performance difference between dividing your script on multiple tabs and having just one long script on one tab in the script editor?

Inrterested in your observations. Thanks, Dave.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi Dave,

There is not. Tabs are only visual aids to help you in the development process. The script is always run from the first line in the first tab on the left to the latest line in the latest tab on the right, sequently. Actually, if you either export the script or run in Debug mode you will see how there is a //$tab indicator with the name of the tab, but apart from that, all goes from top to down line by line.

Hope that helps.

Miguel

View solution in original post

3 Replies
ekech_infomotio
Partner - Creator II
Partner - Creator II

The impact of having your load-script divided on multiple tabs shouldn't be measurable.

I won't exchange an easy overview for assumably some picoseconds.

In the past I've had some very large load-scripts but performance-gaps were never through tabs but through inefficent loading-statements or joins.

Greetings,

Edgar

Miguel_Angel_Baeyens

Hi Dave,

There is not. Tabs are only visual aids to help you in the development process. The script is always run from the first line in the first tab on the left to the latest line in the latest tab on the right, sequently. Actually, if you either export the script or run in Debug mode you will see how there is a //$tab indicator with the name of the tab, but apart from that, all goes from top to down line by line.

Hope that helps.

Miguel

Not applicable
Author

Thanks for the reply Edgar. I was thinking there shouldn't be a difference, but good it's to know for sure.