  | | | Running scripts are slow - newbie | Running scripts are slow - newbie 2005-05-23 - By kim aldis
Back It's worth pointing out here that in amongst all the command logging the logmessage isn't much more than a drop in the ocean. You'll need to turn of command loggin too to see any real difference.
It's also worth working only on 20 or so objects until you get your script up and running.
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Bernard Lebel Sent: 23 May 2005 20:55 To: XSI@(protected) Subject: Re: Running scripts are slow - newbie
First of all, I you have 1500 objects, you may not want to print their name. Each time you log a message it ads to the execution time. On a small bunch of object it doesn't matter that much, but on longer lists it may affect execution time significantly. If you really want a log message to show progress you may print such message only once every 10 or 100 objects. Only when the script is giving you troubles you will force it to print every object.
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|
 |