Weblitz and Playwright
The numbers times measured 2026-11-25 scores measured 2026-11-19 sizes measured 2026-11-07
| Weblitz | Playwright | |
|---|---|---|
| Best case: 200 one-page letters, one threadWeblitz up to 9.6× faster | 1.3 ms a letter | 13 ms a letter |
| On a 2-core Linux x64 server: 200 one-page letters, one threadWeblitz up to 7.8× faster, measured 2026-11-25 in two runs, each run's time | 3.2 and 3.2 ms a letter | 25.2 and 27.1 ms a letter |
| The 17 bench documentsone after another | 177 ms | 562 ms |
| Engine on a Linux server | 119 MB | 876 MB |
| Docker imageWeblitz on Microsoft's .NET 10 runtime; Playwright's .NET image (mcr.microsoft.com/playwright/dotnet, v1.64.1-noble: the .NET SDK and three browsers) | 330 MB | 3.59 GB |
| Its PDFs beside Chrome'sthe same tool for both, the 17 documents | 99.9% | Chrome itself |
On an Apple M4 Pro laptop, .NET 10, both warm, Playwright in its open source mode (1.64.1, Chrome 156), Weblitz unlicensed. A time is the mean of two runs, the libraries in opposite orders; the best case is the measure, among those both printed in full, where Weblitz was furthest ahead, floored. Weblitz's score above is the same tool's as theirs; its own bench gives it 100% on the bench's box-by-box comparison with Chrome's own PDFs. Every measure: the run's data and the scores, page by page; how each was made: the measurements.
Where it runs, and what it costs read 2026-11-07
| Runs on, as its vendor says | List price | |
|---|---|---|
| Weblitz | Windows, Linux and macOS (x64, ARM64), Alpine with gcompat; Azure App Service on Windows, checked page for page | In the SSRS2 licence: USD 799 a year for the whole company, with SSRS2's report engine |
| Playwright with Chrome | Windows 11 and Server 2019 or later, macOS 14 or later, Debian and Ubuntu (x64, ARM64); not Alpine | Free (open source); you install and patch the browsers |
What each vendor's own pages say, read 2026-11-07; list prices in US dollars, excluding tax.
What Playwright does better
Moving from Playwright
One HTML page to PDF bytes, before and after. Weblitz's options carry Puppeteer's page.pdf() names; nothing to download, start or keep alive.
using Microsoft.Playwright;
using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync();
var page = await browser.NewPageAsync();
await page.SetContentAsync(html);
var pdf = await page.PdfAsync(new PagePdfOptions
{
Format = "A4",
PrintBackground = true,
Margin = new Margin { Top = "20mm", Bottom = "20mm" },
});using WeblitzPdf;
var pdf = HtmlToPdf.Render(html, new HtmlPdfOptions
{
Format = "A4",
PrintBackground = true,
Margin = new HtmlMargins(Top: "20mm", Bottom: "20mm"),
}).Pdf;dotnet add package WeblitzPdf --prerelease