Skip to content

Commit df1c5b0

Browse files
committed
Updated performance-tests
1 parent 5be2e18 commit df1c5b0

File tree

115 files changed

+1396
-4709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1396
-4709
lines changed

.github/workflows/e2e-v2.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,17 @@ jobs:
6666
- uses: actions/setup-java@v5
6767
with:
6868
java-version: '17'
69-
distribution: "adopt"
69+
distribution: 'adopt'
70+
7071
- name: Gradle cache
7172
uses: gradle/gradle-build-action@v3
73+
7274
- name: Install Global Dependencies
7375
run: npm i -g react-native-cli @sentry/cli
76+
7477
- name: Install Dependencies
7578
run: yarn install
79+
7680
- name: Build SDK
7781
run: yarn build
7882

@@ -86,6 +90,7 @@ jobs:
8690
# we removed the lock file of the app due to monorepo changes, we use the package.json instead
8791
# to avoid frequent rebuilds of the app
8892
key: ${{ github.workflow }}-${{ github.job }}-appplain-${{ matrix.platform }}-${{ matrix.rn-architecture }}-${{ hashFiles('performance-tests/TestAppSentry/package.json') }}
93+
8994
- name: Build app plain
9095
if: steps.app-plain-cache.outputs['cache-hit'] != 'true'
9196
working-directory: ./performance-tests/TestAppPlain
@@ -113,6 +118,7 @@ jobs:
113118
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }}
114119
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
115120
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
121+
116122
- name: Build app with Sentry
117123
working-directory: ./performance-tests/TestAppSentry
118124
run: |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native',
4+
};

performance-tests/TestAppPlain/.gitignore

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
ios/.xcode.env.local
23+
**/.xcode.env.local
2424

2525
# Android/IntelliJ
2626
#
@@ -30,19 +30,17 @@ build/
3030
local.properties
3131
*.iml
3232
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
36+
.kotlin/
3337

3438
# node.js
3539
#
3640
node_modules/
3741
npm-debug.log
3842
yarn-error.log
3943

40-
# BUCK
41-
buck-out/
42-
\.buckd/
43-
*.keystore
44-
!debug.keystore
45-
4644
# fastlane
4745
#
4846
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
@@ -59,8 +57,19 @@ buck-out/
5957
*.jsbundle
6058

6159
# Ruby / CocoaPods
62-
/ios/Pods/
60+
**/Pods/
6361
/vendor/bundle/
6462

65-
#Codegen
66-
.cxx/
63+
# Temporary files created by Metro to check the health of the file watcher
64+
.metro-health-check*
65+
66+
# testing
67+
/coverage
68+
69+
# Yarn
70+
.yarn/*
71+
!.yarn/patches
72+
!.yarn/plugins
73+
!.yarn/releases
74+
!.yarn/sdks
75+
!.yarn/versions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

performance-tests/TestAppPlain/App.js

Lines changed: 0 additions & 112 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Sample React Native App
3+
* https://github.com/facebook/react-native
4+
*
5+
* @format
6+
*/
7+
8+
import { View } from 'react-native';
9+
10+
function App() {
11+
return (
12+
<View />
13+
);
14+
}
15+
16+
export default App;
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby '2.7.5'
4+
ruby ">= 2.6.10"
55

6-
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
6+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9+
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

performance-tests/TestAppPlain/android/app/_BUCK

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)