Reference
Methodsβ
installReactHook()
β
static installReactHook(useFiber)
setEnabled()
β
static setEnabled(enabled)
isEnabled()
β
static isEnabled()
beginEvent()
β
static beginEvent(profileName?, args?)
beginEvent/endEvent for starting and then ending a profile within the same call stack frame.
endEvent()
β
static endEvent()
beginAsyncEvent()
β
static beginAsyncEvent(profileName?)
beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either occur on another thread or out of the current stack frame, eg await the returned cookie variable should be used as input into the endAsyncEvent call to end the profile.
endAsyncEvent()
β
static endAsyncEvent(profileName?, cookie?)
counterEvent()
β
static counterEvent(profileName?, value?)
Register the value to the profileName on the systrace timeline.