mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #1962 from chinmaygarde/master
Disable Dart profiling on iOS and MacOS
This commit is contained in:
commit
82cbbef945
@ -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
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user