Closed Bug 351406 Opened 18 years ago Closed 18 years ago

Poor JavaScript performance on 'divide' and 'concatenate strings' tests.

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 117611

People

(Reporter: leoz.2006, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060904 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060904 Minefield/3.0a1

JavaScript test performance is poor in Mozilla based browsers. Especially for 'divide' and 'concatenate strings' operations.

See 'additional information' for details.

Reproducible: Always

Steps to Reproduce:
1. Load http://wd-testnet.world-direct.at/mozilla/dhtml/funo/jsTimeTest.htm page
2. Press 'Run all tests' button.
3. Wait till the tests are executed.
4. See the resulting time.
5. Repeat the same test case for ANY OTHER browser.
6. Compare results.

Actual Results:  
Test result:
Average time is incredibly low and unacceptable for a modern browser.

Expected Results:  
Test result:
Average time is inline or even better than in ANY OTHER browser (IE, Opera, WebKit).

From my blog post: http://leoz.org/blog/?p=11

---------------------------------------------


JavaScript performance test results

Platform:

    * Hardware: IBM ThinkPad T41, Intel Pentium M 1.59 GHz, 512M of RAM
    * OS: MS Windows XP SP2

Test:

    * JavaScript performance test

Browsers:

    * MS Internet Explorer 7, RC, version 7.0.5700.6
    * Firefox-Minefield, version 3.0a1, Mozilla 1.9a1, Gecko/2006090404
    * Flock, version 0.7.4.1, Mozilla 1.8.0.5, Gecko/20060731, Firefox/1.5.0.5
    * Opera 9.01
    * Swift 0.1, WebKit for WIN32

Results:

   1. Opera 9 - 668ms
   2. Swift 0.1 - 781ms
   3. MS IE 7 - 958ms
   4. FF 3.0 - 1386ms
   5. Flock 0.7 - 2379ms

    * Tests were made several times for every browser but the average result is about the one above.

Resume:

    * Opera 9 is a winner.
    * Mozilla 1.8-1.9 is a looser.

Browser notes:

    * Flock browser is based on Firefox, that based on Mozilla.
    * Every Mozilla based browser info contains also correspondent Mozilla and Gecko versions.
    * Swift is a first WebKit based browser for MS Windows.
Add timeless & romaxa.
I believe these are the same tests as in bug 117611, just moved to a new location.
This is an actual test case copied from the original URL: http://wd-testnet.world-direct.at/mozilla/dhtml/funo/jsTimeTest.htm
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
'divide', 'divide2', 'concatenate strings' test cases from attachment look really bad.
:-(
Component: JavaScript Engine → General
Product: Core → Firefox
Assignee: general → nobody
Product: Firefox → Core
QA Contact: general → general
Assignee: nobody → general
Component: General → JavaScript Engine
QA Contact: general → general
thanks for finding the updated test as the original as linked to in bug 117611 has gone missing. the concatenate issue is already filed as a dependent bug to bug 117611. The other issues may or may not be covered in that bug. If you would please file separate bugs on the issues and make them block bug 117611 that would be great. Duping this to bug 117611 since it has more analysis and proposes investigative approaches.

*** This bug has been marked as a duplicate of 117611 ***

*** This bug has been marked as a duplicate of 117611 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Component: JavaScript Engine → General
Product: Core → Firefox
Resolution: --- → DUPLICATE
Component: General → JavaScript Engine
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: