Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chromium: add patch to fix performance regression with fonts #68991

Merged
merged 1 commit into from Sep 19, 2019

Conversation

ivan
Copy link
Member

@ivan ivan commented Sep 17, 2019

Motivation for this change

This fixes a font-related performance regression in Chromium 77: https://bugs.chromium.org/p/chromium/issues/detail?id=1003997

The issue can be very annoying, with 4.5 second pauses and an inability to scroll through bookmark folders.

It is not clear exactly which fonts (or how many) need to be installed to see this problem, but I reverted the relevant commit and confirmed that this fixed the issue in chromium, chromiumBeta, and chromiumDev.

The reverted commit appears to be self-contained and not related to any security bugs. This patch will be hopefully be removed by the time Chromium 78 is released.

If accepted to master, please also cherry-pick to release-19.09.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @bendlas
and previous committers @andir @samueldr

This reverts a commit to fix a serious performance regression
introduced in Chromium 77:

https://bugs.chromium.org/p/chromium/issues/detail?id=1003997
@ivan
Copy link
Member Author

ivan commented Sep 17, 2019

Updated to use fetchpatch.

@ivan
Copy link
Member Author

ivan commented Sep 19, 2019

Chromium author says "NOTE: It is SAFE to revert that CL on Stable or any channels to fix the issue." https://bugs.chromium.org/p/chromium/issues/detail?id=1003997#c13

@grahamc grahamc merged commit a81f830 into NixOS:master Sep 19, 2019
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Oct 24, 2019
chromium: add patch to fix performance regression with fonts
(cherry picked from commit a81f830)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants