question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update from 2.6 to 3.2 causing slow transitions

See original GitHub issue

Environment

How do you use Sentry? Sentry SaaS (sentry.io)

Which SDK and version?

System:
    OS: Linux 5.16 Arch Linux
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 15.04 GB / 30.99 GB
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.1.0 - ~/.asdf/installs/nodejs/16.1.0/bin/node
    Yarn: 1.22.10 - ~/.asdf/installs/nodejs/16.1.0/.npm/bin/yarn
    npm: 7.11.2 - ~/.asdf/plugins/nodejs/shims/npm
    Watchman: 20220123.190932.0 - /usr/bin/watchman
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: AI-211.7628.21.2111.8092744
  Languages:
    Java: 11.0.13 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
  npmGlobalPackages:
    *react-native*: Not Found
"dependencies": {
    "@invertase/react-native-apple-authentication": "2.1.5",
    "@react-native-async-storage/async-storage": "1.15.15",
    "@react-native-firebase/app": "14.2.2",
    "@react-native-firebase/remote-config": "14.2.2",
    "@react-native-google-signin/google-signin": "7.0.4",
    "@segment/analytics-react-native": "1.5.0",
    "@sentry/react-native": "3.2.12",
    "@stripe/stripe-react-native": "0.2.3",
    "base-64": "1.0.0",
    "date-fns": "2.28.0",
    "easy-peasy": "5.0.4",
    "hyphenation.de": "0.2.1",
    "hypher": "0.2.5",
    "react": "17.0.2",
    "react-native": "0.66.4",
    "react-native-device-info": "8.4.8",
    "react-native-elements": "4.0.0-beta.0",
    "react-native-fbsdk-next": "6.2.0",
    "react-native-iap": "7.5.5",
    "react-native-keyboard-spacer": "0.4.1",
    "react-native-keychain": "8.0.0",
    "react-native-linear-gradient": "2.5.6",
    "react-native-notifications": "4.1.3",
    "react-native-permissions": "3.2.0",
    "react-native-safe-area-context": "3.3.2",
    "react-native-share": "7.3.3",
    "react-native-splash-screen": "3.3.0",
    "react-native-svg": "12.1.1",
    "react-native-svg-charts": "5.4.0",
    "react-native-url-polyfill": "1.3.0",
    "react-native-vector-icons": "9.0.0",
    "react-native-webview": "11.16.0",
    "react-router-native": "5.2.0",
    "semver": "7.3.5"
  },
  "devDependencies": {
    "@babel/core": "7.16.7",
    "@babel/runtime": "7.16.7",
    "@storybook/react-native": "5.3.25",
    "@types/base-64": "1.0.0",
    "@types/node": "17.0.9",
    "@types/react": "17.0.38",
    "@types/react-native": "0.66.12",
    "@types/react-native-keyboard-spacer": "0.4.2",
    "@types/react-native-share": "3.3.3",
    "@types/react-native-svg-charts": "5.0.12",
    "@types/react-router-native": "5.1.2",
    "@types/semver": "7.3.9",
    "@typescript-eslint/eslint-plugin": "5.10.0",
    "@typescript-eslint/parser": "5.10.0",
    "eslint": "8.7.0",
    "eslint-config-prettier": "8.3.0",
    "eslint-plugin-react": "7.28.0",
    "eslint-plugin-react-hooks": "4.3.0",
    "eslint-watch": "8.0.0",
    "metro-react-native-babel-preset": "0.66.2",
    "prettier": "2.5.1",
    "react-native-clean-project": "4.0.0",
    "react-native-config": "1.4.5",
    "typescript": "4.5.4"
  }

Steps to Reproduce

  1. All navigation transitions perform fast (React Router Native in use)
  2. Update a React Native project from @sentry/react-native": “2.6.0” to @sentry/react-native": “3.2.12”.

Expected Result

No decline in transition speed.

Actual Result

All navigation transitions perform extremely slow (2-3s).

Any help in troubleshooting this issue is greatly appreciated. For now, we had to remove the sentry integration in react native.

Cheers

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
marandanetocommented, Mar 30, 2022

@Domeee can you provide a minimal reproducible example that exemplifies this problem using patchGlobalPromise or not? I just want to be sure that this isn’t an environmental in your setup, or if that would happen in any brand new project (fresh template), thanks.

0reactions
marandanetocommented, Apr 29, 2022

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global Economic Growth Slows Amid Gloomy And More ...
Under our baseline forecast, growth slows from last year's 6.1 percent to 3.2 percent this year and 2.9 percent next year, downgrades of...
Read more >
OECD Interim Economic Outlook warns of pervasive global ...
OECD Interim Economic Outlook warns of pervasive global economic slowdown ... been hit and is expected to drop to a projected 3.2% in...
Read more >
After Oct 13 update, screen transitions are slow fades
This is very irritating and slow. Each time I go from one window to another, the transition is a very slow fade. If...
Read more >
This is How Climate Change Could Impact The Global Economy
The impact of climate change can be more severe than thought. It is said that rising temperatures could wipe up to 18% off...
Read more >
Summary for Policymakers — Global Warming of 1.5 ºC - IPCC
A.3.2. Future climate-related risks depend on the rate, peak and duration of ... to 1.5°C. The slower rate of sea level rise at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found