Skip to content

docs(benchmark): add performance benchmarks for RGB→YUV conversion#11

Merged
flexiondotorg merged 1 commit intomainfrom
swresample
Nov 27, 2025
Merged

docs(benchmark): add performance benchmarks for RGB→YUV conversion#11
flexiondotorg merged 1 commit intomainfrom
swresample

Conversation

@flexiondotorg
Copy link
Contributor

  • Document that custom Go implementation is 8.4× faster than FFmpeg's swscale
  • Add detailed benchmarking code in sws_benchmark_test.go comparing implementations
  • Update architecture documentation with benchmark results and extraction potential
  • Add justfile targets for running YUV conversion benchmarks

The parallelized Go implementation significantly outperforms FFmpeg's single-threaded
swscale across multiple CPU cores, making it a strong candidate for extraction as a
standalone Go module.

- Document that custom Go implementation is 8.4× faster than FFmpeg's swscale
- Add detailed benchmarking code in `sws_benchmark_test.go` comparing implementations
- Update architecture documentation with benchmark results and extraction potential
- Add justfile targets for running YUV conversion benchmarks

The parallelized Go implementation significantly outperforms FFmpeg's single-threaded
swscale across multiple CPU cores, making it a strong candidate for extraction as a
standalone Go module.
@flexiondotorg flexiondotorg merged commit f6399b7 into main Nov 27, 2025
0 of 4 checks passed
@flexiondotorg flexiondotorg deleted the swresample branch November 27, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant