Independent guide — not affiliated with IBM or the Docling project. Every command verified on Docling 2.150.0.
  1. Home
  2. Performance
Performance

How fast is Docling? We measured every stage.

We converted the same 9-page PDF with four configurations, three warm runs each, and recorded Docling's own per-stage profiling. The result is clear: on born-digital PDFs, most of the default time goes to OCR you probably don't need.

Verified on Docling 2.150.0Updated 6 Nov 2026Includes our own measurements8 min read
In short
  • Default settings: 2.9 s/page on 4 vCPUs. OCR alone took 16 of 26 seconds.
  • --no-ocr: 1.3 s/page (2.2× faster) with the same body text; you lose text inside images.
  • --table-mode fast on top: 2.0 s/page. Skipping the table model: 1.3 s/page.
  • A scanned PDF that genuinely needs OCR ran at about 15 s/page on CPU — that is where a GPU pays off.

The headline numbers#

Seconds per page, by Docling configuration9-page born-digital PDF (Docling technical report), median of 3 warm runs on a 4-vCPU cloud machine with no GPU.
0.01.02.03.0Default (OCR auto + tables)2.85 sOCR off1.30 sOCR off + fast tables1.13 sOCR off + no table model0.93 s

Measured by docling.org with Docling 2.150.0. Lower is better.

Show data table
Seconds per page, by Docling configuration
s/page
Default (OCR auto + tables)2.85 s
OCR off1.30 s
OCR off + fast tables1.13 s
OCR off + no table model0.93 s
ConfigurationCLI flagsMedian, 9 pagesPer page
Default—25.7 s2.85 s
OCR off--no-ocr11.7 s1.30 s
OCR off + fast tables--no-ocr --table-mode fast10.2 s1.13 s
OCR off + no table model--no-ocr --no-tables8.3 s0.93 s

Where the time goes#

Where the time goes: model time per stageSeconds summed over all 9 pages. The threaded pipeline overlaps stages, so the sum can exceed wall-clock time.
LayoutOCRTablesParse + assemble
0s10s20s30s40sDefault (OCR auto + tables)32.6sOCR off16.7sOCR off + fast tables11.4sOCR off + no table model8.3s

Docling profiling timings (settings.debug.profile_pipeline_timings), measured by docling.org.

Show data table
Where the time goes: model time per stage
LayoutOCRTablesParse + assembleTotal
Default (OCR auto + tables)8.916.17.20.432.6
OCR off8.30.07.90.416.7
OCR off + fast tables7.10.03.90.511.4
OCR off + no table model8.00.00.00.48.3

With default settings, OCR dominates. The technical report is a born-digital PDF, so its text comes straight from the file — OCR only ran on the embedded figures (screenshots and charts), which still cost 16 seconds across 9 pages. In exchange it found about 5,000 more characters of text inside those images (34,069 vs 29,042 characters of Markdown).

How we measured#

  • Machine: 4 vCPU x86_64 cloud instance, 15 GB RAM, no GPU, Linux, Python 3.13, PyTorch 2.15.0 CPU build.
  • Software: Docling 2.150.0, docling-parse 7.25.0, docling-ibm-models 4.0.4; default models (Heron layout, TableFormer accurate, RapidOCR via the auto engine).
  • Document: the Docling Technical Report, arXiv 2408.09869 — 9 pages, 3 tables, several figures.
  • Method: one DocumentConverter per configuration, one warm-up conversion, then three timed conversions in the same process; we report the median. Stage times come from Docling's built-in profiler (settings.debug.profile_pipeline_timings = True).

Run the same profile on your own documents:

bash
docling convert your.pdf --profiling                # prints a per-stage table
docling convert your.pdf --profiling --save-profiling   # also writes it as JSON

Cold start vs warm#

A new process pays for model loading. For the OCR-off configuration our first conversion took 16.8 s; the next three took 11.7 s (median). In a service or batch job, create the converter once and reuse it — or use docling-serve, which loads models at boot.

Scanned documents#

Scanned PDF: share of the original words recovered4 pages rasterised at 150 DPI with slight blur and skew. Tools without OCR return almost nothing.
0255075100Unstructured99.7%Marker97.2%Docling94.2%PyMuPDF4LLM93.8%MarkItDown0.0%

Measured by docling.org on 27 Oct 2026 (Docling 2.143.1): unique words (≥4 letters) of the born-digital text found in each output.

Show data table
Scanned PDF: share of the original words recovered
Words recovered
Unstructured99.7%
Marker97.2%
Docling94.2%
PyMuPDF4LLM93.8%
MarkItDown0.0%

We rasterised the first four pages of the same paper at 150 DPI with slight blur and skew, so there was no text layer at all. On 2.150.0, with a scan re-made the same way, Docling's default pipeline recovered 93.3% of the original words at 10.9 s/page on CPU. Swapping its OCR engine to Tesseract gave 96.1% at 4.6 s/page, and RapidOCR on onnxruntime halved the default time (5.2 s/page) with identical output. The cross-tool chart above is from our 27 October run with Docling 2.143.1 on the original scan copy (94.2% at 20.4 s/page): MarkItDown, which has no local OCR, returned nothing, and PyMuPDF4LLM returned nothing until Tesseract was installed. For volumes of scanned documents, a CUDA GPU or Apple Silicon makes the biggest difference — see the OCR guide for engine choices.

Settings that change speed#

SettingCLIEffect
Skip OCR--no-ocr2.2× faster in our test on a born-digital PDF
Fast tables--table-mode fast13% faster end-to-end in our test
Threads--num-threads N (default 4)Use your physical core count
Device--device auto|cpu|cuda|mps|xpuauto picks the best available
Page batch--page-batch-size N (default 4)Larger batches help on GPUs
Fewer pages--page-range 1-5Only convert what you need
Safety net--document-timeout 300Partial result instead of a stuck job
No models at all--pipeline native (+ --parser-threads N)Model-free: only the PDF's own text cells and images — no layout, headings, reading order or tables. Fastest, least structured.
Memory--release-native-memory-every-n-pages N (default 128)Lower it if long documents use too much RAM

The Python equivalents live in PdfPipelineOptions and AcceleratorOptions — see the Python API guide.

What IBM reports#

The Docling technical report (v1, August 2024) measured an older version on a 225-page test set with OCR disabled: 1.27–1.34 pages/s on an Apple M3 Max and 0.60–0.92 pages/s on an Intel Xeon E5-2690, using 4 and 16 threads. Those are faster machines than ours and an older Docling, so treat the numbers as context rather than a comparison.

Frequently asked questions

How long does Docling take per page?

On our 4-vCPU test machine without a GPU, Docling 2.150.0 took 2.9 seconds per page with default settings, 1.3 seconds per page with OCR disabled, and about 15 seconds per page on a scanned document that needed full OCR. Your numbers depend on CPU, GPU and document type.

How do I make Docling faster?

Disable OCR for born-digital PDFs (--no-ocr), use --table-mode fast, convert only the pages you need (--page-range), raise --num-threads on machines with more cores, reuse one DocumentConverter, and use a GPU for OCR-heavy or VLM workloads.

Does Docling use the GPU automatically?

Yes. With --device auto (the default) Docling picks CUDA, then Apple MPS, then Intel XPU, then CPU, provided your PyTorch build supports that device.

Why is the first Docling run so slow?

The first run downloads and loads the models. In our test the first conversion in a fresh process took 16.8 seconds versus 11.7 seconds for the same document once the models were loaded.

Sources