Hello, how can I optimize the Performance in FOP. I´m using the 0.20.5 version. I have measured the time of generating PDF with the tool Profiler of Borland. It´s very interesting to see how many time the classes/componets of FOP require to generate a PDF. I´ll attached the issue.
Can me anybody help or give some tipps how to generate my Stylesheet to optimize the workflow. The different Stylesheet I use, are attached to this mail, too. Thanks to all and have a nice weekend. Jan
Profiler output for thread main . application fop.FopTest (Time profiler output - Sampler / Methods)
Description of time spent in thread main100.0% - 133284 ms - intuitive.audit.Audit.main()
100.0% - 133284 ms - intuitive.audit.Main.runProgramWithClass()
100.0% - 133284 ms - fop.FopTest.main()
100.0% - 133284 ms - fop.FopTest.<init>()
100.0% - 133284 ms - fop.FopTest.create()
97.97% - 130590 ms - fop.FopAdapter.applyStylesheet()
75.98% - 101279 ms - org.apache.fop.apps.Driver.run()
70.66% - 94185 ms - org.apache.fop.apps.Driver.render()
70.63% - 94144 ms - org.apache.xerces.parsers.AbstractSAXParser.parse()
70.62% - 94138 ms - org.apache.xerces.parsers.XMLParser.parse()
70.62% - 94138 ms - org.apache.xerces.parsers.StandardParserConfiguration.parse()
70.62% - 94132 ms - org.apache.xerces.parsers.StandardParserConfiguration.parse()
69.83% - 93076 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument()
68.7% - 91574 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch()
55.35% - 73784 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement()
55.16% - 73528 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement()
55.14% - 73505 ms - org.apache.xerces.impl.dtd.XMLDTDValidator.endElement()
55.14% - 73505 ms - org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement()
55.13% - 73487 ms - org.apache.xerces.impl.XMLNamespaceBinder.endElement()
55.13% - 73482 ms - org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement()
55.12% - 73476 ms - org.apache.xerces.parsers.AbstractSAXParser.endElement()
55.12% - 73470 ms - org.apache.fop.fo.FOTreeBuilder.endElement()
54.59% - 72762 ms - org.apache.fop.apps.StreamRenderer.render()
54.56% - 72732 ms - org.apache.fop.fo.pagination.PageSequence.format()
54.56% - 72726 ms - org.apache.fop.fo.pagination.PageSequence.makePage()
26.83% - 35770 ms - org.apache.fop.fo.pagination.PageSequence.formatStaticContent()
26.83% - 35770 ms - org.apache.fop.fo.pagination.PageSequence.layoutStaticContent()
26.83% - 35770 ms - org.apache.fop.fo.flow.StaticContent.layout()
26.83% - 35770 ms - org.apache.fop.fo.flow.Block.layout()
25.86% - 34468 ms - org.apache.fop.fo.flow.Block.layout()
24.75% - 32989 ms - org.apache.fop.fo.flow.Table.layout()
22.38% - 29837 ms - org.apache.fop.fo.flow.AbstractTableBody.layout()
19.86% - 26481 ms - org.apache.fop.fo.flow.TableRow.layout()
18.8% - 25065 ms - org.apache.fop.fo.flow.TableCell.layout()
16.18% - 21574 ms - org.apache.fop.fo.flow.Block.layout()
5.29% - 7063 ms - org.apache.fop.fo.PropertyList.get()
2.5% - 3341 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
2.38% - 3185 ms - org.apache.fop.fo.FOText.layout()
2.25% - 2999 ms - org.apache.fop.fo.PropertyManager.getHyphenationProps()
1.29% - 1724 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.82% - 1097 ms - org.apache.fop.fo.flow.ExternalGraphic.layout()
0.25% - 337 ms - org.apache.fop.fo.flow.PageNumber.layout()
0.23% - 318 ms - org.apache.fop.fo.flow.PageNumberCitation.layout()
0.17% - 234 ms - org.apache.fop.fo.PropertyManager.getMarginProps()
0.16% - 223 ms - org.apache.fop.layout.BlockArea.start()
0.15% - 204 ms - org.apache.fop.fo.PropertyManager.getBackgroundProps()
0.12% - 172 ms - org.apache.fop.layout.BlockArea.<init>()
0.12% - 163 ms - org.apache.fop.fo.PropertyManager.getAccessibilityProps()
0.07% - 103 ms - org.apache.fop.fo.PropertyManager.checkBreakBefore()
0.07% - 100 ms - org.apache.fop.layout.BlockArea.end()
0.06% - 82 ms - org.apache.fop.fo.PropertyManager.checkBreakAfter()
0.04% - 58 ms - org.apache.fop.layout.Area.addLineagePair()
0.0% - 12 ms - org.apache.fop.fo.PropertyManager.getAuralProps()
0.0% - 11 ms - org.apache.fop.layout.Area.addChild()
0.0% - 10 ms - org.apache.fop.layout.Area.getAbsoluteHeight()
0.0% - 10 ms - org.apache.fop.layout.Area.isFirst()
0.0% - 6 ms - org.apache.fop.layout.Area.spaceLeft()
0.0% - 6 ms - org.apache.fop.layout.Area.getHeight()
0.0% - 6 ms - org.apache.fop.fo.FObjMixed.layout()
0.0% - 6 ms - org.apache.fop.layout.Area.getFontInfo()
0.0% - 6 ms - org.apache.fop.fo.PropertyManager.getRelativePositionProps()
0.0% - 5 ms - org.apache.fop.datatypes.IDReferences.createID()
1.83% - 2440 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.48% - 647 ms - org.apache.fop.fo.flow.ExternalGraphic.layout()
0.14% - 195 ms - org.apache.fop.layout.BorderAndPadding.clone()
0.1% - 145 ms - org.apache.fop.layout.AreaContainer.<init>()
0.0% - 11 ms - org.apache.fop.layout.Area.getHeight()
0.0% - 6 ms - org.apache.fop.fo.FONode.forceWidth()
0.0% - 6 ms - org.apache.fop.layout.Area.getAbsoluteHeight()
0.0% - 6 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
0.0% - 5 ms - org.apache.fop.fo.FONode.setIsInTableCell()
0.58% - 775 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.35% - 479 ms - org.apache.fop.fo.flow.TableRow.initCellArray()
0.06% - 88 ms - org.apache.fop.layout.AreaContainer.<init>()
0.0% - 11 ms - org.apache.fop.fo.flow.TableCell.getHeight()
0.0% - 11 ms - org.apache.fop.layout.Area.addDisplaySpace()
0.0% - 6 ms - org.apache.fop.fo.PropertyManager.checkBreakBefore()
0.0% - 6 ms - org.apache.fop.fo.flow.RowSpanMgr.finishRow()
2.03% - 2712 ms - org.apache.fop.fo.flow.TableRow.doSetup()
0.26% - 359 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
0.13% - 183 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.02% - 36 ms - org.apache.fop.fo.PropertyList.get()
0.01% - 18 ms - org.apache.fop.fo.PropertyManager.getBackgroundProps()
0.01% - 18 ms - org.apache.fop.layout.AreaContainer.<init>()
0.0% - 6 ms - org.apache.fop.fo.flow.RowSpanMgr.<init>()
0.91% - 1222 ms - org.apache.fop.fo.flow.Table.findColumns()
0.55% - 742 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
0.47% - 629 ms - org.apache.fop.fo.flow.Table.layoutColumns()
0.17% - 239 ms - org.apache.fop.fo.PropertyList.get()
0.12% - 166 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.02% - 30 ms - org.apache.fop.fo.PropertyManager.getBackgroundProps()
0.02% - 29 ms - org.apache.fop.layout.AreaContainer.<init>()
0.01% - 23 ms - org.apache.fop.fo.PropertyManager.getMarginProps()
0.0% - 12 ms - org.apache.fop.fo.flow.Table.calcFixedColumnWidths()
0.0% - 12 ms - org.apache.fop.layout.BlockArea.start()
0.0% - 12 ms - org.apache.fop.fo.PropertyManager.getAccessibilityProps()
0.0% - 6 ms - org.apache.fop.layout.Area.getFontInfo()
0.0% - 6 ms - org.apache.fop.layout.Area.getHeight()
0.0% - 6 ms - org.apache.fop.layout.Area.setMaxHeight()
0.35% - 474 ms - org.apache.fop.fo.PropertyList.get()
0.32% - 430 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
0.17% - 228 ms - org.apache.fop.fo.PropertyManager.getHyphenationProps()
0.09% - 132 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.03% - 52 ms - org.apache.fop.layout.BlockArea.start()
0.03% - 49 ms - org.apache.fop.fo.PropertyManager.getMarginProps()
0.01% - 24 ms - org.apache.fop.fo.PropertyManager.getAccessibilityProps()
0.01% - 24 ms - org.apache.fop.fo.PropertyManager.checkBreakBefore()
0.01% - 18 ms - org.apache.fop.layout.Area.addLineagePair()
0.0% - 12 ms - org.apache.fop.fo.PropertyManager.checkBreakAfter()
0.0% - 12 ms - org.apache.fop.fo.PropertyManager.getBackgroundProps()
0.0% - 6 ms - org.apache.fop.layout.BlockArea.<init>()
0.0% - 6 ms - org.apache.fop.layout.Area.getHeight()
0.31% - 418 ms - org.apache.fop.fo.PropertyList.get()
0.31% - 416 ms - org.apache.fop.fo.PropertyManager.getBorderAndPadding()
0.13% - 176 ms - org.apache.fop.fo.PropertyManager.getHyphenationProps()
0.12% - 169 ms - org.apache.fop.fo.PropertyManager.getFontState()
0.02% - 30 ms - org.apache.fop.fo.PropertyManager.getBackgroundProps()
0.01% - 18 ms - org.apache.fop.fo.PropertyManager.getAccessibilityProps()
0.01% - 18 ms - org.apache.fop.fo.PropertyManager.getMarginProps()
0.01% - 17 ms - org.apache.fop.layout.Area.addLineagePair()
0.0% - 12 ms - org.apache.fop.layout.BlockArea.start()
0.0% - 6 ms - org.apache.fop.fo.PropertyManager.getRelativePositionProps()
0.0% - 6 ms - org.apache.fop.layout.Area.getIDReferences()
0.0% - 5 ms - org.apache.fop.fo.PropertyManager.checkBreakBefore()
0.0% - 5 ms - org.apache.fop.layout.BlockArea.<init>()
17.56% - 23409 ms - org.apache.fop.fo.flow.AbstractFlow.layout()
10.1% - 13471 ms - org.apache.fop.layout.AreaTree.addPage()
0.05% - 70 ms - org.apache.fop.layout.PageMaster.makePage()
0.0% - 6 ms - org.apache.fop.fo.pagination.PageNumberGenerator.makeFormattedPageNumber()
0.0% - 6 ms - org.apache.fop.fo.pagination.LayoutMasterSet.getSimplePageMaster()
0.01% - 24 ms - org.apache.fop.apps.FormattingResults.haveFormattedPageSequence()
0.0% - 6 ms - java.lang.StringBuffer.append()
0.43% - 585 ms - org.apache.fop.fo.pagination.SimplePageMaster.end()
0.09% - 123 ms - org.apache.fop.fo.FObjMixed.end()
0.0% - 12 ms - org.apache.xerces.xni.QName.setValues()
0.01% - 17 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$ElementStack.popElement()
0.18% - 240 ms - org.apache.xerces.impl.XMLEntityManager$EntityScanner.scanQName()
0.0% - 5 ms - org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces()
0.0% - 5 ms - org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipChar()
13.15% - 17529 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()
0.07% - 99 ms - org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent()
0.04% - 59 ms - org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipChar()
0.03% - 40 ms - org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook()
0.0% - 6 ms - org.apache.xerces.util.XMLChar.isNameStart()
0.0% - 5 ms - org.apache.xerces.impl.XMLEntityManager$EntityScanner.peekChar()
1.12% - 1496 ms - org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch()
0.0% - 6 ms - org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch()
0.65% - 878 ms - org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource()
0.13% - 178 ms - org.apache.xerces.parsers.StandardParserConfiguration.reset()
0.0% - 6 ms - org.apache.xerces.parsers.StandardParserConfiguration.cleanup()
0.03% - 41 ms - org.apache.fop.apps.Driver.getContentHandler()
5.31% - 7088 ms - org.apache.fop.configuration.ConfigurationReader.createParser()
0.0% - 6 ms - java.lang.ClassLoader.loadClassInternal()
18.43% - 24574 ms - fop.XsltcAdapter.applyStylesheet()
2.64% - 3526 ms - org.apache.fop.apps.Driver.<init>()
0.51% - 683 ms - java.lang.String.<init>()
0.29% - 398 ms - org.apache.fop.apps.Driver.setRenderer()
0.04% - 60 ms - java.lang.ClassLoader.loadClassInternal()
0.03% - 41 ms - fop.AdapterFactory.getAdapter()
0.0% - 11 ms - java.lang.System.currentTimeMillis()
1.64% - 2194 ms - xml.VOToXMLEncoder.writeObject()
0.18% - 247 ms - java.io.FileOutputStream.<init>()
0.15% - 212 ms - java.lang.ClassLoader.loadClassInternal()
0.02% - 35 ms - fop.AdapterFactory.getAdapter()
0.0% - 6 ms - xml.VOToXMLEncoder.<init>()
<<attachment: caller.gif>>
<<attachment: time.gif>>
footerWP.xsl
Description: Binary data
headerLogoBankportal.xsl
Description: Binary data
headerWP.xsl
Description: Binary data
orderBeleg.xsl
Description: Binary data
orderBelegBody.xsl
Description: Binary data
unterschriftsFeld.xsl
Description: Binary data
orderBeleg.xml
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]