cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Boag/CAM/Lotus" <>
Subject Re: XMLResourceBundle
Date Thu, 22 Jun 2000 03:33:21 GMT

Loading the classes... warming the jit...  this kind of behavior is very
common with at least xalan, where the jit does a lot for all the
loop-intensive code.

Keep in mind that the expressions can be preparsed and then you can just
use the compiled XPath object.  This makes sense in situations where you
are going to be using the XPath over and over, and counting milliseconds.


                    Mike Engelhart                                                       
                    <mengelhart@eart        To:         
          >              cc:     (bcc: Scott Boag/CAM/Lotus)       
                                            Subject:     Re: XMLResourceBundle           
                    06/21/2000 11:17                                                     
                    Please respond                                                       
                    to cocoon-dev                                                        

on 6/21/00 9:19 PM, Scott Boag/CAM/Lotus at wrote:

> If you can point me where to look, I can try and investigate in the next
> couple of days.  It certainly shouldn't be all that slow.
> -scott

Actually, I just ran it again in a loop and the first access call to my
method took 2500 ms (this is Mac that's why it's so slow) and then the
in later iterations took between 1 and 79 ms!!


View raw message