Walter, I had the timeout problem on a script with a different purpose. What I did was hijacked the code here: http://www.mcfedries.com/JavaScript/timer.asp
I created an array: var funcTimers[] and then modified the above code to insert into the array and each func started the timer on entry and ended it on exit. At the end, I dumped the funcTimers out with an alert() and I had my answer. Also, about 10 years ago (when I was younger and smarter) I wrote a table sort function that would sort a standard html table based on the column clicked. It was quite fast and would sort through 1000 columns pretty quickly. I looked on my backup drive and couldnt find it but if you want, I'll root around and post it.... might give you a different strategy. P~ On Thu, Jun 30, 2011 at 9:01 AM, Walter Lee Davis <wa...@wdstudio.com>wrote: > I have been chasing my tail on a slow script error, and just now discovered > that if I disable my call to make a 1,000 element list sortable the problem > goes entirely away. > > First, is there any sort of tool I can use to determine where this function > is spending all of its time? > > Second, is there any way to get around these slow script errors? The issue > I am seeing is that once the page loads, and this function is called, the > browser goes into beachball mode, eventually shows an alert about the slow > script. If I okay that (keep trying, I tell it) the page loads and works > perfectly. Sortable does exactly what it's supposed to do, and very > snappily. > > Thanks in advance, > > Walter > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to prototype-scriptaculous@** > googlegroups.com <prototype-scriptaculous@googlegroups.com>. > To unsubscribe from this group, send email to prototype-scriptaculous+** > unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at http://groups.google.com/** > group/prototype-scriptaculous?**hl=en<http://groups.google.com/group/prototype-scriptaculous?hl=en> > . > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.