You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: benchmarks/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,19 @@
6
6
2. From the iOS folder, run `pod install`.
7
7
3. From the root folder, run `yarn ios` or `yarn android`.
8
8
9
-
## Enable new architecture
9
+
## Enable old architecture
10
+
11
+
The Benchmark app uses React Native's New Architecture by default. However, you may need to switch to the Old Architecture to compare performance between the two systems or reproduce bugs that are specific to legacy environments.
10
12
11
13
### iOS
12
14
13
15
```
14
-
RCT_NEW_ARCH_ENABLED=1 pod install
16
+
RCT_NEW_ARCH_ENABLED=0 pod install
15
17
```
16
18
17
19
### Android
18
20
19
-
Set `newArchEnabled=true` in `benchmarks/android/gradle.properties`.
21
+
Set `newArchEnabled=false` in `benchmarks/android/gradle.properties`.
0 commit comments