From 5b84b4e68384d852f4eccd991a2472939d3184e3 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 29 Nov 2026 16:23:50 +0100 Subject: [PATCH] README: upscale speed after v0.24.0 (37 ms EASU+RCAS, 28 ms EASU) Co-Authored-By: Claude Sonnet 5.5 --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1a4e75b..a6db433 100644 --- a/README.md +++ b/README.md @@ -1430,12 +1430,13 @@ 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 **55 with -`GOEXPERIMENT=simd`** (EASU alone 44; 82 and 73 before v0.23.0), the portable Go +conversion subtracted) against `upscale` 242 scalar (EASU alone 193) and **37 with +`GOEXPERIMENT=simd`** (EASU alone 28; 55 and 44 at v0.23.0, 82 and 73 before), 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 +computes the edge analysis once per source pixel and packs RGBA with vectors; +v0.24.0 gathers with AVX-512 permutes, converts YCbCr inline and hoists the +per-row broadcasts. Still about 13 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.