From 8fd1ce77386693a6eda1f92bcfad04d0b2272361 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Thu, 5 Nov 2015 12:23:55 -0800 Subject: [PATCH] Disable Dart profiling on iOS and MacOS --- sky/engine/core/script/dart_init.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sky/engine/core/script/dart_init.cc b/sky/engine/core/script/dart_init.cc index e092fd49087..03cc763cb7f 100644 --- a/sky/engine/core/script/dart_init.cc +++ b/sky/engine/core/script/dart_init.cc @@ -80,10 +80,9 @@ static const char* kDartArgs[] = { // default profile period to 100Hz. This number is suitable for older // Raspberry Pi devices but quite low for current smartphones. "--profile_period=1000", -#if (WTF_OS_IOS || WTF_OS_MACOSX) && !defined(NDEBUG) +#if (WTF_OS_IOS || WTF_OS_MACOSX) // On platforms where LLDB is the primary debugger, SIGPROF signals - // overwhelm LLDB. Since in debug builds, CPU profiling information is - // less useful anyway, vm profiling is disabled to enable a usable debugger. + // overwhelm LLDB. "--no-profile", #endif };