mirror of
https://github.com/dart-lang/sdk
synced 2024-07-05 09:20:04 +00:00
Change GN debug builds to use -O2, which is the value used by GYP.
Running the language tests in debug mode, I got the following times GYP -O2 1:50 GN -O1 4:48 GN -O2 1:55 R=zra@google.com Review-Url: https://codereview.chromium.org/2614003003 .
This commit is contained in:
parent
badfd146d2
commit
ccd6cc7fc5
|
@ -745,7 +745,7 @@ config("no_optimize") {
|
|||
ldflags = common_optimize_on_ldflags
|
||||
} else {
|
||||
cflags = [
|
||||
"-O1",
|
||||
"-O2",
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
]
|
||||
|
|
|
@ -163,7 +163,7 @@ config("dart_config") {
|
|||
]
|
||||
|
||||
if (dart_debug) {
|
||||
cflags += [ "-O1" ]
|
||||
cflags += [ "-O2" ]
|
||||
} else {
|
||||
cflags += [ "-O3" ]
|
||||
}
|
||||
|
|
|
@ -31,6 +31,23 @@ cc/Sleep: Pass, Fail
|
|||
dart/data_uri_import_test/none: SkipByDesign
|
||||
|
||||
[ $mode == debug ]
|
||||
cc/Profiler_ArrayAllocation: Fail # 28304
|
||||
cc/Profiler_BasicSourcePosition: Fail # 28304
|
||||
cc/Profiler_BasicSourcePositionOptimized: Fail # 28304
|
||||
cc/Profiler_BinaryOperatorSourcePosition: Fail # 28304
|
||||
cc/Profiler_BinaryOperatorSourcePositionOptimized: Fail # 28304
|
||||
cc/Profiler_ChainedSamples: Fail # 28304
|
||||
cc/Profiler_ClosureAllocation: Fail # 28304
|
||||
cc/Profiler_CodeTicks: Fail # 28304
|
||||
cc/Profiler_ContextAllocation: Fail # 28304
|
||||
cc/Profiler_FunctionInline: Fail # 28304
|
||||
cc/Profiler_FunctionTicks: Fail # 28304
|
||||
cc/Profiler_SourcePosition: Fail # 28304
|
||||
cc/Profiler_SourcePositionOptimized: Fail # 28304
|
||||
cc/Profiler_ToggleRecordAllocation: Fail # 28304
|
||||
cc/Profiler_TrivialRecordAllocation: Fail # 28304
|
||||
cc/Profiler_TypedArrayAllocation: Fail # 28304
|
||||
|
||||
# This is a benchmark that is not informative in debug mode.
|
||||
cc/CorelibIsolateStartup: Skip
|
||||
# Negative tests of VerifiedMemory should crash iff in DEBUG mode.
|
||||
|
|
Loading…
Reference in New Issue
Block a user