diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 7a98b821c7..877b70017f 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -6203,6 +6203,39 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message. +
+ Python 3 Profile-Guided Optimization + + + The python3 recipe now enables profile-guided + optimization. + Using this optimization requires a little extra build time in + exchange for improved performance on the target at runtime. + And, the optimization is only enabled if the current + MACHINE + has support for user-mode emulation in QEMU (i.e. "qemu-usermode" + is in + MACHINE_FEATURES, + which it is by default). + + + + If you wish to disable Python profile-guided optimization + regardless of the value of + MACHINE_FEATURES, then ensure that + PACKAGECONFIG + for the python3 recipe does not contain "pgo". + You could accomplish the latter using the following at the + configuration level: + + PACKAGECONFIG_remove_pn-python3 = "pgo" + + Alternatively, you can set + PACKAGECONFIG using an append file for the + python3 recipe. + +
+
Miscellaneous Changes