I have created few requirement routines to apply custom condition types depending on the criteria met. It works fine in development box and there is not much data but it takes long time to process shipment cost creation. I tried debugging the code and the code written in routine is not taking long time but it is called for all the sub items which are more than 100 .
Is the performance issue due to number times the routine is getting executed or it can be any other issue. I am debugging the code to find where its taking time
Please let me know if anybody has faced similar issue.