Where is the code that takes 30 sec to process ? Need to see how you are processing it.