cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: AW: some XSLT benchmarks
Date Wed, 20 Feb 2002 16:10:59 GMT
Santiago Pericas wrote:
> 
> > yes, automatically generated, but the 'XSLT to bytecode' patterns have
> > been manually crafted, right? and I'm pretty sure that you guys crafted
> > them based on the assumption on how the underlying JVM was going to
> > interpret them. Which shows why it is faster on the Sun 1.3.1 JVM (but
> > this is just my hypotesis)
> 
>   I think this is more of a coincidence. 

Ah

> Translets try to allocate as few
> objects as possible. Other JVM's may be better optimized for object
> creation/initialization. Sun's, on the other hand, does a pretty good
> job finding the "hot spots" and this could be the reason why translets
> run fast.

yes, the 'bytecode tight loops' that translets have might really use the
power of hotspot.

>   As to why 1.4 is slower? This is puzzling. 

This is the reason why I didn't think of hotspot vs. IBM JIT. ASAIK, 1.4
uses the same code (tuned) of 1.3.1

> The first thing that comes
> to mind is the new assertion mechanism but, as far as I know, it is
> completely turned off by default (or isn't?).

They should be.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message