diff --git a/ios/GLCanvas.m b/ios/GLCanvas.m index 3260fa8176f20cb7eee1129274f4e74f7f77502a..de0fe5785b88bd9257b1feed70ae529e7d58d7a5 100644 --- a/ios/GLCanvas.m +++ b/ios/GLCanvas.m @@ -4,6 +4,7 @@ #import "RCTConvert.h" #import "RCTEventDispatcher.h" #import "RCTLog.h" +#import "RCTProfile.h" #import "RNGLContext.h" #import "GLCanvas.h" #import "GLShader.h" @@ -330,7 +331,9 @@ RCT_NOT_IMPLEMENTED(-init) }); } else { + RCTProfileBeginEvent(0, @"GLCanvas render", nil); [self render]; + RCTProfileEndEvent(0, @"gl", nil); _deferredRendering = false; if (_captureFrameRequested) {