jasonrichardsmith Posted March 2, 2011 Share Posted March 2, 2011 I have currently developed a script that consumes a web service. It is running real slow. I think this is due to the web service provider. How do I diagnose/measure this? Link to comment https://forums.phpfreaks.com/topic/229392-web-services-measuring-bottleneck/ Share on other sites More sharing options...
btherl Posted March 2, 2011 Share Posted March 2, 2011 You can record the system time before and after the request, then subtract the start time from the end time. http://php.net/manual/en/function.microtime.php Link to comment https://forums.phpfreaks.com/topic/229392-web-services-measuring-bottleneck/#findComment-1182080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.