Re: [Xsltforms-support] Select1 box: What is the reason for the delay?
Brought to you by:
alain-couthures
From: peter w. <p....@in...> - 2013-03-13 21:02:49
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><META content="INBOX.COM" name=GENERATOR></HEAD> <BODY> Hello Alain<br><br>Thanks you for our kind suggestions.... so is // much more computationally intensive than using the full path in an XPath expression?<br><br>Regards<br><br>Peter<br> <div> </div><br><br><blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"><div class="msgHeaders">-----Original Message-----<br><b>From:</b> ala...@ag...<br><b>Sent:</b> Wed, 13 Mar 2013 21:54:30 +0100<br><b>To:</b> p....@in...<br><b>Subject:</b> Re: [Xsltforms-support] Select1 box: What is the reason for the delay?<br><br></div><div class="oldBody"><div> <div _class="moz-cite-prefix">Hello Peter,<br> <br> 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.<br> <br> 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.<br> <br> There are many ways for optimizing and I would need a testcase or a remote access to diagnose.<br> <br> Thank you for your feedbacks!<br> <br> -Alain<br> <br> Le 13/03/2013 16:43, peter winstanley a écrit :<br> </div> <blockquote cite="mid:DD5...@in..." type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta content="INBOX.COM" name="GENERATOR"> <p>Dear List</p> <p>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". </p> <p>I am viewing the form on an IE9/Windows 7 machine. The IE9 is in IE9 mode, not one of the other mode options.</p> <p>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.</p> <p>Any ideas on what is happening, and how I can improve this to provide an instantaneous change to the selection of a new value?</p> <p>Many thanks</p> <p>Peter</p> </blockquote> <br> </div></div></blockquote> <hr size="1px" noshade style="clear:both;margin-top:10px;height:1px;"> <div style="font:12px Verdana,sans-serif;color:Black;background:white;padding:3px;line-height:1.3em"> <a href="http://www.inbox.com/smileys"><img src="http://my.inbox.com/img/ftrs/smileys.jpg" width="438" hight="73" alt="Smileys Preview" border="0" style="margin-bottom:10px" /></a><br> <nobr><strong><font color="2086c3">Get Free Smileys for Your IM & Email</font></strong> - Learn more at <a href="http://www.crawler.com/smileys">www.crawler.com/smileys</a></nobr><br> <nobr>Works with AIM<font size="-1"><sup>®</sup></font>, MSN<font size="-1"><sup>®</sup></font> Messenger, Yahoo!<font size="-1"><sup>®</sup></font> Messenger, ICQ<font size="-1"><sup>®</sup></font>, Google Talk<font size="-1"><sup>™</sup></font> and most webmails</nobr></div> </BODY> </HTML> |