Skip to content
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

Delay reflection in NotificationHandlerFactory #5078

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

DanielNovak
Copy link
Contributor

Delaying the reflection saves ~190ms on the main thread while the SDK is being initialised (usually in the Application.onCreate() - thus delaying the whole application cold start).

@DanielNovak DanielNovak added performance Any kind of performance problems: rendering, parsing, reading/writing v6 labels Nov 20, 2023
@DanielNovak DanielNovak requested a review from a team as a code owner November 20, 2023 14:13
@DanielNovak DanielNovak changed the base branch from main to develop November 20, 2023 14:14
@DanielNovak DanielNovak changed the title Delay reflection Delay reflection in NotificationHandlerFactory Nov 20, 2023
…roid/client/notifications/handler/NotificationHandlerFactory.kt

Co-authored-by: Jc Miñarro <josecarlos.minarro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Any kind of performance problems: rendering, parsing, reading/writing v6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants