Posted by niftyhawk on 10/22/29 11:43
Sorry, My Bad..
Here's the complete output:
The Local System Performace signifies that my curl code is pulling
stuff out a website running on local system.
The Remote System Performace signifies that my curl code is pulling
stuff out a website running on a remote system.
The remote system performance is faster.. eventhough i tweaked a lot of
curl, i am still unable to figure out why it is so slow on the local
machine.. :(
Local SYSTEM Performance
====================
Array ( [url] => http://abc.com/share/xyz.dll?Logon [content_type] =>
text/html [http_code] => 200 [header_size] => 952 [request_size] => 305
[filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0
[total_time] => 0.052765 [namelookup_time] => 0.000145 [connect_time]
=> 0.000797 [pretransfer_time] => 0.000897 [size_upload] => 0
[size_download] => 84 [speed_download] => 1591 [speed_upload] => 0
[download_content_length] => 0 [upload_content_length] => 0
[starttransfer_time] => 0.052367 [redirect_time] => 0 )
Array ( [url] => http://abc.com/share/default.asp?v= [content_type] =>
text/html [http_code] => 200 [header_size] => 357 [request_size] => 425
[filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0
[total_time] => 2.757411 [namelookup_time] => 4E-05 [connect_time] =>
0.000555 [pretransfer_time] => 0.000664 [size_upload] => 0
[size_download] => 29654 [speed_download] => 10754 [speed_upload] => 0
[download_content_length] => 29654 [upload_content_length] => 0
[starttransfer_time] => 2.754259 [redirect_time] => 0 )
Remote System PERFORMANCE (This is very fast for some reason)
=============================================================
Array ( [url] => http://xyz.com/share/xyz.dll?Logon [content_type] =>
text/html [http_code] => 200 [header_size] => 863 [request_size] => 307
[filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0
[total_time] => 0.116149 [namelookup_time] => 5.8E-05 [connect_time] =>
0.034908 [pretransfer_time] => 0.034969 [size_upload] => 0
[size_download] => 213 [speed_download] => 1833 [speed_upload] => 0
[download_content_length] => 0 [upload_content_length] => 0
[starttransfer_time] => 0.115845 [redirect_time] => 0 )
Array ( [url] => http://xyz.com/share/default.asp?v= [content_type] =>
text/html [http_code] => 200 [header_size] => 311 [request_size] => 445
[filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0
[total_time] => 0.870313 [namelookup_time] => 4.8E-05 [connect_time] =>
0.034595 [pretransfer_time] => 0.034689 [size_upload] => 0
[size_download] => 30134 [speed_download] => 34624 [speed_upload] => 0
[download_content_length] => 30134 [upload_content_length] => 0
[starttransfer_time] => 0.756889 [redirect_time] => 0 )
[Back to original message]
|