mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
[Runtime/VM] Enable SUPPORT_TIMELINE in product mode on iOS
This is useful to systrace release mode applications on iOS. With this change and with systrace disabled, the `TimelineEventNopRecorder` is used so there should not be any performance impact. See also the following bug where this was done for Android. TEST=ci Bug: https://github.com/dart-lang/sdk/issues/47264 Change-Id: If3d127054d6345213fe0ade827dd60f7904a99a1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289925 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com> Auto-Submit: Jia Hao Goh <jiahaog@google.com>
This commit is contained in:
parent
6ebf04576d
commit
5921f835b6
|
@ -115,7 +115,7 @@ const intptr_t kDefaultNewGenSemiMaxSize = (kWordSize <= 4) ? 8 : 16;
|
|||
|
||||
#if defined(DART_ENABLE_TIMELINE) || !defined(PRODUCT) || \
|
||||
defined(DART_HOST_OS_FUCHSIA) || defined(DART_TARGET_OS_FUCHSIA) || \
|
||||
defined(DART_TARGET_OS_ANDROID)
|
||||
defined(DART_TARGET_OS_ANDROID) || defined(DART_TARGET_OS_MACOS)
|
||||
#define SUPPORT_TIMELINE 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue