How to find my code execution time?
I am using the below snippet.
I am not happy with that?
list ($msec, $sec) = explode(\' \', microtime()); $mi
In LINUX:
time php -r "echo 'hello';"
output:
hello real 0m0.095s user 0m0.033s sys 0m0.055s
time php hello.php
hello real 0m0.073s user 0m0.025s sys 0m0.047s