1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Local developer gates mirroring CI. `make hooks` once to enable the pre-push hook.
:
## Run the same deterministic gates CI enforces (fmt, clippy, no_std, wasm, tests).
:
## Enable the version-controlled git hooks (pre-push runs `make check`).
:
## Opt-in profile-guided optimization build (layers PGO over fat-LTO). Trains on
## the corpus, then PGO-rebuilds the `djvu` CLI. ~15% faster cold render; see the
## "PGO" entry in PERF_EXPERIMENTS.md. Needs the llvm-tools-preview component.
:
## Build the shipped browser WASM package: scalar fallback + simd128 variant
## selected at runtime via WebAssembly.validate. Pass OUT=... or FEATURES=...
## to override the generated package directory or wasm feature set.
:
## Opt-in wasm32 thread-pool build check (`wasm-threads` feature, rayon via
## wasm-bindgen-rayon). Needs nightly + `-Z build-std` — NOT a required CI gate
## and NOT part of `scripts/check.sh`/`make check`. See WASM_THREADS in
## PERF_EXPERIMENTS.md. Pass `ARGS=--build` for a full release build+link.
:
## Reproduce the DjVuLibre conformance gate and write conformance_site/ (#682).
:
## Verify Python/npm packaging versions track the crate version (#692).
:
## Measure `djvu encode` peak RSS vs. page count (6/12/24 by default) and
## report the marginal MB/page slope. Not a CI gate — an on-demand
## measurement harness for the encoder peak-memory investigation; see
## PERF_EXPERIMENTS.md, "Encoder peak-memory measurement harness".
## Override via env vars (FIXTURE, PAGE_COUNTS, QUALITY, OUT_DIR, ...); see
## scripts/encode_rss_scaling.sh --help.
: