From ea331f9e7bf10e349f9d8f8f27ced88be23eb893 Mon Sep 17 00:00:00 2001 From: Kazuki Hashimoto Date: Tue, 27 Jun 2023 08:09:44 +0900 Subject: [PATCH] Enable is_high_end_android Improves Speedometer 2.0 scores on Chromium 117 from 44.8 to 77.1, a whopping 70% performance improvement, all while having smaller binary size (227mb -> 203mb). Note that this enables relr, which is only supported on API 28 and up. Furthermore, PGO profiles must be fetched as mentioned on https://chromium.googlesource.com/chromium/src.git/+/master/docs/pgo.md --- .build/production_build_reference/args.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.build/production_build_reference/args.gn b/.build/production_build_reference/args.gn index 42df9aa555..afb0756f5d 100644 --- a/.build/production_build_reference/args.gn +++ b/.build/production_build_reference/args.gn @@ -47,3 +47,5 @@ treat_warnings_as_errors = false # Fast APK cc_wrapper = "ccache" + +is_high_end_android = true