mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-27 22:54:46 +08:00
Clean up unnecessary profile events
Summary: public There were some old markers that are now automatically inject and now are no longer necessary (+ one that was missing an end call :( )) Reviewed By: javache Differential Revision: D2625901 fb-gh-sync-id: 4c4c9d6b4e8e2b4bdb9c64fde01000b0ca2e9f47
This commit is contained in:
committed by
facebook-github-bot-4
parent
c1ae4780ce
commit
de1c0169fc
@@ -861,8 +861,6 @@ RCT_EXPORT_METHOD(findSubviewIn:(nonnull NSNumber *)reactTag atPoint:(CGPoint)po
|
||||
|
||||
- (void)batchDidComplete
|
||||
{
|
||||
RCTProfileBeginEvent(0, @"[RCTUIManager batchDidComplete]", nil);
|
||||
|
||||
// Gather blocks to be executed now that all view hierarchy manipulations have
|
||||
// been completed (note that these may still take place before layout has finished)
|
||||
for (RCTComponentData *componentData in _componentDataByName.allValues) {
|
||||
@@ -893,9 +891,6 @@ RCT_EXPORT_METHOD(findSubviewIn:(nonnull NSNumber *)reactTag atPoint:(CGPoint)po
|
||||
_nextLayoutAnimation = nil;
|
||||
}
|
||||
|
||||
RCTProfileEndEvent(0, @"uimanager", @{
|
||||
@"view_count": @(_viewRegistry.count),
|
||||
});
|
||||
[self flushUIBlocks];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user