Package: python-requests
Version: 2.4.3-4
Severity: important

Hi,

the following results have been executed in docker containers on the same 
machine, just after having installed python-requests and paython3-requests. The 
reported results are the third of 3 consecutive runs.

  root@jessie:/# time python -c "import requests"

  real    0m0.720s
  user    0m0.684s
  sys     0m0.032s

  root@jessie:/# time python3 -c "import requests"

  real    0m0.138s
  user    0m0.120s
  sys     0m0.012s
 
  root@wheezy:/# time python -c "import requests"

  real    0m0.060s
  user    0m0.048s
  sys     0m0.008s

  root@wheezy:/# time python3 -c "import requests"

  real    0m0.087s
  user    0m0.064s
  sys     0m0.020s


Thus, as you may see, importing requests on Python2 on jessie is very slow.

This is really painfull since it make any python2 app usig requests very slow 
to start, 
for example I have a mercurial extension that uses python-requests, 
and in jessie, if I activate it, every hg call takes at least one second.


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-requests depends on:
ii  ca-certificates  20141019
ii  python-chardet   2.3.0-1
ii  python-urllib3   1.9.1-3
pn  python:any       <none>

Versions of packages python-requests recommends:
ii  python-ndg-httpsclient  0.3.2-1
ii  python-openssl          0.14-1
ii  python-pyasn1           0.1.7-1

python-requests suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to