Is there a question, here? We can't debug your code without seeing your code and, even then, it's unlikely somebody is going to do that.
XDebug profiling is generally your friend for this sort of thing. Also, check your
SQL queries - are you querying huge tables and missing indexes? 'Explain' is your friend in that case.