Weblitz and Puppeteer
The numbers times measured 2026-11-25 scores measured 2026-11-19 sizes measured 2026-11-07
| Weblitz | Puppeteer | |
|---|---|---|
| Best case: 200 one-page letters, one threadWeblitz up to 9× faster | 1.3 ms a letter | 12.2 ms a letter |
| On a 2-core Linux x64 server: 200 one-page letters, one threadWeblitz up to 7.5× faster, measured 2026-11-25 in two runs, each run's time | 3.2 and 3.2 ms a letter | 24.5 and 24.3 ms a letter |
| The 17 bench documentsone after another | 177 ms | 548 ms |
| Engine on a Linux server | 119 MB | 441 MB |
| Docker imageWeblitz on Microsoft's .NET 10 runtime; Puppeteer's own image (ghcr.io/puppeteer/puppeteer, Puppeteer 25.16.0) | 330 MB | 2.05 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, Puppeteer in its open source mode (PuppeteerSharp 25.15.0, 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 |
| Puppeteer with Chrome | Windows, macOS, Linux | Free (MIT); you install and patch Chrome |
What each vendor's own pages say, read 2026-11-07; list prices in US dollars, excluding tax.
What Puppeteer does better
Moving from Puppeteer
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 PuppeteerSharp;
using PuppeteerSharp.Media;
await new BrowserFetcher().DownloadAsync();
await using var browser = await Puppeteer.LaunchAsync(new LaunchOptions { Headless = true });
await using var page = await browser.NewPageAsync();
await page.SetContentAsync(html);
var pdf = await page.PdfDataAsync(new PdfOptions
{
Format = PaperFormat.A4,
PrintBackground = true,
MarginOptions = new MarginOptions { 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