Skip to content

Commit a3df65f

Browse files
committed
chore: bump version to 0.5.3, update README parity numbers
Update Max Compression parity table to reflect the test harness fix (optimize_scans now actually wired up in Rust encoder comparisons).
1 parent 0467587 commit a3df65f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mozjpeg-rs"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
edition = "2021"
55
rust-version = "1.89.0"
66
license = "BSD-3-Clause"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ Reproduce with: `cargo test --release --test parity_benchmark -- --nocapture`
7171
| Full Progressive | 85 | 73,654 | 73,652 | +0.00% | 0.35% |
7272
| Full Progressive | 90 | 94,380 | 94,308 | +0.08% | 0.34% |
7373
| Full Progressive | 95 | 134,253 | 134,074 | +0.13% | 0.40% |
74-
| Max Compression | 75 | 52,789 | 52,480 | +0.59% | 2.12% |
75-
| Max Compression | 85 | 73,654 | 73,353 | +0.41% | 1.25% |
76-
| Max Compression | 90 | 94,380 | 94,120 | +0.28% | 0.59% |
77-
| Max Compression | 95 | 134,253 | 133,721 | +0.40% | 0.81% |
74+
| Max Compression | 75 | 52,632 | 52,480 | +0.29% | 1.08% |
75+
| Max Compression | 85 | 73,615 | 73,353 | +0.36% | 0.87% |
76+
| Max Compression | 90 | 94,487 | 94,120 | +0.39% | 0.84% |
77+
| Max Compression | 95 | 134,095 | 133,721 | +0.28% | 0.64% |
7878

7979
**Configs:** Baseline = huffman opt only. +Trellis = AC trellis. Full = AC trellis + DC trellis + deringing. Max Compression = Full + `optimize_scans: true`. All others use `optimize_scans: false`. All use `force_baseline: true`.
8080

8181
**Key findings:**
8282
- With trellis at Q75, Rust produces **smaller** files than C (-0.15% to -0.24%)
8383
- Without trellis, the consistent +0.21% gap comes from `fast-yuv` color conversion (±1 level rounding)
8484
- Without `optimize_scans`, all configs stay within ±0.25% average, worst-case per-image deviation under 1%
85-
- With `optimize_scans` (Max Compression), within +0.6% average — different scan search heuristics
85+
- With `optimize_scans` (Max Compression), within ±0.4% average — different scan search heuristics find different local optima
8686
- Visual quality (SSIMULACRA2, Butteraugli) is equivalent at all settings
8787

8888
<picture>

0 commit comments

Comments
 (0)