[gs-devel] Check for the CPU stack size
SaGS
sags5495 at hotmail.com
Wed Feb 7 04:33:50 PST 2007
Hello all,
Recently I've seen some interest in updating/ tweaking the test procedure.
Especially given the regression signaled in bug #688998 "Rev 7200 cannot
start on Windows NT", I wonder if there would be interesting to include
tests for the amount of CPU stack used/needed by Ghostscript.
I already have some Windows code that adds used stack info to the output
produced by "-Z:". There's also an implementation for Linux, but I'm not a
specialist there so maybe there's a better solution than mine. On other
platforms, patched GS behaves exactly as without the patch. If you consider
this would be helpful, I'll clean up the code and post it.
Note: By "stack used" I mean a reasonable estimate of the maximum stack ever
used by the running instance, up to the moment it prints the information,
and not the the stack size that's current when printing the info (which can
be much smaller). Thus the final "... time ... memory ... stack = <NN>k"
reflects the total stack size needed for processing the file(s)/ command(s)
given.
sags
More information about the gs-devel
mailing list