Improve Android RenderTest speed
Significantly improves the speed at which Android RenderTest comparisons take place if Bitmap.sameAs returns false. This is done by reducing the number of times we call methods that have to hop through JNI and by bulk editing images instead of going through pixel-by-pixel. Rough benchmarking shows this to result in a ~3x speedup. Bug: 904012 Change-Id: I51dc259df9124c6023572a8510fa87dd435bf2f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1500413Reviewed-by:Justin DeWitt <dewittj@chromium.org> Reviewed-by:
Brian Sheedy <bsheedy@chromium.org> Reviewed-by:
Peter Conn <peconn@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#638233}
Showing
Please register or sign in to comment