-
-
Notifications
You must be signed in to change notification settings - Fork 344
App performance greatly reduced by captureConsoleIntegration
#3992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@yefim thank you for the detailed report and the videos, we appreciate the effort. Do you know if this also occurs on Android, or only on iOS? |
captureConsoleIntegration
@yefim Thank you for the details, we will investigate it. |
It can be reproduced on the React Native sample by using the following init:
It seems like when we add the level EDIT: I replaced the assert callback and this is the message + stacktrace from where it was being called.
|
I am stil looking at it, but in the meantime I have an update that this issue is no longer happening on @sentry/react-native version 6.0.0 or newer. EDIT: It seems like the issue lies on this library used by React Native: https://gitlab.cin.ufpe.br/vrs2/iot-trafficlight-final/-/blob/main/node_modules/event-target-shim/dist/event-target-shim.mjs?ref_type=heads#L42-44 The symbolication code uses a fetch code that relies on this library, and with that it creates those assert messages, and since we are creating events with the fetched event, we will end up on a loop. We ignore those events on the integration but it would be nice to shield it better against such issues in the future |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 5.26.0
react-native
version: 0.74.6Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
(
@sentry/react-native
)I have the following issue:
After upgrading
@sentry/integrations
from "7.81.1" to "7.114.0" we noticed a large performance regression. The app was taking a long time to respond to a user's tap.Before (
@sentry/integrations
7.81.1)RPReplay_Final1721856524.MP4
After (
@sentry/integrations
7.114.0)RPReplay_Final1721856599.MP4
When we enabled Sentry in dev, we saw a bunch of logs that were clogging up the console and were able to reproduce the unresponsiveness locally. I've uploaded a video at #3963 (comment)
Steps to reproduce:
captureConsoleIntegration
integrationActual result:
App is slow to respond to user's tap.
Expected result:
App navigates as normal
The text was updated successfully, but these errors were encountered: