It's impossible to tell you how to speed this up without more
information, and in particular without seeing your XSLT code.
It's often useful to know how the performance changes if you double the
source document size. If it increases non-linearly, that's a strong hint
that you either need to introduce keys, or try it with Saxon-EE which
will often do the same optimization automatically.
How long does the same transformation take if you run it from the
command line (use -repeat:10 and -t)? That would show whether you need
to look at API issues, for example the time taken by JAXP to search the
classpath for an XSLT engine, or inefficient ways of constructing the
source document or serializing the output.
Michael Kay
Saxonica
On 17/10/2011 08:42, Bartolomeo Nicolotti wrote:
Hello,
I could not attach .zip with Evolution client, but I hope the question
is clear enough
Many thanks
Best regards
Bartolomeo
Il giorno lun, 17/10/2011 alle 09.36 +0200, Bartolomeo Nicolotti ha
scritto:
To whom it may concern.
we've an XSLT to translate quite big xml, and we want to improve the
translation time
We translate starting from the attachment
192.168.0.103.log_2011-10-14.log.20111014084051032-1.HBD.xml (1.8Mb)
with this output:
192.168.0.103.log_2011-10-14.log.20111014084051032-1.HBD.out.xml
(3.2Mb)
for which we've this translation times:
16:44:43,807 INFO [main] Main -
javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
16:44:43,811 INFO [main] Main - launchFile: launch.xml
16:44:44,280 INFO [main] JAXPSAXProcessorInvoker - Transforming...
16:44:46,983 INFO [main] JAXPSAXProcessorInvoker - Done.
we need to speed-up the transformation, we currently already compile
the stylesheet only once and the re-use the compiled Transformer
Could you please advise us with some hint about how to improve the
timings or how to profile the transformation?
Many thanks
Best regards
Bartolomeo
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--