diff --git a/README.md b/README.md index 081cf1b..1a4e75b 100644 --- a/README.md +++ b/README.md @@ -1430,12 +1430,15 @@ PSNR on some. Speed, one core of a Ryzen 9 7950X (load about 2), 1280x720 to 1920x1080, ms per frame: ffmpeg 6.1.1 `scale` bilinear 3.3, bicubic 2.0, lanczos 2.8 (source and -conversion subtracted) against `upscale` 242 scalar (EASU alone 193) and **82 with -`GOEXPERIMENT=simd`** (EASU alone 73), the portable Go 1.27 `simd` package on -AVX2/AVX-512 and NEON; the scalar build is the default and the two agree within -`ErrorBound`. Still about 30 times slower than ffmpeg's hand-written scaler, which -is an open defect (the 12-tap gather per output pixel dominates), so it suits -stills, offline work and small frames, not real-time 1080p. +conversion subtracted) against `upscale` 242 scalar (EASU alone 193) and **55 with +`GOEXPERIMENT=simd`** (EASU alone 44; 82 and 73 before v0.23.0), the portable Go +1.27 `simd` package on AVX2/AVX-512 and NEON; the scalar build is the default and +the two agree within `ErrorBound`. v0.23.0 gathers each source row's taps once, +computes the edge analysis once per source pixel and packs RGBA with vectors. +Still about 20 times slower than ffmpeg's hand-written scaler, which is an open +defect (what is left: the scalar gather, the input conversion and the EASU +arithmetic, in roughly equal shares), so it suits stills, offline work and small +frames, not real-time 1080p. Reproduce both tables with `tools/fsrbench` (its own module; needs `ffmpeg` on the PATH): `go run ./tools/fsrbench quality --gt in.png --dir ` and