Consider using UBI or RHEL 8.2 with Python 3.8 that has optimized Python interpreter with performance gain up to 30%

Using RHEL and UBI 8 container images shipped with Python 3.8 can improve Python application performance.

Issue description

See blog post on developers.redhat.com that discusses about Python 3.8 speed ups. The Python interpreter shipped is built with -fno-semantic-interposition. By enabling this flag during build time, the application performance can increase by as much as 30%.

Affected packages

This recommendation is not specific to any package.

Severity

Issue fix

Use UBI8 or RHEL8 container images shipped with Pytho 3.8.

Pipeline units

Recommendation types

This message can be produced for all the recommendation types.

See this document that describes recommendation types.

Inspections