Subject: Re: [xsl] calling Java non static methods from XSLT From: "Michael Müller-Hillebrand mmh@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 4 Jun 2016 19:39:51 -0000 |
Dr. Tapaal, An often heard suggestion regarding performance is: Just test it. It seems hard to me to send useful pointers based on this little information and without any knowledge what the "complex algorithm" does and how the XSLT is called ("each invocation of"). But, I would be very interested in your observations regarding the performance calling a Java class over and over again (seemingly). Maybe you can share the results of your tests and observations? Thanks, - Michael > Am 04.06.2016 um 00:16 schrieb Mailing Lists Mail daktapaal@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>: > > Dear All, > we are having the following situation.. > We are working with the some Stock Market Data where some of the > values we need are done by a complex algorithm that is written in Java > , typically for the forcast etc. The XSLTs are all compiled .. We > instantiate the object within the XSLT using the new() and then call > the Java methods of that object, which returns some statistical > information. > Which one of the assumptions are correct? I believe the assumption1 > to be true but checking .. > Scenario : > I am using the XSLT on Trillions of Nodes .My situation demands that I > treat each Node individually and run the XSLT on each of these nodes > separately. This means these nodes will be diced first and then , the > XSLT will be called on them > > Assumption1 > ========== > there will be trillion objects created, with each invocation of the > XSLT. and the XSLTs being compiled has nothing to do with the Object > creation, as the objects will be created at run time? > > Assumption2 > ========== > > Since I have precompiled the XSLTs, it should not create trillions of > java objects > > Any pointers please> > > Dr.Tapaal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] calling Java non static m, Mailing Lists Mail d | Thread | Re: [xsl] calling Java non static m, Dimitre Novatchev dn |
Re: [xsl] calling Java non static m, Mailing Lists Mail d | Date | Re: [xsl] calling Java non static m, Dimitre Novatchev dn |
Month |