Comment 8 for bug 1871138

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Difference between 1.3.7 and 1.3.4 on my Ryzen desktop (docker on nvme):

11:22 (82s) hrw@puchatek:~$ docker run -ti --rm kolla/centos-source-horizon:stein bash
()[root@6e7d787e9863 /]# . /var/lib/kolla/venv/bin/activate
(venv) ()[root@6e7d787e9863 /]# pip list|grep pyscss -i
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
django-pyscss 2.0.2
pyScss 1.3.7
(venv) ()[root@6e7d787e9863 /]# pip list|grep pyScss
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
pyScss 1.3.7
(venv) ()[root@6e7d787e9863 /]# time /usr/local/bin/kolla_extend_start >/dev/null

real 0m35.036s
user 0m21.941s
sys 0m12.760s
(venv) ()[root@6e7d787e9863 /]# exit

11:24 (105s) hrw@puchatek:~$ docker run -ti --rm kolla/centos-source-horizon:stein bash
()[root@f995e06476ec /]# . /var/lib/kolla/venv/bin/activate
(venv) ()[root@f995e06476ec /]# pip install pyscss==1.3.4
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: http://mirror.ord.rax.opendev.org:8080/pypi/simple
Collecting pyscss==1.3.4
  Downloading http://mirror.ord.rax.opendev.org:8080/pypifiles/packages/1d/4a/221ae7561c8f51c4f28b2b172366ccd0820b14bb947350df82428dfce381/pyScss-1.3.4.tar.gz (120 kB)
     |████████████████████████████████| 120 kB 101 kB/s
Requirement already satisfied: six in /var/lib/kolla/venv/lib/python2.7/site-packages (from pyscss==1.3.4) (1.12.0)
Requirement already satisfied: enum34 in /var/lib/kolla/venv/lib/python2.7/site-packages (from pyscss==1.3.4) (1.1.6)
Requirement already satisfied: pathlib in /var/lib/kolla/venv/lib/python2.7/site-packages (from pyscss==1.3.4) (1.0.1)
Building wheels for collected packages: pyscss
  Building wheel for pyscss (setup.py) ... done
  Created wheel for pyscss: filename=pyScss-1.3.4-cp27-cp27mu-linux_x86_64.whl size=161001 sha256=369669b7a7b4f4532ab3d6191914eb840bdb7a55949d4decfd7050d46b6f8e6f
  Stored in directory: /root/.cache/pip/wheels/13/ba/58/eaef1267b7333e6d9889ef1fe1c202729180311958124fbf42
Successfully built pyscss
Installing collected packages: pyscss
  Attempting uninstall: pyscss
    Found existing installation: pyScss 1.3.7
    Uninstalling pyScss-1.3.7:
      Successfully uninstalled pyScss-1.3.7
Successfully installed pyscss-1.3.4
(venv) ()[root@f995e06476ec /]# time /usr/local/bin/kolla_extend_start >/dev/null

real 0m22.327s
user 0m16.144s
sys 0m5.874s
(venv) ()[root@f995e06476ec /]# exit
11:25 (52s) hrw@puchatek:~$

So 35s for 1.3.7, 22s for 1.3.4 version of pyScss. No idea how fast infra nodes are.