Skip to content

Commit

Permalink
Merge pull request #10 from cstavitsky/v0_initial_improvements_to_per…
Browse files Browse the repository at this point in the history
…formance_data_for_demo

[Ready for review] V0 initial improvements to performance data for demo
  • Loading branch information
thinkocapo authored Nov 11, 2021
2 parents 33e35d9 + 4d70c72 commit 50122d4
Show file tree
Hide file tree
Showing 9 changed files with 14,959 additions and 62 deletions.
1 change: 0 additions & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ target 'sentry_react_native' do

use_react_native!(:path => config["reactNativePath"])


target 'sentry_react_nativeTests' do
inherit! :complete
# Pods for testing
Expand Down
22 changes: 11 additions & 11 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,12 @@ PODS:
- React-Core
- RNScreens (2.18.1):
- React-Core
- RNSentry (3.1.0):
- RNSentry (3.2.0):
- React-Core
- Sentry (= 7.2.6)
- Sentry (7.2.6):
- Sentry/Core (= 7.2.6)
- Sentry/Core (7.2.6)
- Sentry (= 7.4.8)
- Sentry (7.4.8):
- Sentry/Core (= 7.4.8)
- Sentry/Core (7.4.8)
- Yoga (1.14.0)

DEPENDENCIES:
Expand Down Expand Up @@ -408,7 +408,7 @@ SPEC CHECKSUMS:
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5
FBReactNativeSpec: f4767e8d082aaa92e9b16398b1109cd743d50d90
FBReactNativeSpec: 324e70dddca47678fc467ab220389cd966de7954
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: 2f8cb5b7533219bf4218a045f92768129cf7050a
Expand All @@ -421,7 +421,7 @@ SPEC CHECKSUMS:
React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1
React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b
React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-safe-area-context: 584dc04881deb49474363f3be89e4ca0e854c057
React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af
React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11
React-RCTAnimation: 3f96f21a497ae7dabf4d2f150ee43f906aaf516f
Expand All @@ -434,14 +434,14 @@ SPEC CHECKSUMS:
React-RCTVibration: 0fd6b21751a33cb72fce1a4a33ab9678416d307a
React-runtimeexecutor: cad74a1eaa53ee6e7a3620231939d8fe2c6afcf0
ReactCommon: cfe2b7fd20e0dbd2d1185cd7d8f99633fbc5ff05
RNCMaskedView: f127cd9652acfa31b91dcff613e07ba18b774db6
RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNReanimated: 514a11da3a2bcc6c3dfd9de32b38e2b9bf101926
RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d
RNSentry: a3c522c9f17f191e4972c3e4d6065aba253b593e
Sentry: be2f8f7a63e5274cc83d0813e40c1680119c0153
RNSentry: 0a525a8bf2fd8928496c312c5964eb5889733c1a
Sentry: df92b78ba4ab86cf2a47ff4cdc07758a5ce18f03
Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf

PODFILE CHECKSUM: c50650cff1554a5b7988845b549ad6296a091b9d
PODFILE CHECKSUM: 79ce1c465caba661d8abf443587400c2a48c5974

COCOAPODS: 1.11.2
29 changes: 15 additions & 14 deletions ios/sentry_react_native.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
00E356F31AD99517003FC87E /* sentry_react_nativeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* sentry_react_nativeTests.m */; };
059FF644CFD362A260F629A8 /* libPods-sentry_react_native-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 095678703019C1565552F96A /* libPods-sentry_react_native-tvOSTests.a */; };
Expand Down Expand Up @@ -413,6 +414,20 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
7F84EFF7C7CC409C9D1B918C /* Upload Debug Symbols to Sentry */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Upload Debug Symbols to Sentry";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export SENTRY_PROPERTIES=sentry.properties\n../node_modules/@sentry/cli/bin/sentry-cli upload-dsym";
};
8FDF4387DD0D52192CDCFA15 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -553,20 +568,6 @@
shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
showEnvVarsInLog = 0;
};
7F84EFF7C7CC409C9D1B918C /* Upload Debug Symbols to Sentry */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
name = "Upload Debug Symbols to Sentry";
inputPaths = (
);
outputPaths = (
);
shellPath = /bin/sh;
shellScript = "export SENTRY_PROPERTIES=sentry.properties\n../node_modules/@sentry/cli/bin/sentry-cli upload-dsym";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
2 changes: 1 addition & 1 deletion ios/sentry_react_native/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7</string>
<string>1.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
8 changes: 8 additions & 0 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,13 @@ module.exports = {
inlineRequires: true,
},
}),
minifierConfig: {
keep_classnames: true, // Preserve class names
keep_fnames: true, // Preserve function names
mangle: {
keep_classnames: true, // Preserve class names
keep_fnames: true, // Preserve function names
},
},
},
};
Loading

0 comments on commit 50122d4

Please sign in to comment.