Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program Execution Time

Former Member
0 Likes
506

Hi,

I have two abap programs and i want to compare execution times for both of them. How do i do that?

Thanks,

Sandeep

4 REPLIES 4
Read only

Former Member
0 Likes
478

Hi,

Check the transaction <b>STAT</b>.

Regards,

Azaz Ali.

Read only

former_member186741
Active Contributor
0 Likes
478

If you only want to compare execution times you can run them both in batch and the logs will show you the run times. If you want to compare in more detail use transaction SE30 to run each of your programs. This will tell you how cpu times compare and will indicate hotspots within each program, eg bad areas of code or bad sql use etc.

Read only

aris_hidalgo
Contributor
0 Likes
478

Hi Sandeep,

If you want to compare your programs you can run them in background so when it is finished it will show you how long it took for your programs to finish.

Hope this helps...

P.S. Please award points for useful answers.

Read only

Former Member
0 Likes
478

HI,

GO to SE30 , THEN GO FOR TIPS& Tricks . Paste your code in the two sections and execute .You will be shown how much each program has taken side by side.

Regards,

Prasad