From e9bef30d2bcdf41c7b7f20b3517839c37e752f75 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 14 Dec 2006 06:55:58 -0800 Subject: Optimize gradient computations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We update the test suite reference images where needed, (pdiff avoided a few, but most still needed updating). We take advantage of the need for new reference images to shrink some of the giant tests to speed them up a bit. This optimization provides a 2x improvement in linear gradient generation performance (numbers from an x86 laptop): image-rgb paint_linear_rgba_source-512 26.13 -> 11.13: 2.35x speedup █▍ image-rgb paint_linear_rgba_source-256 6.47 -> 2.76: 2.34x speedup █▍ image-rgba paint_linear_rgb_over-256 6.51 -> 2.86: 2.28x speedup █▎ image-rgb paint_linear_rgba_over-512 28.62 -> 13.70: 2.09x speedup █▏ image-rgba fill_linear_rgb_over-256 3.24 -> 1.94: 1.66x speedup ▋ image-rgb stroke_linear_rgba_over-256 5.68 -> 4.10: 1.39x speedup ▍ --- test/operator-source-ref.png | Bin 19763 -> 4422 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'test/operator-source-ref.png') diff --git a/test/operator-source-ref.png b/test/operator-source-ref.png index 9f1a6266..fe59f7fb 100644 Binary files a/test/operator-source-ref.png and b/test/operator-source-ref.png differ -- cgit v1.2.3