xsl-list
[Top] [All Lists]

Re: How to speed up parsing ??

2003-08-02 13:53:52

Based on our latest benchmark data, www.sarvega.com, you should 
get XSLTC as the 2-3 times quicker than XalanJ on average. This 
is of course dependent on stylesheet and has also varied quite a 
lot with different releases. 

The quickest processor for which figures are publically available 
has been MSXML for a long time. For Java I would strongly 
recommend looking at jd.xslt which is much improved in recent 
tests.

Regards,
Kevin Jones 


On Friday 01 August 2003 16:17, Mukul Gandhi wrote:
Hi Dipesh,
  You can also try XSLTC.. Its a Xalan-J module which
allows you to convert the XSL file into Java classes.
These Java classes are called translets. You can then
apply these translets(Java classes) to XML files to
produce final output.

Please see
http://xml.apache.org/xalan-j/xsltc_usage.html for
details about XSLTC. It *may* enhance the performance
of your transformations.. i don'nt know for sure about
the performance difference XSLTC has over
xalan.xslt.Process (the normal way of invoking XSL
transformation from Xalan).. You may try it and report
to us if it speeds up transformation.

i would suggest , that please try both
xalan.xslt.Process and XSLTC and observe the time
difference.. If somebody has information about
performance difference between XSLTC and usual Xalan
transformation, i would also be eager to know it..

Regards,
Mukul

--- Dipesh Khakhkhar <dkhakhkh(_at_)mailbox(_dot_)syr(_dot_)edu> wrote:
Hi,

Thanks a lot Ashish for giving me possible solutions
to increase the xml
parsing.

I am write now using xslt processor of oracle 8.0
My friend has written a wrapper program to use that.
I am using it from unix
server like this.

java -ms25M -mx100M xslFileName xmlFileName >
directingOutput.txt

I got one editor yesterday and tried to do xml
processing using that.
I used COOKTOP and i was using MSXML as my XSLT
engine. Using that i m able to
process my xml file within a minute compared to what
it is taking to do the
same in several minutes.

Actuall i have to run process this xml using xsl and
get some text output
which will be feeded to other process. In this
workflow i would like to call
it passing parameters from some script and run it.

SO IT SEEMS THERE IS PROBLEM WITH THE ENGINE I M
USING and NOT WITH FOR-EACH
or APPLY-TEMPLATES CONSTRUCT bcos i guess in both
the cases file pointer plays
major role. SO TO CHANGE THE ENGINE AND TO HAVE
SMOOTH WORKFLOW I NEED SOME
ENINGE WHICH I CAN USE FROM COMMAND LINE WHICH WILL
TAKE TWO FILES AS INPUT
I.E. XSL FILE AND XML FILE AND PRODUCED OUTPUT.

To do this I downloaded source code of xalan. But
not getting much idea from
it how should i use it. Or if you know how to
efficiently i can do the above
thing pls inform me.

Further you said in your earlier email i can put the
xml file in memory if i m
running it repeatedly. HOW DO WE DO THAT ? WHAT DATA
STRUCTURE WE HAVE TO USE
TO DO THIS ?

Eagerly waiting for some suggestion. Appreciated.

Thanks once again !!

Regards,
Dipesh


 XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design
software http://sitebuilder.yahoo.com

 XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>