hi can any one tell me the procedure , procedure to optimize the code , to increase the efficiency & reduce the number of lines.
Subject: procedure to optimize the code
A number of years ago we found some code called StopWatch with it you could add WatchStart and Stops around blocks of code and find out how long they took to execute. I can’t locate my copy of it at the moment, but I believe it was in the Sandbox. But do a little searching around and I’m sure that you will find it. We were able to get an agent to run some 30 - 40% faster by using different LS code structures to perform different tasks. It was really pretty amazing.
Subject: procedure to optimize the code
Hope this helps -
Subject: RE: procedure to optimize the code
Note that the agent profiler stuff, which is awesome, is only available for ND7. If you’re not on ND7 but have a test server/client running it, and if your code is portable enough that you could throw it on this box, then you can still take advantage of the profiler.
regards,
raphael