Systrace
Systrace is a standard Android marker-based profiling tool (and is installed when you install the Android platform-tools package). Profiled code blocks are surrounded by start/end markers which are then visualized in a colorful chart format. Both the Android SDK and React Native framework provide standard markers that you can visualize.
Example
-Systrace allows you to mark JavaScript (JS) events with a tag and an integer value. Capture the non-Timed JS events in EasyProfiler.
-
-
- - Function Component Example - -
- - Class Component Example - -
-
Reference
+Systrace
Reference
Methods
installReactHook()
static installReactHook(useFiber)
@@ -241,7 +104,7 @@ const styles = StyleSheet.create({
static counterEvent(profileName?, value?)
Register the value to the profileName on the systrace timeline.
-