Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
CL 21910 sped up image/color BenchmarkYCbCrToRGB and image/draw BenchmarkYCbCr considerably by removing branches. Investigate doing this for other, similar conversions.
cc @martisch @nigeltao
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/22411 mentions this issue.
Sorry, something went wrong.
image/color: optimize RGBToYCbCr
Apply optimizations used to speed up YCbCrToRGB from
name old time/op new time/op delta
RGBToYCbCr/0-2 6.81ns ± 0% 5.96ns ± 0% -12.48% (p=0.000 n=38+50)
RGBToYCbCr/Cb-2 7.68ns ± 0% 6.13ns ± 0% -20.21% (p=0.000 n=50+33)
RGBToYCbCr/Cr-2 6.84ns ± 0% 6.04ns ± 0% -11.70% (p=0.000 n=39+42)
Reviewed-by: Josh Bleecher Snyder <firstname.lastname@example.org>
Run-TryBot: Josh Bleecher Snyder <email@example.com>
TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
Reviewed-by: Ralph Corderoy <email@example.com>
CL https://golang.org/cl/31773 mentions this issue.
Successfully merging a pull request may close this issue.