Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded6035d authored by Zhizhou Yang's avatar Zhizhou Yang
Browse files

Turn off PGO temporarily

Bug: http://b/67862169

Turn off PGO for hwui since it caused a performance regression in
tesetBitmapDrawPerf.

Test: Built successfully and tested the performance with benchmarks.
Change-Id: I7be1ff919cc03eb72e2464867a417cc3dad7a260
parent 532cd509
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -255,11 +255,13 @@ cc_library {
    // Build libhwui with PGO by default.
    // Location of PGO profile data is defined in build/soong/cc/pgo.go
    // and is separate from hwui.
    // To turn it off, set ANDROID_PGO_NO_PROFILE_USE environment variable.
    // To turn it off, set ANDROID_PGO_NO_PROFILE_USE environment variable
    // or set enable_profile_use property to false.
    pgo: {
        instrumentation: true,
        profile_file: "hwui/hwui.profdata",
        benchmarks: ["hwui"],
        enable_profile_use: false,
    },
}