summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorNoel Gordon <noel@chromium.org>2017-12-13 03:51:05 +0000
committerCommit Bot <commit-bot@chromium.org>2017-12-13 03:51:05 +0000
commit9eb2a75100c6df974568b78250edf42cf6ec84bf (patch)
tree5db777f6ec9dcdc773747e73a5323af636c95c5c /BUILD.gn
parent91155b5d0737713fc7f0499cf0ba2c4f2af24014 (diff)
downloadzlib-9eb2a75100c6df974568b78250edf42cf6ec84bf.tar.gz
Use default optimization on Android for zlib inflate chunk copy
Speculative fix: back off from using -O3 on Android for the inflate chunk copy code to see if -O3 caused the perf bot regression on the Android One bot, http://bit.ly/2AfaxhG Bug: 772870 Change-Id: I06bd941224dacbc5d7024a65934faaa53e4a4ce5 Reviewed-on: https://chromium-review.googlesource.com/823503 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Chris Blume <cblume@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#523679} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 53edf03e13a1569f146f136c9e43bc6e476bf33e
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 7 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 1fc6fa5..8e445bb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -94,11 +94,13 @@ source_set("zlib_inflate_chunk_simd") {
"contrib/optimizations/inflate.c",
]
- if (!is_debug) {
- # Use optimize_speed (-O3) to output the _smallest_ code.
- configs -= [ "//build/config/compiler:default_optimization" ]
- configs += [ "//build/config/compiler:optimize_speed" ]
- }
+ # TODO(772870) back off from -O3 while investigating Android
+ # One perf bot PNG decode regression.
+ # if (!is_debug) {
+ # # Use optimize_speed (-O3) to output the _smallest_ code.
+ # configs -= [ "//build/config/compiler:default_optimization" ]
+ # configs += [ "//build/config/compiler:optimize_speed" ]
+ # }
}
}