PDF benchmarks
PDF performance compared with other .NET libraries: structured and HTML-to-PDF generation, merge, split, page selection and text extraction.
Each table compares libraries doing the same validated work on one machine and one operating system. Lower is better. Pick another run to switch operating system or run type.
Independent PDF corpus text extraction (affinity-0xffff0000)
OfficeIMO.Pdf.CorpusTextExtraction · compared with OfficeIMO, PdfPig, iText
HTML 21 KiB payload to PDF
OfficeIMO.Pdf.Html21KiBPayload · compared with OfficeIMO, PeachPDF, PdfPecker
HTML 21 KiB payload to PDF (affinity-0xffff0000)
OfficeIMO.Pdf.Html21KiBPayload · compared with OfficeIMO, PeachPDF, PdfPecker
HTML to PDF
OfficeIMO.Pdf.HtmlGeneration · compared with OfficeIMO, PeachPDF, PdfPecker, iText pdfHTML, Chromium
- HTML to PDF · linux · full · AMD Ryzen 9 9950X3D2 · 2026-08-30T16:28 · result JSON
- HTML to PDF · linux · quick · AMD Ryzen 9 9950X3D2 · 2026-08-23T17:29 · result JSON
- HTML to PDF · windows · full · AMD Ryzen 9 9950X3D2 · 2026-08-30T16:06 · result JSON
- HTML to PDF · windows · quick · AMD Ryzen 9 9950X3D2 · 2026-08-23T17:08 · result JSON
PDF merging
OfficeIMO.Pdf.Merge · compared with OfficeIMO, iText, PDFsharp
PDF page selection
OfficeIMO.Pdf.PageSelection · compared with OfficeIMO, iText, PDFsharp
PDF splitting
OfficeIMO.Pdf.Split · compared with OfficeIMO, iText, PDFsharp
Structured PDF generation (affinity-0xffff)
OfficeIMO.Pdf.StructuredGeneration · compared with OfficeIMO, QuestPDF, MigraDoc, iText
Structured PDF generation (affinity-0xffff0000)
OfficeIMO.Pdf.StructuredGeneration · compared with OfficeIMO, QuestPDF, MigraDoc, iText
PDF text extraction (affinity-0xffff0000)
OfficeIMO.Pdf.TextExtraction · compared with OfficeIMO, PdfPig, iText
How to read these results
Full runs are complete BenchmarkDotNet measurements and support comparisons. Quick runs are shorter diagnostic runs, shown for coverage. Each result links to its raw JSON, the source commit and the exact environment. Run the suites on hardware close to yours before deciding.
Benchmark reproduction guide · Earlier Excel and CSV measurements