[New-bugs-announce] [issue8238] Proxy handling

Ciprian Trofin report at bugs.python.org
Fri Mar 26 08:33:15 CET 2010


New submission from Ciprian Trofin <ciprian.trofin at ktd.ro>:

After I installed Python 2.6.5, I noticed a drop in performance of web connections via proxy.

This script:
---------------------------------------------------------
import time
import urllib2

timeMark = time.time()
opener = urllib2.build_opener()
textWeb = opener.open("http://www.google.com/").read()
print time.time() - timeMark
---------------------------------------------------------

takes about 60 seconds to complete (consistently)

The same script, run using Python 2.6.2 is completed in less than 1 second  (0.2seconds)

The test system:
- Windows XP SP3
- internet connection via corporate connection, using a proxy (the proxy is set in Control Panel - Internet Options etc)

----------
components: None
messages: 101742
nosy: ciprian.trofin
severity: normal
status: open
title: Proxy handling
type: performance
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8238>
_______________________________________


More information about the New-bugs-announce mailing list