buildbot.mariadb.org (MDEV-8244)

[MDEV-13026] Compile profile-optimized release binaries Created: 2017-06-07  Updated: 2017-06-07

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Major
Reporter: Vesa Pentti (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Compile profile-optimized release binaries (PGO). (Where to use the optimized binaries is a separate decision.)

The building has more steps: 1) compilation with -fprofile-generate (.gcno), 2) running tests recording the coverage data (.gcda), and 3) compilation with -fprofile-use. This needs to be done only once for the actual release. (Though: from CI stability and release process point of view it might be beneficial for the release build process to resemble the usual build process as much as possible.)

The benefit of the optimization (in any single case) depends on how representative (to the case) the tests are.

According to a very quick research (googling) this should be production-safe.


Generated at Thu Feb 08 08:02:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.