Skip to content

Conversation

ioannisj
Copy link
Contributor

💡 Motivation and Context

Helps with #321

Avoid main thread when touching session on user interactions on PostHogSessionManager on throttling from ViewLayoutPublishing

Profiling these changes on device I see the following, so I think this will help.

Before

CleanShot 2025-06-25 at 13 03 10@2x

After

CleanShot 2025-06-25 at 13 03 27@2x

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@ioannisj ioannisj requested a review from marandaneto as a code owner June 25, 2025 10:07
@ioannisj ioannisj requested review from a team, pauldambra and veryayskiy and removed request for a team June 25, 2025 10:07
@ioannisj ioannisj merged commit cddb77e into main Jun 26, 2025
6 checks passed
@ioannisj ioannisj deleted the fix/session-replay-perf branch June 26, 2025 09:32
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.

2 participants