I tried your code with xsltforms-521 and noted you will need to change the
custom XPath function code to use the XsltForms_ prefix and change
capitalization, in two places.
 
I also tried a quick test of putting readonly="true" (an XSLTForms
extension, but common enough) on the instances that don't change by setvalue
or form controls.
In earlier versions (pre dependency) this produced a great performance
improvement.  The work Alain has done to take more advantage of dependency
calculations might have lessened the effect, but I still think you should
try it and run your profiler benchmark before and after.
 
Leigh.


  _____  

From: C. M. Sperberg-McQueen [mailto:[email protected]] 
Sent: Thursday, December 08, 2011 5:41 PM
To: C. M. Sperberg-McQueen
Cc: [email protected]
Subject: Re: [Xsltforms-support] getting your feet wet with the profiler(was
Re: optimization question)



Just a short report, for the record, of my experience with the profiler 
now built into XSLTForms. 

Short version:  the profiler is very helpful; in this case three relatively 
simple changes produced a five-fold speedup in the form. 

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to