cancel
Showing results for 
Search instead for 
Did you mean: 

Monitor Performance

itabhishek9
Participant
0 Kudos

Hi SDNites,

I have a cascade mapping which is taking almost half an hr. to exexcute and I believe it requires JAVA mapping to be optimised. Can you please let me know how can I make sure which cascade mapping takes how much time to execute.

Also can you please share some standards which needs to be  followed to optimise JAVA mappig.

Regards,

Abhishek

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

Alternatively, performance monitoring tool give processing time

NWA > SOA > Monitoring > Performance Monitoring (use advanced selection for drill drown)

Regards,

Nikhil Bose

arunneerolil
Contributor
0 Kudos

Abhishek,

You can test the mapping individually in the ESR and find out the consumed time.

May be you will have to create operation mapping if the there are intermediate structures.

Another option will be to calculate the execution time in the each of the java mappings and write it in the mapping trace.

Below code can be used. This should be put in the 'transform' method.

final long startTime = System.currentTimeMillis();

//Execute Mapping methods

final long endTime = System.currentTimeMillis();

getTrace().addInfo("Total execution time: " + (endTime - startTime));

regards,

Arun