Script execution time.

Hi All,

Is there any way to evaluate the execution time for particular script?

Or any method in j2db.jar library which will return aprox. execution time.

PLaese reply if any idea related to above.

Thanks
DP

Why don’t you just add

var vStart = new Date();

at the beginning of your method and

var vDuration = new Date() - vStart;
application.output('Method took ' + vDuration + ' ms');

at the end of your method.