1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/doc/manual
Martin Weinelt 0d3772f645 firefox: add profile-guided optimization
Lo and behold, we're finally catching up with Mozillas very own firefox
build in terms of speed.

PGO is an optimization technique in which in a first step we create a
build that supports instrumentation, meaning we can use it to create a
profile of how the browser behaved during usage. Then in a second pass
we create the final build that uses the acquired profiling data to
optimize the browser for the workload it actually received during
profiling.

The downside is that with PGO we now need to build Firefox twice, which
increases the build time from around 20 minutes to roughly 50 minutes.

In the Speedometer 2.0 benchmark multiple tests could see a
responsiveness improvemeant around 20-25%, which makes the increased
build time well worth it.

Sadly this benefit seems limited to x86_64-linux, builds on
aarch64-linux get stuck during profiling and I haven't found out why.

Finally, after a long time, we can say:

Closes: #76484
Supersedes: #129503
2022-03-28 21:42:49 +02:00
..
administration
configuration
development nixos/test-runner: Allow writing to qemu stdin 2022-03-25 12:08:21 +01:00
from_md firefox: add profile-guided optimization 2022-03-28 21:42:49 +02:00
installation nixos/manual: use system nixpkgs to build pxe image 2022-02-16 22:22:32 +03:00
release-notes firefox: add profile-guided optimization 2022-03-28 21:42:49 +02:00
.gitignore
contributing-to-this-manual.chapter.md
default.nix nixos/documentation: fix docs cross build 2022-01-08 16:03:23 +01:00
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml
man-nixos-option.xml
man-nixos-rebuild.xml nixos-rebuild: add --no-flake switch 2022-03-22 19:03:10 +01:00
man-nixos-version.xml
man-pages.xml
manual.xml
md-to-db.sh
preface.xml
README.md
shell.nix