on 10-02-2015 2:48 PM
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
Alternatively, performance monitoring tool give processing time
NWA > SOA > Monitoring > Performance Monitoring (use advanced selection for drill drown)
Regards,
Nikhil Bose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.