Commit 869e901a by Jamie Madill Committed by Commit Bot

Temporarily disable optimizations in angle_perftests.

The optimization for the large trace perf tests was so costly that in some configs it would fail to build at all. This could cause build failures in the ANGLE CQ. Disable optimization to work around this until we can isolate the compiler flags to just the trace perf tests. Note: this only applies to the test harness. ANGLE itself is still optimized in release builds by default. Trace trimming would also help alleviate this problem. We could also consider removing a few traces temporarily. Bug: angleproject:3630 Change-Id: I2bd8fb76f330692aa715249ca8656965b5a29d8c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2103674Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent db3f042b
......@@ -273,6 +273,13 @@ if (is_win || is_linux || is_android || is_mac || is_fuchsia) {
sources += angle_trace_perf_sources
defines += angle_trace_perf_defines
data += angle_trace_perf_data
# Temporarily disable optimization in the test runner.
# TODO(jmadill): Only apply no-optimize to trace perf tests themselves.
if (!is_debug) {
suppressed_configs += [ "//build/config/compiler:default_optimization" ]
configs += [ "//build/config/compiler:no_optimize" ]
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment