LotusScript agents often include code that loops through sets of documents.
Sometimes, it doesn’t make much difference to end users if an individual agent takes one or ten seconds to run — but what if a WebQueryOpen agent on a Web site has to run 50 times per minute? What if the agent has to loop through a hundred thousand documents?
In such scenarios, the seconds add up and affect overall system performance. If I write the most efficient looping code possible and agent performance is slower than
I expect, then I know to look elsewhere to improve the execution speed.