Trace - Analysis Mysql And Php Function


I develop a complex site with many queries and function calls, but is too slow

I find a way to display sql queries by Yii log - trace system and consuming time of queries but I cannot find in which function executes these query.

Also I cannot found an easy way to trace the consuming time of each method

So, is there way (or better Yii way) to full analize (tracing) and find the high consuming functions? I want to improve the performance

Many Thanks!

Someone please?

Take a look at this extension.

Thanks zaccaria with a vote :)