--- license: mit pretty_name: WebGPU video upscaler tests (Real-ESRGAN general-x4v3 in the browser) task_categories: - image-to-image tags: - video-upscaling - super-resolution - real-esrgan - webgpu - onnx size_categories: - n<1K configs: - config_name: comparisons data_files: comparisons.csv - config_name: speed data_files: speed.csv --- # WebGPU video upscaler tests Measured results for [webgpu-video-upscaler](https://github.com/flreey/webgpu-video-upscaler), an MIT-licensed video upscaler that runs Real-ESRGAN general-x4v3 with ONNX Runtime Web on WebGPU, inside a browser tab. It is the engine behind [tohd.video](https://tohd.video). I'm on the team that builds it. ## Files - **`comparisons.csv`**: three before/after frames from our own tests on free stock footage, scaled down or blurred on purpose and then upscaled. Each row has the problem, the input and output size, links to the "before" (normal resize) and "after" (AI enhance) frames, and the page where the sample is shown. - **`speed.csv`**: per-frame timings. All numbers come from one machine: an Apple M2 Max (38-core GPU) in a Chromium-based browser with WebGPU, on 8 Nov 2026. No other devices have been measured yet. ## What the tests show - Low resolution (360p → 720p, 480p → 1080p): visibly sharper; text strokes, whiskers and eyelashes come back as clean lines. - Slight defocus: better. Motion blur: **not fixed**. - Heavy compression: slightly better; blocks are smoothed, lost detail does not come back. - fp16 gives the same output as fp32 (same PSNR in our test) and was 5 to 8 times faster at 360p. ## Limits One machine only, so speed on other GPUs, phones and integrated laptop GPUs is unknown. Output is capped at 1080p on the short side. The frames are hosted on tohd.video; the source footage is from Pexels. Write-up with the full tables: https://tohd.video/open-source-video-upscaler