Site Admin
|
Technically it's possible but it may dramatically slowdown the execution. After all, call stack won't help you with optimizing the DB queries. Our profiler did its good job for you and pointed out to the bottleneck. For now, what you need is to turn on mysql_slow.log. See log-slow-queries setting in my.cnf. You can specify for example to log all queries that take more than 1sec and optimize them... but it definitely falls beyoud PhpED tasks. At least at the moment!
|
||||||||||||
_________________ The PHP IDE team |
|
I've been using mysql-slow-log for a long time and I'm really happy with it about hunting down slow queries. I even added a call stack tree (from debug_backtrace) as mysql comment in front of each query, so it's possible to exactly see where the query originates - in a debugging environment of course
The thing is - not all our queries can be fully optimized by setting / using indices etc. and I also like to work the other way round which means, I have a specific page and wonder why it's slow. Then I start the profiler for this specific page in order to see the bottlenecks. "tail -f"'ing the mysql-slow-log all the time and hoping not to miss the specific query is somewhat cumbersome if you know what I mean But well, I understand about the execution slowdown and I'm still happy with your profiler |
||||||||||||
|
Site Admin
|
probably, slow-log can be turned on durding run-time for a specific connection, right? In this case you'd not miss your queries. |
||||||||||||||
_________________ The PHP IDE team |
plans on improving the profiler |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by