This repo aims to provide different scenarios to benchmark performance difference between the new RN architecture and the old one.
npx appium
NEW_ARCH=false npx ts-node performance/manyviews.ts
NEW_ARCH=true npx ts-node performance/manyviews.ts
npx @perf-profiler/web-reporter results_*
More details on https://github.com/bamlab/android-performance-profiler
adb install apks/fabric-many-texts.apk
adb install apks/nofabric-many-texts.apk
npx appium
NEW_ARCH=false npx ts-node performance/manyviews.ts
NEW_ARCH=true npx ts-node performance/manyviews.ts
npx @perf-profiler/web-reporter results_*
More details on https://github.com/bamlab/android-performance-profiler
adb install apks/fabric-100-tweets.apk
adb install apks/nofabric-100-tweets.apk
npx appium
NEW_ARCH=false npx ts-node performance/tweets.ts
NEW_ARCH=true npx ts-node performance/tweets.ts
npx @perf-profiler/web-reporter results_*
More details on https://github.com/bamlab/android-performance-profiler
npx appium
NEW_ARCH=false npx ts-node performance/svg.ts
NEW_ARCH=true npx ts-node performance/svg.ts
npx @perf-profiler/web-reporter results_*
More details on https://github.com/bamlab/android-performance-profiler
adb install apks/fabric-flatlist.apk
adb install apks/nofabric-flatlist.apk
adb install apks/navigation-fabric.apk
adb install apks/navigation-nofabric.apk
npx appium
NEW_ARCH=false npx ts-node performance/navigation.ts
NEW_ARCH=true npx ts-node performance/navigation.ts
npx @perf-profiler/web-reporter results_*
More details on https://github.com/bamlab/android-performance-profiler
FabricEnabled/index.js
navigation
scenario, you also need to git checkout navigation
FabricDisabled
# Copy code
cp -R FabricEnabled/index.js FabricDisabled
cp -R FabricEnabled/scenarios FabricDisabled
# Run builds
cd FabricEnabled/android && ./gradlew assembleRelease
cd FabricDisabled/android && ./gradlew assembleRelease