Closed Bug 78071 Opened 25 years ago Closed 24 years ago

Submission of forms is very slow[form sub]

Categories

(Core :: DOM: Core & HTML, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: johannes.fitz, Assigned: john)

References

Details

(Keywords: perf)

Attachments

(2 files)

When I submit forms with many input-fields it is very slow (I have tried it on a PC with an P3, 733MHz, 320MB RAM, Windows NT4, SP5 nad on a PC with P3, 500MHz, 224MB RAM, Windows 2000). I used Mozilla 0.81 for the tests. Microsoft IE 5.x and 6.0 beta is much faster than Mozilla. It's not a bug, but I think when it's possible to improve that speed the users would be thankful. Johannes Fitz PS: I have tried it with our Web-Application. If you need more information please contact me (by mail).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf
reassigning
Assignee: rods → pollmann
I'll investigate and try to address this along with the form submit rewrite.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Johannes, can you include more of this testcase? This is only the html file and doesn't include the javascript files needed to submit the form. When I click on the (what should be) buttons that submit the order, nothing happens, and I can't tell what should happend without the javascript. Guesses: could be slow javascript being run, or the layout of the response page returned by the server might be slow. I'm guessing the bottleneck is not the actual submission of the form per se... Thanks!
Target Milestone: mozilla0.9.1 → mozilla0.9.3
Doesn't look like this is getting fixed before the freeze tonight. Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
I have tested the page I mentioned before again with Mozilla 0.9.2. With this version the page is already much faster to submit than in Version 0.8.1 (The first time I needed about 16 - 20 sec. With the actual version 0.9.2 it's about 7 sec). That's still a bit slower than IE (4 - 5 sec.), but I think it should be okay.
Moving target to mozilla1.0 based on johannes.fitz@inet-logistics.com comment.
Target Milestone: mozilla0.9.4 → mozilla1.0
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Status: ASSIGNED → NEW
Summary: Submission of forms is very slow → Submission of forms is very slow[form sub]
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
This seems fine for me now - on WinNT v4 SP6 with 0.9.6. 0.9.5 was slow for me on form sumbitting, same platform. Not tested on any other platform though.
johannes: can you test in your test environment please? thanks a lot!
Reporter Comment: ------------------------------------------------------------------------ Hi! I've just tested it on our test environment and in my opinion the speed is good enough. It's still a little slower than with IE5.5, but I think you will never get this. Some test results (Used IE 5.5, Mozilla 0.9.6) 1) IE: ~9 sec. M : ~11 sec. 2) IE: ~7 sec. M : ~7 sec. 3) IE: <2 sec. M : >3 sec. Sorry, but i can't explain my test environment ... Johannes ------------------------------------------------------------------------ I think that this is still a performance issue. AFAIK there will be some performance boosts in the future be cause some of the important goals for 1.0 are perfomance and mem-footprint though. Let's hope for the best. I will see if I can test in my test environment with the given testcase.
This bug seems to be back to where it was in 0.9.5 for me (0.9.7 on WinNT 4 SP6). As I said above, 0.9.6 seemed as fast as MSIE for form submission.
Big helpful performance gains should occur with bug 120682. Let's test 'er at that point.
Assignee: alexsavulov → jkeiser
Depends on: 120682
Hmm, how do you submit that form? There's no submit button and every button I click on just goes back to "#".
That testcase is just broken ... could you please post a working one? I'd be happy to run it against the new bug 120682 patch.
Attached file Test case
See new minimal test case for this bug.
Ronny, what does that testcase do for you? For me, both before and after the checkin, it submits pretty quickly.
Re. #18 I click the form submission button, then approx. 15sec later the form actually submits. During this time, all other browser windows do not respond.
Hmm, strange, I can't imagine why that one-field form would take that long on any computer. What kind of computer do you have? And can you try today's build? Now that bug 120682 is fixed, form sub speed should be a lot better. I don't see why it would be 15s better, but here's hoping :)
Computer is PIII/833 with 320MB RAM. Not sluggish :¬) Anyway, the build from 2002-02-17 works as expected - form submission is snappy. Let's hope this one is buried.
Hmmm... Strange. When I'd uninstalled the daily build above, and re-installed 0.9.8, form submission is fine though not as fast as the 2002-02-17 daily. Very Weird. Maybe something in my profile was borked, though I did create a new profile earlier today with 0.9.8 and it was still slow. I'm stumped now... that's really thrown a spanne
I'm thinking it's buried. Thanks! (Sometimes having an old profile does have odd effects.)
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Keywords: nsbeta1+
verifying build 2002-02-22-03-trunk windows 2000
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: