If you just need to do this as a one-off you could either use xdebug
to profile a request or strace
on the process with timing enabled. A more crude method to time this would be to compare microtime()
values before/after the call.
How to determine reponse time of fsockopen()
Frage
I am developing a project in which i am creating a socket using fsockopen()
in a php script to connect to a java server on the same machine only.
Is there anyway to know time it takes for a response to be returned for a request made to the java server ?
sorry for the bad english..an yhelp or guidance appreciated
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow