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

Add ReanimatedSystraceSection #6376

Merged
merged 20 commits into from
Jan 8, 2025

Conversation

bartlomiejbloniarz
Copy link
Contributor

@bartlomiejbloniarz bartlomiejbloniarz commented Aug 5, 2024

Summary

This PR adds ReanimatedSystraceSection class that allow for easy marking of relevant code sections on Android (through ATrace) and iOS (through signposts).

When REANIMATED_PROFILING is not defined the profiling code will compile to no-op, meaning we can have these systrace sections in our code permanently.

Test plan

@bartlomiejbloniarz bartlomiejbloniarz changed the title Add profiling macros Add ReanimatedSystraceSection Oct 21, 2024
@tomekzaw tomekzaw changed the title Add ReanimatedSystraceSection Add ReanimatedSystraceSection Dec 4, 2024
Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@tjzel
Copy link
Collaborator

tjzel commented Dec 17, 2024

Don't worry @bartlomiejbloniarz!!!

@bartlomiejbloniarz bartlomiejbloniarz added this pull request to the merge queue Jan 8, 2025
Merged via the queue into main with commit 6586c5f Jan 8, 2025
17 checks passed
@bartlomiejbloniarz bartlomiejbloniarz deleted the @bartlomiejbloniarz/add-profiling-macros branch January 8, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants