curl-library
RE: v7.30.0 is slower than v2.29.0 when I upload files with FTP
Date: Mon, 19 Aug 2013 21:43:31 -0400
On Monday, August 19, 2013 5:23 PM, MikeMio wrote:
>>I modified your ftpupload.c example to upload and time a set of files.
>>You can see the difference between versions clearly.
I am re-posting the results from my last post because I see that all the
linefeeds went missing and it was somewhat illegible.
Mike
===================================================
These are the results I see with the modified ftpget.c:
=================
------------------------
=================
BEGIN: 'libcurl/7.29.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/
mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 1.43994
'file1.txt' size: 7295 read 7295 Elapsed Time: 0.62429
'file2.txt' size: 7295 read 7295 Elapsed Time: 0.589603
'file3.txt' size: 7295 read 7295 Elapsed Time: 0.589663
'file4.txt' size: 7295 read 7295 Elapsed Time: 0.594933
'file5.txt' size: 7295 read 7295 Elapsed Time: 0.633527
'file6.txt' size: 7295 read 7295 Elapsed Time: 0.592577
'file7.txt' size: 7295 read 7295 Elapsed Time: 0.579882
'file8.txt' size: 7295 read 7295 Elapsed Time: 0.578211
'file9.txt' size: 7295 read 7295 Elapsed Time: 0.580956
'file10.txt' size: 7295 read 7295 Elapsed Time: 0.571157
'file11.txt' size: 7295 read 7295 Elapsed Time: 0.606134
Elapsed Time for all: High: 7.98088
Total Time: High: 0 Low: 8.09556
=================
BEGIN: 'libcurl/7.29.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/
mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 1.35272
'file1.txt' size: 7295 read 7295 Elapsed Time: 0.57774
'file2.txt' size: 7295 read 7295 Elapsed Time: 0.576571
'file3.txt' size: 7295 read 7295 Elapsed Time: 0.577777
'file4.txt' size: 7295 read 7295 Elapsed Time: 0.579752
'file5.txt' size: 7295 read 7295 Elapsed Time: 0.597366
'file6.txt' size: 7295 read 7295 Elapsed Time: 0.582459
'file7.txt' size: 7295 read 7295 Elapsed Time: 0.577308
'file8.txt' size: 7295 read 7295 Elapsed Time: 0.579557
'file9.txt' size: 7295 read 7295 Elapsed Time: 0.580751
'file10.txt' size: 7295 read 7295 Elapsed Time: 0.590834
'file11.txt' size: 7295 read 7295 Elapsed Time: 0.567829
Elapsed Time for all: High: 7.74067
Total Time:Low: 7.85675
=================
BEGIN: 'libcurl/7.30.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/
mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 2.29765
'file1.txt' size: 7295 read 7295 Elapsed Time: 1.34104
'file2.txt' size: 7295 read 7295 Elapsed Time: 1.40517
'file3.txt' size: 7295 read 7295 Elapsed Time: 1.32037
'file4.txt' size: 7295 read 7295 Elapsed Time: 1.31047
'file5.txt' size: 7295 read 7295 Elapsed Time: 1.31063
'file6.txt' size: 7295 read 7295 Elapsed Time: 1.32296
'file7.txt' size: 7295 read 7295 Elapsed Time: 1.32354
'file8.txt' size: 7295 read 7295 Elapsed Time: 1.31742
'file9.txt' size: 7295 read 7295 Elapsed Time: 1.32078
'file10.txt' size: 7295 read 7295 Elapsed Time: 1.31473
'file11.txt' size: 7295 read 7295 Elapsed Time: 1.31142
Elapsed Time for all: High: 16.8962
Total Time:Low: 17.0148
=================
BEGIN: 'libcurl/7.32.0 OpenSSL/1.0.0k zlib/1.2.8 libidn/1.18 libssh2/
mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 3.17875
'file1.txt' size: 7295 read 7295 Elapsed Time: 2.31883
'file2.txt' size: 7295 read 7295 Elapsed Time: 2.31994
'file3.txt' size: 7295 read 7295 Elapsed Time: 2.3173
'file4.txt' size: 7295 read 7295 Elapsed Time: 2.32381
'file5.txt' size: 7295 read 7295 Elapsed Time: 2.3171
'file6.txt' size: 7295 read 7295 Elapsed Time: 2.32718
'file7.txt' size: 7295 read 7295 Elapsed Time: 2.30788
'file8.txt' size: 7295 read 7295 Elapsed Time: 2.30961
'file9.txt' size: 7295 read 7295 Elapsed Time: 2.31843
'file10.txt' size: 7295 read 7295 Elapsed Time: 2.30817
'file11.txt' size: 7295 read 7295 Elapsed Time: 2.31527
Elapsed Time for all: High: 28.6623
Total Time:Low: 28.782
=================
BEGIN: 'libcurl/7.30.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/
mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 2.34051
'file1.txt' size: 7295 read 7295 Elapsed Time: 1.36425
'file2.txt' size: 7295 read 7295 Elapsed Time: 1.38852
'file3.txt' size: 7295 read 7295 Elapsed Time: 1.33263
'file4.txt' size: 7295 read 7295 Elapsed Time: 1.3185
'file5.txt' size: 7295 read 7295 Elapsed Time: 1.31753
'file6.txt' size: 7295 read 7295 Elapsed Time: 1.30698
'file7.txt' size: 7295 read 7295 Elapsed Time: 1.31956
'file8.txt' size: 7295 read 7295 Elapsed Time: 1.31884
'file9.txt' size: 7295 read 7295 Elapsed Time: 1.3197
'file10.txt' size: 7295 read 7295 Elapsed Time: 1.31781
'file11.txt' size: 7295 read 7295 Elapsed Time: 1.308
Elapsed Time for all: High: 16.9528
Total Time:Low: 17.0731
=================
BEGIN: 'libcurl/7.29.0 OpenSSL/1.0.0k zlib/1.2.7 libidn/1.18 libssh2/1.4.3
librt mp/2.3'
'file0.txt' size: 7295 read 7295 Elapsed Time: 1.35792
'file1.txt' size: 7295 read 7295 Elapsed Time: 0.579659
'file2.txt' size: 7295 read 7295 Elapsed Time: 0.602493
'file3.txt' size: 7295 read 7295 Elapsed Time: 0.571397
'file4.txt' size: 7295 read 7295 Elapsed Time: 0.580294
'file5.txt' size: 7295 read 7295 Elapsed Time: 0.579617
'file6.txt' size: 7295 read 7295 Elapsed Time: 0.581423
'file7.txt' size: 7295 read 7295 Elapsed Time: 0.589468
'file8.txt' size: 7295 read 7295 Elapsed Time: 0.598464
'file9.txt' size: 7295 read 7295 Elapsed Time: 0.589759
'file10.txt' size: 7295 read 7295 Elapsed Time: 0.579805
'file11.txt' size: 7295 read 7295 Elapsed Time: 0.592074
Elapsed Time for all: High: 7.80238
Total Time:Low: 7.92088
==========================
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-20