Docs

Performance

What the SDK adds to your app's size and how much it holds the screen, with the numbers we measured and the ones we don't have yet.

We measured every number on this page ourselves, in December 2026. Where we have no number yet, the page says so.

Turned off

With enabled: false, the SDK creates nothing: no button, no recording, no uploads and no network wrapper. Its code is still in the build, so the size below applies to every build that includes the package.

App size

Flutter (nabrila) React Native (@nabrila/react-native)
SDK code 257 KB of Dart 128 KB of JavaScript
Native code on Android 15 KB 58 KB

Measured on Android release builds (arm64), with flutter build apk --analyze-size, the bundle's source map and apkanalyzer (native code as dex, after R8). The size on iOS is not measured yet.

The screen while a report is sent

Encrypting and compressing a report runs outside the thread that draws your app (Isolate.run in Flutter). While a 2 MB report was sealed 25 times, the longest the app's thread went without drawing was 4 ms, under the 16 ms of one frame at 60 Hz.

Sealing itself took a median of 3 ms for 64 KB, 26 ms for 512 KB and 95 ms for 2 MB. Those times are from a computer (Apple Silicon); a phone is slower, but the work stays off the screen's thread.

Replay

  • Memory: the pictures are capped at 4 MB and 120 pictures by default (maxMemoryBytes, maxFrames), in both SDKs.
  • Screen time: on a 40-second shopping flow, each picture took about 0.6 ms of the UI thread, with no extra slow frames on the iOS simulator. That was a debug build on a simulator, so it compares versions; it is not a promise for a real phone.
  • Idle apps: a picture is taken only when something changed on screen, at most one per second, so an idle app costs nothing.

Every report also carries what the replay cost the phone that sent it: Replay.

React Native re-renders

While the SDK records taps, logs and network calls and opens and closes the report screen, your app re-renders 0 times because of it. A Jest test counts them.

Not measured yet

These numbers need a low-end Android and an iPhone, in profile or release, and we don't have them yet:

  • what the SDK adds to app startup;
  • peak memory with the replay on;
  • CPU and battery with the replay on;
  • dropped frames on a real phone while recording and while sending;
  • the size on iOS.

Until then, if your app runs on low-end phones, turn the replay down with maxFrames and maxMemoryBytes, or turn it off: replay: NabrilaReplay.off in Flutter, replay: { enabled: false } in React Native (Replay).