Comment 16 for bug 2033422

Revision history for this message
Simon Déziel (sdeziel) wrote (last edit ):

Using a fast HTTPS server (same LAN as client), the `main.py` tests goes from ~8s to ~2.5s:

# time python3 /tmp/main.py
Distro: Ubuntu 22.04.3 LTS
Python Version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
OpenSSL Version: OpenSSL 3.0.2 15 Mar 2022
0 1 2 3 ... 99
real 0m8.163s
user 0m16.041s
sys 0m3.474s

# apt-get install -t jammy-proposed libssl3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  libssl3
1 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Need to get 1,902 kB of archives.
After this operation, 1,024 B of additional disk space will be used.

# time python3 /tmp/main.py
Distro: Ubuntu 22.04.3 LTS
Python Version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
OpenSSL Version: OpenSSL 3.0.2 15 Mar 2022
0 1 2 3 ... 99
real 0m2.533s
user 0m9.188s
sys 0m0.096s

Note: the "OpenSSL Version" string remains the same even after upgrading the libssl3 package. I would have thought the date would change but no.

Upgrading the server side (NGINX) didn't make a measurable difference.