Skip to content

Commit

Permalink
chore: remove release-profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr committed Jun 28, 2024
1 parent e183e36 commit f8160e4
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 247 deletions.
10 changes: 1 addition & 9 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -927,10 +927,6 @@ PODS:
- React-Core
- react-native-randombytes (3.6.1):
- React-Core
- react-native-release-profiler (0.1.6):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- react-native-restart (0.0.27):
- React-Core
- react-native-safe-area-context (4.9.0):
Expand Down Expand Up @@ -1213,7 +1209,6 @@ DEPENDENCIES:
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-quick-crypto (from `../node_modules/react-native-quick-crypto`)
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
- react-native-release-profiler (from `../node_modules/react-native-release-profiler`)
- react-native-restart (from `../node_modules/react-native-restart`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- "react-native-skia (from `../node_modules/@shopify/react-native-skia`)"
Expand Down Expand Up @@ -1348,8 +1343,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-quick-crypto"
react-native-randombytes:
:path: "../node_modules/react-native-randombytes"
react-native-release-profiler:
:path: "../node_modules/react-native-release-profiler"
react-native-restart:
:path: "../node_modules/react-native-restart"
react-native-safe-area-context:
Expand Down Expand Up @@ -1484,7 +1477,6 @@ SPEC CHECKSUMS:
react-native-netinfo: bdb108d340cdb41875c9ced535977cac6d2ff321
react-native-quick-crypto: 455c1b411db006dba1026a30681ececb19180187
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-release-profiler: 0d212252f56756942eb44e6873a2047185084aa0
react-native-restart: 7595693413fe3ca15893702f2c8306c62a708162
react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b
react-native-skia: 24d41bf966446b911930f7f15aebae6310413cd3
Expand Down Expand Up @@ -1530,7 +1522,7 @@ SPEC CHECKSUMS:
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
sodium-react-native-direct: 102289e2a55688b5c6c489c88b2a7915d4e31ec1
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
Yoga: 2a16e58450c48e110211dae1159fb114bbcdcfc0
Yoga: e5b887426cee15d2a326bdd34afc0282fc0486ad
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5

PODFILE CHECKSUM: a25ec9d4205c8710cfcf7ec52d853eaf4b026cc5
Expand Down
86 changes: 43 additions & 43 deletions ios/bitkit.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"react-native-randombytes": "3.6.1",
"react-native-reanimated": "3.8.1",
"react-native-reanimated-carousel": "3.5.1",
"react-native-release-profiler": "^0.1.6",
"react-native-restart": "0.0.27",
"react-native-safe-area-context": "4.9.0",
"react-native-screens": "3.30.1",
Expand Down
22 changes: 1 addition & 21 deletions src/screens/Settings/DevSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import RNFS, { unlink, writeFile } from 'react-native-fs';
import AsyncStorage from '@react-native-async-storage/async-storage';
import Share from 'react-native-share';
import { useTranslation } from 'react-i18next';
import { startProfiling, stopProfiling } from 'react-native-release-profiler';

import actions from '../../../store/actions/actions';
import {
Expand Down Expand Up @@ -41,7 +40,6 @@ import { showToast } from '../../../utils/notifications';
import { getFakeTransaction } from '../../../utils/wallet/testing';
import Dialog from '../../../components/Dialog';
import { resetBackupState } from '../../../store/slices/backup';
import { updateUi } from '../../../store/slices/ui';
import { __E2E__ } from '../../../constants/env';

const DevSettings = ({
Expand All @@ -54,7 +52,6 @@ const DevSettings = ({
const selectedWallet = useAppSelector(selectedWalletSelector);
const selectedNetwork = useAppSelector(selectedNetworkSelector);
const addressType = useAppSelector(addressTypeSelector);
const isProfiling = useAppSelector((state) => state.ui.isProfiling);
const warnings = useAppSelector((state) => {
return warningsSelector(state, selectedWallet, selectedNetwork);
});
Expand Down Expand Up @@ -129,24 +126,7 @@ const DevSettings = ({
},
{
title: 'Debug',
data: [
{
title: isProfiling ? 'Stop Profiler' : 'Start Profiler',
type: EItemType.button,
value: isProfiling,
loading: isProfiling,
onPress: async (): Promise<void> => {
if (isProfiling) {
const path = await stopProfiling(true);
dispatch(updateUi({ isProfiling: false }));
console.log('profile file: ', path);
} else {
dispatch(updateUi({ isProfiling: true }));
startProfiling();
}
},
},
],
data: [],
},
{
title: 'Wallet Checks',
Expand Down
1 change: 0 additions & 1 deletion src/store/shapes/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const initialUiState: TUiState = {
isElectrumThrottled: false,
isOnline: true,
isLDKReady: false, // LDK node running and connected
isProfiling: false,
language: 'en',
profileLink: { title: '', url: '' },
timeZone: 'UTC',
Expand Down
1 change: 0 additions & 1 deletion src/store/types/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export type TUiState = {
isElectrumThrottled: boolean;
isOnline: boolean;
isLDKReady: boolean;
isProfiling: boolean;
profileLink: TProfileLink;
viewControllers: TUiViewController;
timeZone: string;
Expand Down
171 changes: 0 additions & 171 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2807,15 +2807,6 @@
resolved "https://registry.yarnpkg.com/@react-native-community/blur/-/blur-4.4.0.tgz#b2440dab17d94e480fbc4470e03155573b5b7375"
integrity sha512-P+xdT2LIq1ewOsF3zx7C0nu4dj7nxl2NVTsMXEzRDjM3bWMdrrEbTRA7uwPV5ngn7/BXIommBPlT/JW4SAedrw==

"@react-native-community/cli-clean@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-12.3.5.tgz#74426c70b2740ca2cdb70928a5df042574a76276"
integrity sha512-EsC1B3kOao+KCTq7vHICnFlQKnVh+bqRFnDq0gFheDzdWFxLHnBujyOaQ7t/gnEafosIGhSh6sOt1GIcVQXgzA==
dependencies:
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
execa "^5.0.0"

"@react-native-community/cli-clean@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-12.3.6.tgz#e8a7910bebc97266fd5068649013a03958021fc4"
Expand All @@ -2825,18 +2816,6 @@
chalk "^4.1.2"
execa "^5.0.0"

"@react-native-community/cli-config@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-12.3.5.tgz#9b95589ad2075ba9a610029a824cf171ae188bd6"
integrity sha512-K65PzZQslNpx9/MV/2tlLs91fQZgJuy7zELXheC9JA4rvY7uTWGVrdOjrI7ZaX/4htIBsek+Gu0TKZW/DUo3Dw==
dependencies:
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
cosmiconfig "^5.1.0"
deepmerge "^4.3.0"
glob "^7.1.3"
joi "^17.2.1"

"@react-native-community/cli-config@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-12.3.6.tgz#5f0be68270217908a739c32e3155a0e354773251"
Expand All @@ -2849,43 +2828,13 @@
glob "^7.1.3"
joi "^17.2.1"

"@react-native-community/cli-debugger-ui@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-12.3.5.tgz#d4e2d56a8490d1553dfbbc0401ab349939201a28"
integrity sha512-zvJYbrxj98flvdvMoIfG5g7Cmi8kkPvdKor59B7A6jM9h4Km0Pu7n/bMvDhj3SW7qjn3HMG3JWw+i1/SMJ2JAA==
dependencies:
serve-static "^1.13.1"

"@react-native-community/cli-debugger-ui@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-12.3.6.tgz#418027a1ae76850079684d309a732eb378c7f690"
integrity sha512-SjUKKsx5FmcK9G6Pb6UBFT0s9JexVStK5WInmANw75Hm7YokVvHEgtprQDz2Uvy5znX5g2ujzrkIU//T15KQzA==
dependencies:
serve-static "^1.13.1"

"@react-native-community/cli-doctor@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-12.3.5.tgz#11bfdab98690e62c05513770f08916bd85d9396c"
integrity sha512-1/kaUgMxSjc86X2oIdwas5cqbY/pMQCkGSn5m89SIQ9FJp5LDEuutNoWlGjpcnm4/gFBAZwTqsNE68SeSsjVpQ==
dependencies:
"@react-native-community/cli-config" "12.3.5"
"@react-native-community/cli-platform-android" "12.3.5"
"@react-native-community/cli-platform-ios" "12.3.5"
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
command-exists "^1.2.8"
deepmerge "^4.3.0"
envinfo "^7.10.0"
execa "^5.0.0"
hermes-profile-transformer "^0.0.6"
ip "^1.1.5"
node-stream-zip "^1.9.1"
ora "^5.4.1"
semver "^7.5.2"
strip-ansi "^5.2.0"
wcwidth "^1.0.1"
yaml "^2.2.1"

"@react-native-community/cli-doctor@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-12.3.6.tgz#f68b51bbc6554ff4837269d98e9e405044e6f1b9"
Expand All @@ -2908,17 +2857,6 @@
wcwidth "^1.0.1"
yaml "^2.2.1"

"@react-native-community/cli-hermes@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-12.3.5.tgz#48b3b100cbd3e67c0797afa400b5e7a407cf2f0b"
integrity sha512-sxHA26edHULMiSYG0YWtuObm8MNN0TvpVJciROEp7vJfy/Ajdi3MJ75FiAW0xZzEhVTfVDMbwkZVhSlJsxCFXA==
dependencies:
"@react-native-community/cli-platform-android" "12.3.5"
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
hermes-profile-transformer "^0.0.6"
ip "^1.1.5"

"@react-native-community/cli-hermes@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-12.3.6.tgz#5ac2c9ee26c69e1ce6b5047ba0f399984a6dea16"
Expand All @@ -2929,18 +2867,6 @@
chalk "^4.1.2"
hermes-profile-transformer "^0.0.6"

"@react-native-community/cli-platform-android@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-12.3.5.tgz#7bf23aa72059e9dba5cc0797b23ccd246c683e65"
integrity sha512-vkoEoP2qKwdf8jxkrL2b35k+9eTNRFO9J6QhkVJS8AgSDcwLDvSEUCHoDBNCHaohFHP1wDWixYG4QwDOx+GfFw==
dependencies:
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
execa "^5.0.0"
fast-xml-parser "^4.2.4"
glob "^7.1.3"
logkitty "^0.7.1"

"@react-native-community/cli-platform-android@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-12.3.6.tgz#e1103692c659ff0b72ee6f00b7c72578db7376ec"
Expand All @@ -2953,18 +2879,6 @@
glob "^7.1.3"
logkitty "^0.7.1"

"@react-native-community/cli-platform-ios@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-12.3.5.tgz#95bb6451e268883f00a445da84ce6ccb950e0bd8"
integrity sha512-jfp4epfJ6PzJNHtyN66VydVKtGzmDdH9QTk2Dw7sHj6p7DY75QgQ9jKgNWeyMIV+u/1EGek7HGWlmwp6fkiTDg==
dependencies:
"@react-native-community/cli-tools" "12.3.5"
chalk "^4.1.2"
execa "^5.0.0"
fast-xml-parser "^4.0.12"
glob "^7.1.3"
ora "^5.4.1"

"@react-native-community/cli-platform-ios@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-12.3.6.tgz#e7decb5ee764f5fdc7a6ad1ba5e15de8929d54a5"
Expand All @@ -2977,31 +2891,11 @@
glob "^7.1.3"
ora "^5.4.1"

"@react-native-community/cli-plugin-metro@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-12.3.5.tgz#93ef47d3a540d60262a5d29abe662c43ea3a26be"
integrity sha512-O2fGpGOGf0BCpVutfQBozYyyU7qPL594/BoVVIUt9ovfm7uZHjaxtt90RzUJSNu6mE2PLEh3vtxJcszrIXTQuA==

"@react-native-community/cli-plugin-metro@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-12.3.6.tgz#ae62de18e998478db60a3fe10dc746162c272dbd"
integrity sha512-3jxSBQt4fkS+KtHCPSyB5auIT+KKIrPCv9Dk14FbvOaEh9erUWEm/5PZWmtboW1z7CYeNbFMeXm9fM2xwtVOpg==

"@react-native-community/cli-server-api@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-12.3.5.tgz#6cb2a25f83339bf2e499fba0383903394fb7f5f8"
integrity sha512-Wyv0hSvjcYHx0+CW3RIDYfFuP3H4AGcw7Co0kAx2D6fhSTCqBappwdWUpKHyq07yQGrgQk0vdO3jAZOkVjfJpA==
dependencies:
"@react-native-community/cli-debugger-ui" "12.3.5"
"@react-native-community/cli-tools" "12.3.5"
compression "^1.7.1"
connect "^3.6.5"
errorhandler "^1.5.1"
nocache "^3.0.1"
pretty-format "^26.6.2"
serve-static "^1.13.1"
ws "^7.5.1"

"@react-native-community/cli-server-api@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-12.3.6.tgz#cd78122954a02d22c7821c365938635b51ddd1bd"
Expand All @@ -3017,22 +2911,6 @@
serve-static "^1.13.1"
ws "^7.5.1"

"@react-native-community/cli-tools@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-12.3.5.tgz#1ab33a9188d7df2856f747c6d2a07529a4872d93"
integrity sha512-Q7LKvu9pt3dR8XngcMfqo42XVEKzOad+4vaqRkpBUkKkZwXv41UFDxeK16NmUP87rDpHQNBbgCjJcpSq57hWsw==
dependencies:
appdirsjs "^1.2.4"
chalk "^4.1.2"
find-up "^5.0.0"
mime "^2.4.1"
node-fetch "^2.6.0"
open "^6.2.0"
ora "^5.4.1"
semver "^7.5.2"
shell-quote "^1.7.3"
sudo-prompt "^9.0.0"

"@react-native-community/cli-tools@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-12.3.6.tgz#c39965982347635dfaf1daa7b3c0133b3bd45e64"
Expand All @@ -3049,13 +2927,6 @@
shell-quote "^1.7.3"
sudo-prompt "^9.0.0"

"@react-native-community/cli-types@12.3.5":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-12.3.5.tgz#5116615cd9c3b5ea257551d784bc357b2b94cfcc"
integrity sha512-QP9/gRQsQWyQOPI7Xny/WJ1iCGobzn8G/DCp+c1JcksB6I8FCWb39WBvbu8r+3hJoyZ0v6mV1lio33gZHPGKLQ==
dependencies:
joi "^17.2.1"

"@react-native-community/cli-types@12.3.6":
version "12.3.6"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-12.3.6.tgz#239de348800fe1ffba3eb1fe0edbeb9306981e57"
Expand Down Expand Up @@ -3087,30 +2958,6 @@
prompts "^2.4.2"
semver "^7.5.2"

"@react-native-community/cli@^12.2.1":
version "12.3.5"
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-12.3.5.tgz#0af88222fe382c84e8d99d7cd86c0b6a42d4a7e5"
integrity sha512-Kw/ZnQIIs7m35n26AVb4tzv106ZgX2vrPflRbXE3GQ72rpQ+O8UpEqvWTKqs5Sjt8eLgcUbbV8VR8Bxjorwohw==
dependencies:
"@react-native-community/cli-clean" "12.3.5"
"@react-native-community/cli-config" "12.3.5"
"@react-native-community/cli-debugger-ui" "12.3.5"
"@react-native-community/cli-doctor" "12.3.5"
"@react-native-community/cli-hermes" "12.3.5"
"@react-native-community/cli-plugin-metro" "12.3.5"
"@react-native-community/cli-server-api" "12.3.5"
"@react-native-community/cli-tools" "12.3.5"
"@react-native-community/cli-types" "12.3.5"
chalk "^4.1.2"
commander "^9.4.1"
deepmerge "^4.3.0"
execa "^5.0.0"
find-up "^4.1.0"
fs-extra "^8.1.0"
graceful-fs "^4.1.3"
prompts "^2.4.2"
semver "^7.5.2"

"@react-native-community/netinfo@11.3.1":
version "11.3.1"
resolved "https://registry.yarnpkg.com/@react-native-community/netinfo/-/netinfo-11.3.1.tgz#4539371a2f4bd402d932031be82c2449ed63a1a5"
Expand Down Expand Up @@ -5391,11 +5238,6 @@ commander@9.3.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-9.3.0.tgz#f619114a5a2d2054e0d9ff1b31d5ccf89255e26b"
integrity sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==

commander@^11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"
integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==

commander@^2.20.0:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
Expand Down Expand Up @@ -7448,11 +7290,6 @@ io-ts@>=2.2.0:
resolved "https://registry.yarnpkg.com/io-ts/-/io-ts-2.2.20.tgz#be42b75f6668a2c44f706f72ee6e4c906777c7f5"
integrity sha512-Rq2BsYmtwS5vVttie4rqrOCIfHCS9TgpRLFpKQCM1wZBBRY9nWVGmEvm2FnDbSE2un1UE39DvFpTR5UL47YDcA==

ip@^1.1.5:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48"
integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==

ip@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da"
Expand Down Expand Up @@ -10328,14 +10165,6 @@ react-native-reanimated@3.8.1:
convert-source-map "^2.0.0"
invariant "^2.2.4"

react-native-release-profiler@^0.1.6:
version "0.1.6"
resolved "https://registry.yarnpkg.com/react-native-release-profiler/-/react-native-release-profiler-0.1.6.tgz#e1429b50bbba7e446ae87f6180523a66a8c88b44"
integrity sha512-kSAPYjO3PDzV4xbjgj2NoiHtL7EaXmBira/WOcyz6S7mz1MVBoF0Bj74z5jAZo6BoBJRKqmQWI4ep+m0xvoF+g==
dependencies:
"@react-native-community/cli" "^12.2.1"
commander "^11.1.0"

react-native-restart@0.0.27:
version "0.0.27"
resolved "https://registry.yarnpkg.com/react-native-restart/-/react-native-restart-0.0.27.tgz#43aa8210312c9dfa5ec7bd4b2f35238ad7972b19"
Expand Down

0 comments on commit f8160e4

Please sign in to comment.