diff --git a/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h b/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h index a81624621f..da559bcd17 100644 --- a/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h +++ b/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h @@ -44,6 +44,8 @@ extern NSString* const KEY_PAGE_PROPERTIES_RENDER_TYPE; extern NSString* const KEY_PAGE_STAGES_START; extern NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_START; extern NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_END; +extern NSString* const KEY_PAGE_STAGES_CUSTOM_PREPROCESS_START; +extern NSString* const KEY_PAGE_STAGES_CUSTOM_PREPROCESS_END; extern NSString* const KEY_PAGE_STAGES_RENDER_ORGIGIN; extern NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_START; extern NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_END; diff --git a/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.m b/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.m index d44effd6ef..7a8822dcd0 100644 --- a/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.m +++ b/ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.m @@ -57,6 +57,8 @@ NSString* const KEY_PAGE_STAGES_START = @"wxRecordStart"; NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_START = @"wxStartDownLoadBundle"; NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_END = @"wxEndDownLoadBundle"; +NSString* const KEY_PAGE_STAGES_CUSTOM_PREPROCESS_START = @"wxCustomPreprocessStart"; +NSString* const KEY_PAGE_STAGES_CUSTOM_PREPROCESS_END = @"wxCustomPreprocessEnd"; NSString* const KEY_PAGE_STAGES_RENDER_ORGIGIN = @"wxRenderTimeOrigin"; NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_START = @"wxStartLoadBundle"; NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_END = @"wxEndLoadBundle";