Quick Start
Installation
-
Add
de-frost
to project.yarn add @d11/de-frostnpm install @d11/de-frost -
Prepare Your Android Device - Follow the steps outlined in the Setup Guide to enable USB Debugging, Profile HWUI Rendering, and verify ADB connection.
-
You start by generating an APK that has React commit tracking code added:
yarn de-frost create-build -f Staging -v Releasenpx de-frost create-build -f Staging -v ReleaseHere -f is an optional flag.
-
Once the APK is ready, installed on your device and all permissions given, you can begin recording frame and React commit data
yarn de-frost record -p com.example.myappnpx de-frost record -p com.example.myappThis will start recording and will dump the data into the
data
folder. -
Finally, you can open the web dashboard to analyze the data and identify any potential frozen frames.
yarn de-frost show-dashboard -d ./datanpx de-frost show-dashboard -d ./data
🎉 Yeah! Your app frames data is collected. Now leverage the de-frost panel to track the frames of your app.