Reducing Android scope-sync overhead in Sentry Flutter
Sentry says it reduced Android scope-update processing time in its Flutter SDK by 27–30% in the payloads it benchmarked. The work removes duplicate data normalization between the calling and worker isolates and encodes JSON directly into bytes, avoiding an intermediate JSON string and extra byte buffer. The SDK uses a dedicated worker isolate for Android operations, including transferring event envelopes and synchronizing breadcrumbs, users and context, to keep that work off Flutter’s main isolate.
AI-written summary, checked against the cited sources. How summaries work
