[gs-devel] 'null' output device?

Jeroen Janssen jeroen.janssen at gmail.com
Fri Aug 31 07:37:49 PDT 2007


Hello,

I'm going to run some tests that will result in lots of (bitmap)
output if I save it it to disk, so
I was wondering which device can be used to measure the 'raw'
performance of ghostscript rendering without saving the output to disk
(a 'null' output device?).

I found the 'bounding box' device, but the source states:
 * One way to use a bounding box device is simply to include bbox.dev in the
 * value of DEVICE_DEVSn in the makefile.  This produces a free-standing
 * device named 'bbox' that can be selected in the usual way (-sDEVICE=bbox)
 * and that prints out the bounding box at each showpage or copypage without
 * doing any drawing.

And (I think) this means that the bouding box will not perform the
actual drawing (and thus will not result in correct performance
results).

Any ideas / suggestions?

Thanks in advance,

Jeroen Janssen



More information about the gs-devel mailing list