
![]() |
m0nkeymafia
How do you guys profile your lamp sites?
I.e. the phpcode, mysql, htaccess redirects the lotFor small sites its easy,but if u have say 20-50 queries on a page, tons of things going on it can be really hard. I'm used to great profiling apps for windows and have no clue where to go for php.At the moment i simply use a simple timing script to estimate execution time, then profile any mysql queries by eye in phpmyadmin.So is there something i can easily use? Im unfortunately on shared hosting so dont have that much control over any installed server side apps. But i would love it if i could get a break down like $query = "" ...... - > 0.05% server time do {} while (); - > 5% server time and so forth so i can see which queries and or phpfunctions take up the most time etcCheers thedarkness
http://www.onlamp.com/pub/a/
php/2002/02/28/profilingphp.htmlPEARBenchmark package can help u get a handle on slow code.Cheers, td m0nkeymafia
Ta dude
|

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads