Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Less execution time when setting up a break-point !

$
0
0

Hi all,

 

I'm testing performance in some ABAP code (in a Web dynpro component), I encountered a strange behavior:

I have the following simplified code:

 

" Many select statements


loop at lt_str assigning <lfs_str>.

 

     " Some simple operations

 

     authority-check object 'AUTH_OBJ'

              id 'GRP' field lv_group

              id 'ACTVT' field '03'.


endloop.


Execution time is about 8 seconds normally, but when I place a break-point just before the loop statement and I continue execution rapidly, the same code is executed in about 5 seconds! I'm talking about the execution of the loop statement only.


I tried replacing the break-point by a WAIT UP TO '0.5' SECONDS statement, but it doesn't have the same effect.

Maybe something is related to a database commit...


For information, the loop is executed about 11000 times.

What did this break-point changes? Something related to ABAP runtime or Web dynpro framework maybe?


Any help is welcome.

Thanks and kind regards,

Amine Abida.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>