Quick Start
Installation
- Add
de-frostto project.
- yarn
- npm
yarn add @d11/de-frost
npm 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
- npm
yarn de-frost create-build -f Staging -v Release
npx de-frost create-build -f Staging -v Release
Here -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
- npm
yarn de-frost record -p com.example.myapp
npx de-frost record -p com.example.myapp
This 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
- npm
yarn de-frost show-dashboard -d ./data
npx 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.