Hi Mukul,

Thanks for response.

I was doing performance test on java 1.5 and collected some data. I also did 
the same test using xalan java 2.7.1. So, I got some 20 % more CPU utilization 
for exactly same kind of test. I was using same xml document size, schema size, 
and xsl size file. 

Since performance is very important for my application so I cache all the 
schemas and xsl files in the memory. Therefore, I was wondering why xalan 2.7.1 
takes more cpu than standard java 1.5 which comes with xalan 2.6.0. 

I did not know the fact that xalan 2.7.1 comes with compiler and interpreter 
and by default it uses interpreter to transform xml.

I will post all the performance data after completeing the test.


Thanks & Regards
Ajay  

--- On Sat, 11/1/08, Mukul Gandhi <[EMAIL PROTECTED]> wrote:

> From: Mukul Gandhi <[EMAIL PROTECTED]>
> Subject: Re: xalan 2.7.1 performance issues
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Date: Saturday, November 1, 2008, 9:40 AM
> On Sat, Nov 1, 2008 at 2:20 AM, ajay bhadauria
> <[EMAIL PROTECTED]> wrote:
> > Why xalan 2.7.1 takes more cpu than standard java 1.5.
> inbuild with xalan-2.6.0 version ?
> 
> I don't generally consider CPU utilization as a measure
> of performance
> (it's an important aspect, though). It's normally
> beyond programmer's
> control. I usually try to optimize memory usage, and run
> time. It
> would be nice, if you can share the run time comparison.
> 
> > What should I do so that I can get the same performace
> with xalan-2.7.1 as I am getting with Standard java 1.5 ?
> 
> First please share the performance numbers of Xalan-J 2.7.1
> vs. JDK
> Xalan. The performance data could vary from one XML/XSL to
> another.
> 
> Also, is using Xalan-J 2.7.1 important to you, or the
> performance? Is
> performance affecting you very badly? Xalan-J 2.7.1 has lot
> of
> improvements (bug fixes, etc.) as compared to the Xalan
> bundled with
> JDK.
> 
> 
> -- 
> Regards,
> Mukul Gandhi


      

Reply via email to