User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461) Build Identifier: NaN Compared to the JS performance in Moz 1.0 (which was 3 times better compared to IE6) the performance in Moz 1.1 and Moz 1.2 has been reduced again to IE6 comparable levels. Reproducible: Always Steps to Reproduce: 1.Use Mozilla 1.0 to open page http://www.crisp.demon.nl/crackmd5.html 2.Fill in 'f3abb86bd34cf4d52698f14c0da1dc60' in MD5 and push 'Crack!' 3.On an AMD XP2000+ this takes around 80 seconds to complete 4.Use Mozilla 1.1 or 1.2 to open the same page 5.Again fill in 'f3abb86bd34cf4d52698f14c0da1dc60' in MD5 and push 'Crack!' 6.On an AMD XP2000+ it now takes around 250 seconds to complete Actual Results: Mozilla 1.1 and 1.2 actually perform very poorly compared to 1.0 Expected Results: 1.1 and 1.2 should perform equally to 1.0, or even better
With Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2a) Gecko/20020914 on a Celeron/900@1124 I get 5:19.87 and with IE6 I get 4:45.12, a difference of ~11%. I don't know how fast Mozilla 1.0 is compared to IE6 though.
On build 2002091309 on Mac OS 9 (since it's a 300 MHz iBook, I don't even bother to check how long it takes), I can see 'current password' & 'current hash' flashing, so you script is trying to updates those on-screen fields. Could this be the reason that it's slower ? I thought that getElementByID() was optimized for Mozilla1.1. That might explain why there's something changed. If you take out the screen-updates (or only do them every 100 iterations or so), it will be a lot faster.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX
Thanks y'all; I now do understand fully. Also why IE seemed to be so slow compared to Moz 1.0 I have adjusted my program to set the timeout every 100 tries, and came up with the following figures for comparison (all tests run on my AMD XP2000): Moz 1.0: 475 pwds/sec Moz 1.2a: 375 pwds/sec IE6: 826 pwds/sec Seems that Moz1.2 IS slower than 1.0, but then again it is still alpha-state. Would be nice to know what is causing this though. What is more interesting is the fact that IE6 is more than twice as fast in JS calculation compared to Moz. I still like Moz better though, but thought it would be interesting to let you know
crisp: thank you for this report and for your interesting site. We will reduce the HTML from your test to make a "standalone" JS shell testcase that can be used to test the JS Engine itelf. cc'ing Mazie on that; we will report back with our findings -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.