Hello Alain

Thanks you for our kind suggestions.... so is // much more computationally intensive than using the full path in an XPath _expression_?

Regards

Peter
 


-----Original Message-----
From: [email protected]
Sent: Wed, 13 Mar 2013 21:54:30 +0100
To: [email protected]
Subject: Re: [Xsltforms-support] Select1 box: What is the reason for the delay?

Hello Peter,

There is no specific reason for a select1 control to be slow. Probably, there is a refresh just after selecting one item and the size/structure of the corresponding instance might be the cause of this. The involved XPath expressions might also require a lot of time, for example if the // operator is used.

You can use the XSLTForms Profiler (pressing F1 to be in the Debug Mode) and the native IE Script Profiler to locate functions/methods with heavy execution times.

There are many ways for optimizing and I would need a testcase or a remote access to diagnose.

Thank you for your feedbacks!

-Alain

Le 13/03/2013 16:43, peter winstanley a écrit :

Dear List

I have a simple XForm using XMLSTForms rev 565 within eXist-db version2.0.  The form has a simple select1 control in it. The control setting is selection="closed".  

I am viewing the form on an IE9/Windows 7 machine.  The IE9 is in IE9 mode, not one of the other mode options.

When the control value is changed the dropdown with the various options stays open for some seconds and during this time there is significant processor activity as seen in the Task Manager.  I would have expected the new selection of an option in the select1 box to have been instantaneous.

Any ideas on what is happening, and how I can improve this to provide an instantaneous change to the selection of a new value?

Many thanks

Peter



Smileys Preview
Get Free Smileys for Your IM & Email - Learn more at www.crawler.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk and most webmails
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to