DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25480>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25480 [PATCH] Experimental performance improvements. ------- Additional Comments From [EMAIL PROTECTED] 2003-12-12 20:39 ------- I tested this in a recent copy of Fop HEAD and ran in to a couple of exceptions: My test includes the corrections for the FNF problem I reported last week. The test I run is from the 'root' directory of the distribution (contains build.sh) and is as follows: 1) time find test -name "*.fo" -print -exec ./test.sh {} \; 2>test1 1>&2 2) time find test -name "*.fo" -print -exec ./test.sh {} \; 2>test2 1>&2 Where 'test.sh' contains: ############################################################################## #!/bin/sh echo java -Xms100m -Xmx200m -cp .:build/fop.jar:lib/avalon-framework-4.1.4.jar:lib/batik.jar:lib/commons-io-dev-20030703.jar org.apache.fop.apps.Fop -fo ${1} -pdf /tmp/$$.pdf java -Xms100m -Xmx200m -cp .:build/fop.jar:lib/avalon-framework-4.1.4.jar:lib/batik.jar:lib/commons-io-dev-20030703.jar org.apache.fop.apps.Fop -fo ${1} -pdf /tmp/$$.pdf ############################################################################## The result is close but not perfect. I have attached 'test1' and 'test2' and you may use a diff tool to find the exception. [Most differences are due to the different PID no's assigned to the temp PDF files. This approach would be improved if I were to 'ls -l /tmp/$$.pdf' to show the output file sizes.] The following exception shows up twice in my tests. > Exception in thread "main" java.lang.RuntimeException: Insert into unknown slot 175 > at org.apache.fop.fo.PropertyList.putSpecified(PropertyList.java:162) > at org.apache.fop.fo.PropertyListBuilder.convertAttributeToProperty(PropertyListBuilder.java:268) > at org.apache.fop.fo.PropertyListBuilder.makeList(PropertyListBuilder.java:217) > at org.apache.fop.fo.FObj.handleAttrs(FObj.java:156) > at org.apache.fop.fo.flow.BlockContainer.handleAttrs(BlockContainer.java:95) > at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:267) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)