code :
$t=microtime(true);
echo gethostbyname($_SERVER[REMOTE_ADDR]);

echo microtime(true)-$t;


result :
78.47.85.179

3.09944152832E-5