Skip to content

RayoPDF 1.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 00:02
· 70 commits to master since this release

Core archives of commit 619071e, built by the Release workflow; SHA256SUMS lists their checksums. The OCR add-on's archives are built and attached by hand (CONTRIBUTING.md, Versions and releases).

RayoPDF 1.1.0: a faster fresh process (record, release check, benchmarks)

The converter of 1.0.0, with byte for byte the same output on every benchmark, made faster as a fresh process:

  • Speed: a one-page PDF in 0.883 ms instead of 0.924 ms, start to exit (median over opendataloader-bench's 200 pages), with 132 page faults instead of 152; the heaviest of those pages, a 4 MB vector drawing, in 14.9 ms instead of 18.1 ms; 2,228 pages a second instead of 2,203 in a running process (the 1.0.0 binary measured alongside on 2026-11-25).
  • How: the base encodings' texts and the BMP's UTF-8 table are built at compile time, a one-shot conversion frees each stage's storage for the stages after it, inflated streams of 1 MiB or more go to huge pages, two hash maps became arrays and an interned table, and JSON numbers are written without snprintf (performance.md).
  • OCR add-on: only the ncnn engine it has always shipped. The options of backends that never shipped (--engine, --tesseract, --lang, --tier medium) are gone, without a deprecation period; the models are 1.0.0's.
  • Tried and refused: a retrained page-furniture model, a table-run model and a WebAssembly SIMD build; each missed its gate (record).
  • Python: the PyPI description's images and links point at the release's files.

The container image: ghcr.io/butterski/rayopdf:1.1.0 (digest sha256:aa5c6d7c2fb3134f654162b633c7beef6c247d786b3406e154c845e9c16c6ab5).