Benchmarks
Real measurements of Cefrium against the other ways to put web content in an Android app -- the system WebView, Mozilla GeckoView, Chrome Custom Tabs and Tauri. The same pages on every engine, on two real devices, with the harness and scripts published so you can reproduce them.
Method
- The same two pages on every engine, each in a minimal
matched harness app (one view, nothing else), so the only variable is the
engine:
- a plain document: text, a list and one image, no site stylesheet, no animation. This is the engine's own cost.
- the modern-web showcase: a decorated page with a full-screen gradient, which costs every engine composited memory.
- RAM = the PSS of every process the engine runs for the page,
summed (
dumpsys meminfoper process), median of 6 samples after the page settles: the app, its renderers, GPU and helper processes, and its own app zygote, or Chrome's processes for a Custom Tab. PSS splits shared pages between the processes that map them, so the sum counts nothing twice. The system'swebview_zygoteis shared by every app on the device and is not counted. - Release builds for every harness. A debuggable app runs with ART's optimizations off: in a first run with debug builds, Cefrium's off-screen cold start took twice as long.
- Two real devices: a TABWEE W90 and a Redmi Note 13 Pro 5G on HyperOS, both Android 16, with different process models and different system WebView versions.
- Custom Tabs renders in Chrome, so its RAM is Chrome's processes. It is not embeddable, so most capabilities are N/A.
- Engines: Cefrium 0.17.0 (Chromium 156.0.8078.73), System WebView 155.0.8059.43 on the W90, Chrome 156.0.8078.47, GeckoView 159, Tauri 2.12.5 (release build, wraps the system WebView).
RAM (PSS MB, lower is lighter)
| Engine | W90 document | W90 modern-web | Redmi document | Redmi modern-web | Embeddable | OSR |
|---|---|---|---|---|---|---|
| System WebView | 156 | 279 | 157 | 205 | Yes | No |
| Tauri 2.12.5 | 168 | 288 | 193 | 216 | No | No |
| GeckoView 159 | 492 | 634 | 528 | 562 | Yes | No |
| Custom Tabs (Chrome) | 361 | 493 | 376 | 403 | No | No |
| Cefrium 0.17.0 | 392 | 475 | 387 | 438 | Yes | Yes |
Median of 6 samples per cell, zero app crashes during sampling. Cefrium is the only embeddable Chromium with off-screen rendering.
Tauri on Android ships no engine of its own: it renders in the device's system WebView, the same engine as the System WebView row, plus its Rust runtime. It is an app framework, not a view you embed in an existing native app, and like any WebView it has no off-screen-rendering path.
Alternatives without a standard Android embedding path
Two engines often raised as lighter alternatives have no measured row here, for an honest reason rather than an omission:
- Ultralight is the real low-RAM contender, and we would have published its number even if it beat Cefrium -- but as of June 2026 its official site lists only Windows, macOS, Linux, Xbox and PlayStation as supported platforms; Android is not among them, so there is no standard embedding path to measure. For the record: Ultralight is a custom WebKit fork (not Chromium), does not implement WebGL or WebRTC and treats HTML5 video/audio as experimental, and is dual-licensed (partial LGPL source plus a paid commercial license). On a page it could render, it would very likely use less RAM than Cefrium -- at the cost of web-platform coverage.
- Servo (0.1.0, 2026) builds an Android shell and is actively
developing its
libservoembedding API, but has no production-stable, standard third-party Android embedding path yet, so it is not in the measured table.
Cefrium samples (per-app RAM)
RAM of the Cefrium sample apps loading their own content, for reference (PSS MB):
| App | TABWEE W90 | Redmi Note 13 Pro / HyperOS |
|---|---|---|
| java-sample (browser) | 502 | 384 |
| Kiosk POS | 553 | 412 |
| Kiosk automotive | 408 | 368 |
| modern-web showcase | 374 | 389 |
Measured the same way as the table above: every process of the
app, summed. A large part is the engine binary (libcef.so),
memory-mapped from the file: shared between Cefrium's processes and reclaimable
under pressure, not heap growth.
Crash stability (OEM matrix)
Launch the same app 10 times and read, after each launch, Android's own record
of why each of its processes ended (dumpsys activity exit-info). A
single launch hides intermittent OEM behavior; HyperOS in particular is
aggressive with memory.
| Device | Launches | App deaths | Crashes (any process) | Low-memory kills |
|---|---|---|---|---|
| TABWEE W90 | 10 | 0 | 0 | 0 |
| Redmi Note 13 Pro / HyperOS | 10 | 0 | 0 | 0 |
onRenderProcessTerminated (below) and the app stays up.
Memory is bounded, not leaking
A long-lived embedder opens and closes many pages. The risk is that each closed page leaks its renderer. We drive a 30-navigation loop through a pool that keeps at most 2 browsers alive (each new page evicts the least-recently-used one) and read the engine's exact counters afterwards.
| Device | Navigations | Browsers closed | Live browsers | Render frames | Verdict |
|---|---|---|---|---|---|
| TABWEE W90 | 30 | 29 | 2 | 2 | bounded |
| Redmi Note 13 Pro / HyperOS | 30 | 29 | 2 | 2 | bounded |
Renderers die gracefully (your app does not)
On aggressive OEM skins the system can kill a background renderer to reclaim memory.
Cefrium surfaces that to the app through a public onRenderProcessTerminated
callback, so the embedder can show a reload affordance instead of a blank page. We
validated it end-to-end: kill the live renderer, the callback fires with an out-of-memory
status, the app stays up. (This needed an engine fix -- the upstream handler only mapped
desktop termination reasons and silently dropped Android's low-memory-kill status.)
Off-screen rendering (the capability the others lack)
Cefrium can render a page to a raw pixel buffer in your process
(OnPaint) -- for screenshots, PDF, headless capture, custom
compositing, or surfaces no View can reach. System WebView,
GeckoView and Custom Tabs expose no pixel-buffer / off-screen
API at all -- a category Cefrium owns outright.
Measured off-screen cold first paint (process start -> first frame with the modern-web page): 2.3 s on the W90 and 3.0 s on the Redmi. That includes starting the engine and the renderer; the page load itself starts at 1.4 s and 0.8 s. The other engines have no number here because they cannot render off-screen at all.

Verified on device: Cefrium rendering a page into a raw BGRA buffer
via OnPaint and drawing it into an ordinary Android ImageView
(no SurfaceView, no WebView) -- the on-screen stats show the
first frame and its non-white pixel count. The other three engines cannot do this.
Reproduce it yourself (traceability)
The whole harness is open in the
cefrium-sample repo under
benchmark-suite/: the matched per-engine apps, the profiler, the crash
matrix, the leak check, and the result CSVs behind this page. One command per
device runs all of it, and the tables above are generated from its output.
# Build every harness against a release, install, and measure (one device)
benchmark-suite/run-benchmarks.sh -s <serial> -r 0.17.0
# Fill this page's tables from the results of both devices
benchmark-suite/bench-page.py results/0.17.0 benchmarks/index.html
Measured on Cefrium 0.17.0. Numbers are PSS medians and will shift with the page, the device, and the engine versions; the scripts are the source of truth, not these snapshots.