the overwhelming majority of the execution time of...
# suitescript
j
the overwhelming majority of the execution time of your scripts is database i/o, i.e. loading / searching / saving records also it's worth noting that when executing your scripts, anything declared with
var
effectively gets moved to the top of the surrounding function, even if it's inside a conditional see https://developer.mozilla.org/en-US/docs/Glossary/Hoisting
👍 2
1000 1