Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

[SOLVED]How can I know the execution time of each request

use microtime(true) in index.php?

Thanks.



84.4k
Accepted
answer

You can use apache bench http://en.wikipedia.org/wiki/ApacheBench, or simply add a microtime() (http://www.php.net/manual/en/function.microtime.php) before start the request and another after ending it.