Link to home
Start Free TrialLog in
Avatar of Robson
RobsonFlag for Poland

asked on

How to measure execution time?

In my MySQL based page I perform series of database queries in very simple manner, not thinking about optimizing. I'd like to measure execution time of this piece of code on server side to detect whether non-optimized code is slowing my page or not.

How do I do it in PHP?
ASKER CERTIFIED SOLUTION
Avatar of pantherchen
pantherchen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Robson

ASKER

Thanks! My script takes 0.1 s on average -- quite fast.
Avatar of pantherchen
pantherchen

with db-accesses? that really fast :)