FW: [gs-devel] Poor shading performance. (shfill)
Jeong Kim
jeong at artifex.com
Fri Apr 11 19:28:21 PDT 2003
This mail was rejected by gs-devel-admin. I am re-sending this one.
> -----Original Message-----
> From: gs-devel-admin at ghostscript.com
> [mailto:gs-devel-admin at ghostscript.com]On Behalf Of Jeong Kim
> Sent: Friday, April 11, 2003 12:42 AM
> To: gs-devel at ghostscript.com
> Subject: [gs-devel] Poor shading performance.
>
>
> When rendering the attached file, gs consumes so much time.
> Following is the command line I used and time table.
>
> bin\gswin32c -I.lib -sDEVICE=tiff24nc -sOutputFile=temp.tif -dEPSCrop
> -r72 -dNOPAUSE -dBATCH c:\shade.eps
>
> 36 dpi 0:24sec
> 72 dpi 1:40
> 150 dpi 7:23
> 300 dpi 20:47
>
> The code calls 96 shfills and it takes most of time. A profiling result
> says that
> filling trapezoids is the problem. If I change 1 to 0 in the following
> line, the
> time is greatly reduced.
>
> #define PSEUDO_RASTERIZATION (DROPOUT_PREVENTION && 1) /* Change 1 to 0
> for benchmarking. */
>
> Now I am conducting a benchmark for CPSI, Jaws and Ghostscript.
> For this file, CPSI and Jaws processes in a few seconds.
> I will post whole benchmark results in this week.
>
> Thanks,
>
> Jeong
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shade.zip
Type: application/octet-stream
Size: 220568 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/gs-devel/attachments/20030412/a770ea0a/shade.obj
More information about the gs-devel
mailing list