Skip to content

v0.3.0-beta.4-r2

Choose a tag to compare

@github-actions github-actions released this 05 Nov 09:58
· 216 commits to main since this release

Warning

YANKED — do not pin this release. Encodes a rebuild in the version string: under SemVer §11 0.3.0-beta.4-r2 sorts above 0.3.0-beta.10, so a resolver reads this eleven-day-old release as the newest.
Superseded by v0.4.0, which is the first release under the current version scheme. The asset below is left in place because published artefacts are immutable.

Blitz-based renderer CLI, built from e730eac6fdd3a429abd3cb7841e0d5c83289e88e.

Dynamically linked, not static: the Runtime deps row below lists every shared
library it needs, and ldd on the asset prints the same list.

Asset html-render_0.3.0-beta.4-r2_linux_amd64.tar.gz
Binary html-render, 25M, single file
Runtime deps 13 system libraries: glibc, libssl/libcrypto, freetype, fontconfig, expat, png, zlib, bz2, brotli
glibc floor 2.35 (asserted at build time)
Built on ubuntu-22.04
Blitz pin see Cargo.toml at this tag

Install:

V=v0.3.0-beta.4-r2
curl -fsSL -O "https://github.com/leshchenko1979/html-render/releases/download/$V/html-render_0.3.0-beta.4-r2_linux_amd64.tar.gz"
sha256sum -c <(curl -fsSL "https://github.com/leshchenko1979/html-render/releases/download/$V/checksums.txt")
tar xzf "html-render_0.3.0-beta.4-r2_linux_amd64.tar.gz"
install -m755 html-render /usr/local/bin/html-render

Not a browser: renders JS-free HTML/CSS to PNG.

Measured on a 12-slide, 4 MB deck at 2560x1440, in --scroll mode: 5.37 s
against headless Chromium's 13.36 s — 2.49x faster. Mode matters: the default
--clip mode on the same deck takes 5.72 s, so the headline is the fastest mode,
not the one you get without asking. The RSS figures published for that deck —
93.4 MiB against 858 MiB — are largest single process, not the process tree;
measured on a deck in the repo, Chromium's tree peaks 5.7-6.1x above its
largest process while html-render is one process, so the real memory gap is
wider than the 9.19x those two numbers give. 4.13% of pixels differ by more than
16 levels (glyph antialiasing, not layout), and ten renders of the same input are
byte-identical for documents whose resources are local or data: URIs.

Every figure is reproduced from your own deck with
python3 tools/gates.py --deck <path>; see GATES.md at this tag.