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.

October 9, 2026 benchmark results

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.

1,080recorded extractions
82test documents
24file extensions
9framework configs head to head

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 ↓
Showing results fornative PDFs
24 benchmarked extensions · Xberg supports 107 formats across 141 extensions · plaintext: raw text, no layout structure — the fast path · extra Xberg variants hidden (toggle on to inspect)
Corpus
Output
Run mode
Xberg variants
Overall
Documents
Word & rich text
Spreadsheets
Presentations
Web & markup
Data
Email
Images & OCR
eBooks & notebooks
Citations
Archives
Plain text
Other

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.

FrameworkThroughputCold startTF1 · textSuccess ratePeak memoryInstall size
Xberg#21.43 MB/s#229 ms#10.987#1100.0%#243 MB#2114 MB
LiteParse#11.78 MB/s#124 ms0.971100.0%#117 MB#135 MB
Tika0.04 MB/s1.1 s0.971100.0%160 MB272 MB
Xberg Layout#40.02 MB/s#44.7 s#20.987#4100.0%#4415 MB#4313 MB
Unstructured0.01 MB/s15.1 s0.984100.0%1.03 GB1.36 GB
Docling0.00 MB/s12.7 s0.951100.0%1.61 GB2.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.

WHAT WE MEASURE

Input megabytes successfully extracted per second for each document.

WHY IT MATTERS

Ingestion is throughput-bound — this decides how many workers you run and what the bill says.

HOW WE MEASURE

Single-file runs for native PDFs. Showing p50 of per-document throughput.

LiteParse
1.78 MB/s
Xberg
1.43 MB/s
Tika
0.04 MB/s
Xberg Layout
0.02 MB/s
Unstructured
0.01 MB/s
Docling
0.00 MB/s

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.

WHAT WE MEASURE

Wall-clock time to extract one document, end to end.

WHY IT MATTERS

Latency is what a user or an agent actually waits on — and the tail is what pages you at 2am.

HOW WE MEASURE

Showing p50 for time per document on a log scale. Extraction-only timings ship in the raw release.

LiteParse
17 ms
Xberg
22 ms
Tika
1.2 s
Xberg Layout
2.3 s
Unstructured
5.1 s
Docling
14.5 s

Across native PDFs, LiteParse takes time per document (17 ms); Xberg lands #2 at 22 ms.

The first document
shouldn't cost seconds.

WHAT WE MEASURE

Time from process start to the first extracted document — model loads, JVM boots and import chains included.

WHY IT MATTERS

Serverless functions, autoscaled workers and CLIs pay this startup tax on every scale-up.

HOW WE MEASURE

First-document latency at p50, log scale. Framework-level — identical across formats.

LiteParse
24 ms
Xberg
29 ms
Tika
1.1 s
Xberg Layout
4.7 s
Docling
12.7 s
Unstructured
15.1 s

Framework startup, LiteParse takes cold start (24 ms); Xberg lands #2 at 29 ms.

Fidelity, measured against
ground truth.

WHAT WE MEASURE

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.

WHY IT MATTERS

Extraction quality caps everything downstream: retrieval can't find what extraction dropped.

HOW WE MEASURE

Per-document F1 at p50. Rows ordered by corpus coverage, not score — a fidelity number counts for more when it spans more documents.

Xberg8 scored
TF1
0.99
Numeric
0.97
Xberg Layout8 scored
TF1
0.99
Numeric
0.97
Unstructured8 scored
TF1
0.98
Numeric
0.96
Tika8 scored
TF1
0.97
Numeric
0.96
LiteParse8 scored
TF1
0.97
Numeric
0.92
Docling8 scored
TF1
0.95
Numeric
0.90

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.

WHAT WE MEASURE

The outcome of every attempted extraction: completed, errored, timed out, empty, or no matching text, where the output shares no words with the source.

WHY IT MATTERS

Production doesn't skip weird files — the failures are exactly the ones that page you at 2am.

HOW WE MEASURE

Every recorded attempt in the selected native PDF view counts.

CompletedErrorsTimeoutsEmpty outputNo matching text
Xberg
100%
Tika
100%
Unstructured
100%
Xberg Layout
100%
Docling
100%
LiteParse
100%

Across native PDFs, every framework ties on reliability at 100.0%.

Peak memory,
under real load.

WHAT WE MEASURE

Peak resident memory during one document extraction.

WHY IT MATTERS

Peak memory sets container size — and container size sets how many workers fit on a node.

HOW WE MEASURE

Resident memory is sampled across each run. Showing p50 of peak RSS per document.

LiteParse
17 MB
Xberg
43 MB
Tika
160 MB
Xberg Layout
415 MB
Unstructured
1.03 GB
Docling
1.61 GB

Across native PDFs, LiteParse takes peak RSS per document (17 MB); Xberg lands #2 at 43 MB.

Deploy weight,
not dead weight.

WHAT WE MEASURE

Disk size of a fresh install, including required system dependencies.

WHY IT MATTERS

Image size drives cold deploys, autoscaling lag, and whether it runs at the edge at all.

HOW WE MEASURE

Fresh install including system dependencies, on a log scale. The chart shows available measurements for the selected cohort.

LiteParse
35 MB
PyMuPDF4LLM
52 MB
Xberg
114 MB
MarkItDown
205 MB
Tika
272 MB
Xberg Layout
313 MB
Unstructured
1.36 GB
MinerU
2.65 GB
Docling
2.97 GB

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.

Web & markup×16Images & OCR×14Documents×12Word & rich text×11Spreadsheets×9Data×6Email×6eBooks & notebooks×6Presentations×2
SHARED COHORTS

The harness records the fixture list and run settings for each cohort. Comparisons use the measurements available for the selected view.

PERCENTILES, NOT AVERAGES

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.

FAILURES COUNT

Recorded extraction errors, timeouts, empty outputs and output with no matching text count toward reliability. Workflow jobs without results leave gaps in coverage.

OPEN HARNESS

The published results identify the fixture cohorts, harness revision, and run settings behind the charts.

Open-source primitives, composed into one backend. Curated cohort of design partners. Apply to work with us.

We value your privacy

Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.