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
This commit is contained in:
Zhizhou Yang
2017-10-17 13:37:00 -07:00
parent 532cd509a1
commit ded6035da8

View File

@@ -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,
},
}