-
Notifications
You must be signed in to change notification settings - Fork 578
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
chore(performance): sentry performance updates #11212
base: main
Are you sure you want to change the base?
Conversation
context.sampled = false | ||
} | ||
return context | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was there to make names in perf dashboard more reasonable, but no longer necessary since nav refactor!
import { appJson } from "app/utils/jsonFiles" | ||
import { Platform } from "react-native" | ||
import Config from "react-native-config" | ||
import DeviceInfo from "react-native-device-info" | ||
|
||
export const routingInstrumentation = new Sentry.ReactNavigationInstrumentation({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deprecated
@@ -214,6 +215,8 @@ export const SearchScreen: React.FC<SearchScreenProps> = () => { | |||
) | |||
} | |||
|
|||
export const SearchScreen = withProfiler(SearchScreenInner, { name: "Search" }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use this to get more in depth flamegraph style profiles of a given screen: https://artsynet.sentry.io/profiling/profile/eigen/a7bb035f850d44f7a9dc1f2a5274e3c7/flamegraph/?colorCoding=by%20system%20vs%20application%20frame&fov=0%2C0%2C2658378240%2C31&query=&sorting=call%20order&tid=4048240&view=top%20down
hoping it will be cleaner with a real build with sourcemaps but let's see
This PR resolves []
Description
Some follow-ups now that our navigation is not quite as weird!
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.