Closed
Bug 49957
Opened 25 years ago
Closed 24 years ago
INPUT TYPE="text" value update is cruelly slow
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martin.honnen, Assigned: mjudge)
Details
Attachments
(1 file)
489 bytes,
text/html
|
Details |
Mozilla M17 needs extreme time to set the value of an INPUT TYPE="text" field.
Here's some test code:
<HTML>
<HEAD>
<SCRIPT>
function checkFieldUpdate () {
var field = document.formName.fieldName;
var start = new Date();
for (var i = 0; i < 100; i++)
field.value = i + ': Kibology for all.';
var end = new Date();
alert(((end.getTime() - start.getTime()) / 1000) + ' seconds.');
}
</SCRIPT>
</HEAD>
<BODY ONLOAD="checkFieldUpdate()">
<FORM NAME="formName">
<INPUT TYPE="text" NAME="fieldName">
</FORM>
</BODY>
</HTML>
It simply changes the value of a text field a hundred times in a loop. While NN4
and IE5 on my machine need about 0.06 seconds for that M17 takes about 12.6
seconds on the same machine. Such a value seems unacceptable slow.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Martin, try using the latest M18 build...I think you will find it an improvement
for your situation.
Also, could you update the bug to reflect what OS/Platform(s) you are seeing
this bug on?
If, however, you are still experiencing the same problem, please update this
bug. Thanks! -ckritzer
Reporter | ||
Comment 3•25 years ago
|
||
I tried the latest nightly (shows for me as build 2000082313) and it still takes
10.1 seconds for the loop.
Platform is windows 95
OS: other → Windows 95
resolving bug as fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
Works for Me
Platform: PC
OS: Windows 98
Mozilla Version: 2000100508
Marking as Verified
Time for Me: 0.77 Seconds :)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•