mpsq / emacs-gcc-wayland-devel-builder

Emacs with native compilation ("gcc") and Wayland support
https://aur.archlinux.org/packages/emacs-gcc-wayland-devel-bin/
91 stars 5 forks source link

Using PGO at compilation #19

Open black7375 opened 3 years ago

black7375 commented 3 years ago

We are already using LTO(Link Time Optimization). As discussed in #7, we can test popular distributions(doom, spacemacs).

I think optimization will be a little more possible if we profile the distribution when testing the distribution or verifying the execution of the test codes(elisp-benchmark, test).

https://rigtorp.se/notes/pgo/ https://llvm.org/docs/HowToBuildWithPGO.html https://github.com/facebookincubator/BOLT