diff options
author | David Turner <david@alice.localdomain> | 2006-12-14 06:55:58 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-12-14 09:27:45 -0800 |
commit | e9bef30d2bcdf41c7b7f20b3517839c37e752f75 (patch) | |
tree | d13cb712d4048ee1c2faa334c3007d3dd0dd24c4 /test/trap-clip-ref.png | |
parent | af9cce6aa295327b5256f55900b3debf9112b6ca (diff) |
Optimize gradient computations
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
▍
Diffstat (limited to 'test/trap-clip-ref.png')
-rw-r--r-- | test/trap-clip-ref.png | bin | 71832 -> 5723 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/trap-clip-ref.png b/test/trap-clip-ref.png Binary files differindex 3ce2431d2..93302976b 100644 --- a/test/trap-clip-ref.png +++ b/test/trap-clip-ref.png |