[Webkit-unassigned] [Bug 8177] New: Javascript search incredibly slow
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Apr 4 06:36:40 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8177
Summary: Javascript search incredibly slow
Product: WebKit
Version: 417.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: akwb at msn.com
Hi,
This JavaScript function:
function selectd() {
for(var
i=0;i<document.fmain.user.options.length;i++) {
if (document.fmain.domain.options[i].value ==
document.fmain.user.options[document.fmain.user.selectedIndex].value) {
document.fmain.domain.selectedIndex=i;
}
}
}
function selectu() {
for(var
i=0;i<document.fmain.domain.options.length;i++) {
if (document.fmain.user.options[i].value ==
document.fmain.domain.options[document.fmain.domain.selectedIndex].value) {
document.fmain.user.selectedIndex=i;
}
}
}
Causes Safari to beachball for around 15 seconds before selecting the correct
domain/username on a 1.5Ghz PowerBook, with 1.25GB or RAM runing Tiger.
I can't give you a test case as this function is taken from WHM a script that
requires root authentication on a server which naturally I can't put in a bug
report. Basically there is a list of around 600 domains and a list of about 600
usernames, if the user clicks on the username it will search through the list
of domains for the matching domain and vice-versa.
On the latest nightly the beachball spins for around 5-7 seconds, so there has
been some improvement. However both FireFox and Opera select instantly, no
noticable delay what-so-ever.
Andrew
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list