Message4363
600x slower network download speed with urllib.urlretrieve() or
urllib2.urlopen() compared to CPython
When I run the attached script using Jython 2.5b0 or Jython 2.5b3, it
performs file downloads 600 times slower than it does when running under
CPython. I had to write a Java class in order to accomplish the same
thing, because it was so slow in Jython.
I have not tried it with any other versions of Jython.
There may not be as much of a difference on a slow network connection,
but on a fast network connection, it took me about 600 seconds to
download a 16MB file vs 1 second with CPython. I tried downloading
using HTTP and FTP protocols.
Just thought somebody might be interested. |
|
Date |
User |
Action |
Args |
2009-03-27 23:50:06 | dregan | set | recipients:
+ dregan |
2009-03-27 23:50:06 | dregan | set | messageid: <1238197806.22.0.990234426118.issue1290@psf.upfronthosting.co.za> |
2009-03-27 23:50:06 | dregan | link | issue1290 messages |
2009-03-27 23:50:05 | dregan | create | |
|