function to profile / performance test PHP functions?
Posted
by Haroldo
on Stack Overflow
See other posts from Stack Overflow
or by Haroldo
Published on 2010-05-15T08:55:02Z
Indexed on
2010/05/15
9:04 UTC
Read the original article
Hit count: 154
php
I'm not experiencing any performance issues, however I'd like to take a look at what takes how long and how much memory cpu it uses etc.
I'd like to get a firsthand understanding of which things can be bottle necks etc and improve any code i might reuse or build upon... (perfectionist)
I'm looking to create a litte function that i can call at the begining and end of each function that records:
- execution time
- memory used
- cpu demand
any ideas?
© Stack Overflow or respective owner