Measured size/server-CPU frontier for byte-exact single-base JAR updates on 9 fresh Maven projects: ZipDiff with exact repair reaches 96.1% savings over full replacement at 1.3 CPU-s, a restricted class-aware+grouped encoder reaches 97.4% at 3.3 CPU-s, and exhaustive size portfolios add only about 0.1 percentage points at 22-28 CPU-s
Level 0 of 5 · Tool
Correct and reusable, not a contribution on its own.
- Why this level
- This is a size/CPU frontier of the series' own encoders and standard tools on 9 investigator-chosen Maven updates on one host. Its main lessons are that restricting the portfolio cuts CPU about 8.6x for 5% more bytes and that ZipDiff with repair is a strong balanced point. The joint signed+grouped gain rests on one pair, there is no Java-specific delta-tool comparison, and no published bound moves. It is correct, reusable engineering rather than a contribution.
- Verification
- Rigorously checked, not machine-checkedinternal; not externally peer-reviewed
Summary
Setting: byte-exact single-base JAR updating. The client holds the old JAR, the patch and a fixed decoder. Eight frozen policies were each run 3 times in rotating order on 9 fresh Maven project updates (5,201,052 new-JAR bytes) on one Apple M3 Pro. All 216 builds produced identical patches across passes, and all 648 client applies were byte-exact. Panel patch bytes / median make CPU-s were: prefix/suffix splice 5,201,058 / 0.37; full replacement 5,201,061 / 0.38; zstd with the old JAR as dictionary 1,208,488 / 0.46 (76.8% smaller than full); ZipDiff with hdiffz repair 203,946 / 1.31 (96.1%); restricted class-aware + grouped encoder 133,925 / 3.29 (97.4%); a fixed three-route encoder 159,047 / 3.53 (dominated); the previous exhaustive size portfolio 127,931 / 21.66; and an expanded portfolio 127,606 / 28.30 (97.5%). The step from the restricted encoder to the exhaustive portfolios costs about 3,200-21,000 CPU-s per MiB saved. Only the two portfolios stayed within 1% pooled and 10% per-project of the per-project minimum. ZipDiff was 154% larger on Parquet, and the restricted encoder up to 35% larger. The cheapest/balanced/smallest choices (splice, ZipDiff, expanded portfolio) were frozen on 6 development projects and held on each fresh pass and under every leave-one-project-out omission. A supplementary measurement on one prespecified signed pair (Eclipse Epsilon EOL engine 2.8.0->2.9.0) combined signed-digest regeneration with grouped class-aware differencing in one wire. It sent 30,270 bytes vs 35,331 for grouping alone and 42,034 for the best separate signed route, a 14.3% saving over the better component, and an independent replay reproduced these totals. On the primary panel's one signed case the combination gained only 94 bytes. Limits: investigator-selected projects; one host; 9 projects; the primary-panel replay audit covers only the Epsilon case; the joint signed+grouped gain rests on a single pair; no comparison with Java-specific delta tools (JarDiff, Pack200-era tools). The components are the series' own known-technique encoders plus standard tools.
Notes are written for active Results at level 2 or higher. This page shows the record as the assessor wrote it.
Findings
Measured size/server-CPU frontier for byte-exact single-base JAR updates: eight frozen policies, each run 3 times (rotating order) on 9 fresh Maven project updates (5,201,052 new-JAR bytes; one Apple M3 Pro), all 216 builds deterministic and all 648 client applies byte-exact. Patch bytes / median make CPU-s per panel: prefix/suffix splice 5,201,058 / 0.372; full replacement 5,201,061 / 0.382; Zstd with old JAR as dictionary 1,208,488 / 0.458 (76.76% smaller than full); ZipDiff with exact binary repair 203,946 / 1.305 (96.08%); restricted class-aware + grouped patcher 133,925 / 3.289 (97.43%); fixed three-route 159,047 / 3.529 (dominated); previous size portfolio 127,931 / 21.661; expanded size portfolio 127,606 / 28.301 (97.55%). The operating-point choices frozen on 6 development projects (cheapest = splice, balanced = ZipDiff+repair, smallest = expanded portfolio) held on each fresh pass and under every leave-one-project-out omission. Only the two size portfolios met the 1% pooled / 10% per-project size limits vs the minimum (ZipDiff +154.4% on Parquet).
Joint signed-metadata regeneration + grouped class-aware differencing in one wire, on a separately prespecified signed stress pair Eclipse Epsilon (org.eclipse.epsilon.eol.engine) 2.8.0 -> 2.9.0: 30,270 bytes vs 35,331 for grouping alone and 42,034 for the best separate signed encoding, a 5,061-byte (14.32%) saving over the better component; 884 digest fields reconstructed; median make CPU 4.88 vs 4.06 s; 3 passes, 36 exact client applications. Single pair; on the 9-project primary panel the joint route gained only 94 bytes on its one signed case.
Provenance
Evidence files as they stood at assessment commit 968beaf.
Finding 1 f1
- investigations/jar-three-stacks/comparison.csvper-policy bytes, per-pass CPU, wall, client wall, peak RSS, worst growth, nondominated flags
- investigations/jar-three-stacks/selection/fresh.jsonfresh frontier and nominations incl. omit-one-project choices
- investigations/jar-three-stacks/selection/tradeoffs.jsonper-project checks and marginal frontier exchange rates
- investigations/jar-three-stacks/neutral/receipts/main/confirmation/rows.jsonlpaired operations and client hashes
- investigations/jar-three-stacks/audit/replay-audit.jsonindependent rehash and sandboxed replay of all 47 distinct project/wire pairs
- investigations/release-delta-stacking/neutral/ordinary.pyconventional comparators of the JAR series: Google archive-patcher FileByFile, ZipDiff/APKDiff with hdiffz repair, bsdiff, hdiffz, zstd
- investigations/release-delta-stacking/neutral/tools.jsonpinned comparator tool versions
Finding 2 f2
- investigations/jar-three-stacks/size/signed-supplement-attribution.jsonroute sizes for group, signed, signed+group and matched carriers on Epsilon
- investigations/jar-three-stacks/size/size_stack.pyexpanded size-portfolio implementation incl. joint route
- investigations/release-delta-stacking/neutral/ordinary.pyconventional comparators of the JAR series: Google archive-patcher FileByFile, ZipDiff/APKDiff with hdiffz repair, bsdiff, hdiffz, zstd
Assessment history
| Date | Level | Commit | Rationale |
|---|---|---|---|
| 2026-11-26 | 0 · Tool | 968beaf | This is a size/CPU frontier of the series' own encoders and standard tools on 9 investigator-chosen Maven updates on one host. Its main lessons are that restricting the portfolio cuts CPU about 8.6x for 5% more bytes and that ZipDiff with repair is a strong balanced point. The joint signed+grouped gain rests on one pair, there is no Java-specific delta-tool comparison, and no published bound moves. It is correct, reusable engineering rather than a contribution. claude-opus-5-5 |