Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bench
command
Command bench times html2pdf against headless Chrome's own print-to-PDF on the same inputs — the corpus URLs plus self-contained local fixtures — and writes BENCH.md, in the spirit of engine-webengine/bench.
|
Command bench times html2pdf against headless Chrome's own print-to-PDF on the same inputs — the corpus URLs plus self-contained local fixtures — and writes BENCH.md, in the spirit of engine-webengine/bench. |
|
breakcheck
command
Command breakcheck renders the fragmentation fixture (fixtures/breaks.html) with html2pdf and reports, marker by marker, the page each lands on against Chrome's answer key (fixtures/breaks.expected.tsv, recorded once with `chrome --headless --print-to-pdf`): a page break that CSS asked for either happened where a browser put it or it did not.
|
Command breakcheck renders the fragmentation fixture (fixtures/breaks.html) with html2pdf and reports, marker by marker, the page each lands on against Chrome's answer key (fixtures/breaks.expected.tsv, recorded once with `chrome --headless --print-to-pdf`): a page break that CSS asked for either happened where a browser put it or it did not. |
|
corpus
command
Command corpus fetches each URL in urls.txt, renders it with html2pdf, and records whether it survived, how big the result is, and how much text came out the other end — a repeatable signal for real-world robustness, in the spirit of engine-webengine's own bench/ harness.
|
Command corpus fetches each URL in urls.txt, renders it with html2pdf, and records whether it survived, how big the result is, and how much text came out the other end — a repeatable signal for real-world robustness, in the spirit of engine-webengine's own bench/ harness. |
|
longdoc
command
Command longdoc writes a deterministic, self-contained long HTML document — headings, prose, tables, code blocks, styled inline runs, inline CSS only, no external resource — so a renderer can be timed on pure layout+paint with nothing on the network for either side of a comparison.
|
Command longdoc writes a deterministic, self-contained long HTML document — headings, prose, tables, code blocks, styled inline runs, inline CSS only, no external resource — so a renderer can be timed on pure layout+paint with nothing on the network for either side of a comparison. |
|
internal
|
|
|
mdreport
Package mdreport writes a generated Markdown report while preserving the hand-written analysis a previous run left below a marker line — the convention engine-webengine/bench established for its REPORT.md, shared here by the corpus and bench harnesses so a re-run never clobbers notes.
|
Package mdreport writes a generated Markdown report while preserving the hand-written analysis a previous run left below a marker line — the convention engine-webengine/bench established for its REPORT.md, shared here by the corpus and bench harnesses so a re-run never clobbers notes. |
|
pdfstat
Package pdfstat counts things in a PDF — link annotations above all — through go-pdfkit/reader, the org's own parser: cross-reference streams, object streams and filters are its job, so a document written with PDF 1.5 object streams (where the annotation dictionaries live packed and compressed) counts the same as a classic one, and a count is a count of objects on pages rather than of a byte pattern in the file.
|
Package pdfstat counts things in a PDF — link annotations above all — through go-pdfkit/reader, the org's own parser: cross-reference streams, object streams and filters are its job, so a document written with PDF 1.5 object streams (where the annotation dictionaries live packed and compressed) counts the same as a classic one, and a count is a count of objects on pages rather than of a byte pattern in the file. |
Click to show internal directories.
Click to hide internal directories.