Real numbers.
Head to head.
Extraction is the stage where pipelines bottleneck — and where marketing gets loud. This page is Xberg measured head-to-head against the frameworks teams actually consider, on the documents production actually sees.
Benchmarking
the landscape.
We could tell you Xberg is the best way to turn messy documents into clean text. Instead, we'll show you the data and let you decide.
How we evaluated
This snapshot contains 1080 recorded extractions. The benchmark workflow published partial results after some jobs failed. Native PDFs with embedded text and scanned PDFs that require OCR are shown in separate cohorts.
Throughput
Input megabytes successfully extracted per second, measured for a single document or a whole batch.
See the results ↓Latency
Elapsed time to extract one document or to process a whole batch, depending on the selected run mode.
See the results ↓Cold start
Process start to first extracted document. Serverless functions and autoscaled workers pay this tax on every scale-up.
See the results ↓Quality against ground truth
TF1 scores text completeness and SF1 scores structural precision, both against hand-verified extractions. Extraction quality is the ceiling on everything downstream.
See the results ↓Reliability
Every attempted extraction lands in exactly one bucket — completed, errored, timed out, or empty — and nothing leaves the denominator.
See the results ↓Memory under load
Peak resident memory while extracting one document or processing a whole batch.
See the results ↓Install footprint
A fresh install including required system dependencies: deploy weight, image size, and whether it runs at the edge at all.
See the results ↓The landscape,
across the tools.
Every framework × every dimension for PDF documents. #1 marks each column's leader — Xberg rows always show their true rank. Switch formats above and the whole board re-ranks.
| Framework | Throughput | Cold start | TF1 · text | Success rate | Peak memory | Install size |
|---|---|---|---|---|---|---|
| #21.43 MB/s | #229 ms | #10.987 | #1100.0% | #243 MB | #2114 MB | |
| #11.78 MB/s | #124 ms | 0.971 | 100.0% | #117 MB | #135 MB | |
| 0.04 MB/s | 1.1 s | 0.971 | 100.0% | 160 MB | 272 MB | |
| #40.02 MB/s | #44.7 s | #20.987 | #4100.0% | #4415 MB | #4313 MB | |
| 0.01 MB/s | 15.1 s | 0.984 | 100.0% | 1.03 GB | 1.36 GB | |
| 0.00 MB/s | 12.7 s | 0.951 | 100.0% | 1.61 GB | 2.97 GB |
Across native PDFs, Xberg leads 1 of 6 columns and shares the lead in 1; LiteParse takes throughput, LiteParse takes cold start, LiteParse takes peak memory, LiteParse takes install size.
Always p50 · #1 = column leader · cold start & install size are framework-level · SF1 not shown: plaintext output carries no layout structure
Megabytes in,
clean text out.
Input megabytes successfully extracted per second for each document.
Ingestion is throughput-bound — this decides how many workers you run and what the bill says.
Single-file runs for native PDFs. Showing p50 of per-document throughput.
Across native PDFs, LiteParse takes per-document throughput (1.78 MB/s); Xberg lands #2 at 1.43 MB/s.
Time per document,
from median to tail.
Wall-clock time to extract one document, end to end.
Latency is what a user or an agent actually waits on — and the tail is what pages you at 2am.
Showing p50 for time per document on a log scale. Extraction-only timings ship in the raw release.
Across native PDFs, LiteParse takes time per document (17 ms); Xberg lands #2 at 22 ms.
The first document
shouldn't cost seconds.
Time from process start to the first extracted document — model loads, JVM boots and import chains included.
Serverless functions, autoscaled workers and CLIs pay this startup tax on every scale-up.
First-document latency at p50, log scale. Framework-level — identical across formats.
Framework startup, LiteParse takes cold start (24 ms); Xberg lands #2 at 29 ms.
Fidelity, measured against
ground truth.
TF1 against hand-verified ground truth — how complete the extracted text is. Plaintext output carries no layout structure, so SF1 doesn't apply here; switch to Markdown to see it.
Extraction quality caps everything downstream: retrieval can't find what extraction dropped.
Per-document F1 at p50. Rows ordered by corpus coverage, not score — a fidelity number counts for more when it spans more documents.
A high F1 near the bottom of the list is measured on a narrow slice of the corpus — rows are ordered by coverage, so the top rows earn their scores across the whole gauntlet.
Every file counts.
No hand-picking.
The outcome of every attempted extraction: completed, errored, timed out, empty, or no matching text, where the output shares no words with the source.
Production doesn't skip weird files — the failures are exactly the ones that page you at 2am.
Every recorded attempt in the selected native PDF view counts.
Across native PDFs, every framework ties on reliability at 100.0%.
Peak memory,
under real load.
Peak resident memory during one document extraction.
Peak memory sets container size — and container size sets how many workers fit on a node.
Resident memory is sampled across each run. Showing p50 of peak RSS per document.
Across native PDFs, LiteParse takes peak RSS per document (17 MB); Xberg lands #2 at 43 MB.
Deploy weight,
not dead weight.
Disk size of a fresh install, including required system dependencies.
Image size drives cold deploys, autoscaling lag, and whether it runs at the edge at all.
Fresh install including system dependencies, on a log scale. The chart shows available measurements for the selected cohort.
Xberg is measured as a standalone binary. Other entries may include system dependencies.
One gauntlet,
no favorites.
The benchmark corpus covers 82 documents across 24 file extensions, including native and scanned PDFs, office files, markup, data, email, ebooks, and images.
The harness records the fixture list and run settings for each cohort. Comparisons use the measurements available for the selected view.
Read the median (p50) for throughput, latency, cold start, quality, and memory, and the tail (p95 or p99) where the run has enough documents to report one.
Recorded extraction errors, timeouts, empty outputs and output with no matching text count toward reliability. Workflow jobs without results leave gaps in coverage.
The published results identify the fixture cohorts, harness revision, and run settings behind the charts.