I am trying to find out how to optimize efs scripts, but couldn't seem to find anything in the documentation. I have a series of scripts that, over about two hours, have 284,465 calls and run for an average of 0.03448ms. Some scripts have a few calls (14) but are calc-intensive and run a long time (14.64ms average). Others have a lot of calls (56,250) but are quick (0.01372ms).
Then, I have Global Stat (addShape) making 6 calls and Global Stat (addTest) making 101,413 calls. Neither has any time and I assume these are drawing statements.
I use setComputeOnClose() where possible, and a number of other steps I've read about here. Generally speaking, optimizing code is just a matter of getting the numbers in Performance Monitor as low as possible? Also, what counts as a "call?" I see a big difference in the number of calls by script for my scripts that run on each tick. Thanks.
Then, I have Global Stat (addShape) making 6 calls and Global Stat (addTest) making 101,413 calls. Neither has any time and I assume these are drawing statements.
I use setComputeOnClose() where possible, and a number of other steps I've read about here. Generally speaking, optimizing code is just a matter of getting the numbers in Performance Monitor as low as possible? Also, what counts as a "call?" I see a big difference in the number of calls by script for my scripts that run on each tick. Thanks.
Comment