hbiyik / triblerd-buildsys

4 stars 0 forks source link

Enable Python Profile Guided Optimization when compiling #1

Open hbiyik opened 4 years ago

hbiyik commented 4 years ago

when building python, --enable-optimizations flag is not provided. This flag severely improves runtime object creation by cpython and should be enabled. But I am not so sure how PGO will be proviled when execution is done over qemu interpreter in the docker

hbiyik commented 4 years ago

target is to have same benchmark with a precompiled python interpreter vs frozen binary by the buildsys

hbiyik commented 4 years ago

old versions of gcc does not support -fprofile-correction",

the performace gain with this is around %15 to %20. This is a price to be paid for using an old compiler