Closed Bug 494994 Opened 15 years ago Closed 15 years ago

optimized JS shell should be built with -O3

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gal, Assigned: gal)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

      No description provided.
Attached patch patchSplinter Review
Attachment #379800 - Attachment description: ~/Desktop/patch → patch
Attachment #379800 - Flags: review+
Flags: wanted1.9.1?
3.8% speedup (browser is already building with -O3 supposedly).

http://hg.mozilla.org/tracemonkey/rev/5b0eb5022f03

TEST                   COMPARISON            FROM                 TO             DETAILS

=============================================================================

** TOTAL **:           1.038x as fast    984.0ms +/- 0.2%   947.7ms +/- 0.5%     significant

=============================================================================

  3d:                  1.042x as fast    148.4ms +/- 0.4%   142.5ms +/- 1.0%     significant
    cube:              ??                 41.9ms +/- 0.8%    42.5ms +/- 2.6%     not conclusive: might be *1.014x as slow*
    morph:             1.013x as fast     30.5ms +/- 0.5%    30.1ms +/- 0.8%     significant
    raytrace:          1.088x as fast     76.1ms +/- 0.5%    69.9ms +/- 0.4%     significant

  access:              1.063x as fast    139.6ms +/- 0.2%   131.4ms +/- 0.5%     significant
    binary-trees:      1.062x as fast     41.6ms +/- 0.3%    39.2ms +/- 0.5%     significant
    fannkuch:          1.055x as fast     57.8ms +/- 0.3%    54.8ms +/- 0.7%     significant
    nbody:             1.075x as fast     26.6ms +/- 0.6%    24.8ms +/- 0.8%     significant
    nsieve:            1.074x as fast     13.6ms +/- 1.3%    12.6ms +/- 1.2%     significant

  bitops:              1.045x as fast     37.2ms +/- 0.9%    35.6ms +/- 0.7%     significant
    3bit-bits-in-byte: -                   1.6ms +/- 8.6%     1.6ms +/- 9.1% 
    bits-in-byte:      1.020x as fast      8.0ms +/- 0.7%     7.9ms +/- 1.2%     significant
    bitwise-and:       1.119x as fast      2.8ms +/- 3.9%     2.5ms +/- 5.7%     significant
    nsieve-bits:       1.046x as fast     24.7ms +/- 0.7%    23.6ms +/- 0.7%     significant

  controlflow:         1.025x as fast     33.4ms +/- 0.4%    32.6ms +/- 0.4%     significant
    recursive:         1.025x as fast     33.4ms +/- 0.4%    32.6ms +/- 0.4%     significant

  crypto:              1.080x as fast     59.1ms +/- 0.5%    54.8ms +/- 0.6%     significant
    aes:               1.069x as fast     34.5ms +/- 0.7%    32.3ms +/- 0.8%     significant
    md5:               1.098x as fast     16.0ms +/- 0.4%    14.6ms +/- 1.0%     significant
    sha1:              1.088x as fast      8.6ms +/- 1.6%     7.9ms +/- 1.0%     significant

  date:                1.035x as fast    137.7ms +/- 0.2%   133.1ms +/- 0.2%     significant
    format-tofte:      1.041x as fast     66.6ms +/- 0.3%    64.0ms +/- 0.4%     significant
    format-xparb:      1.030x as fast     71.1ms +/- 0.3%    69.1ms +/- 0.2%     significant

  math:                *1.013x as slow*   38.1ms +/- 0.6%    38.6ms +/- 0.9%     significant
    cordic:            *1.034x as slow*   18.6ms +/- 0.7%    19.3ms +/- 0.7%     significant
    partial-sums:      ??                 13.4ms +/- 1.0%    13.5ms +/- 2.1%     not conclusive: might be *1.009x as slow*
    spectral-norm:     1.045x as fast      6.0ms +/- 1.5%     5.8ms +/- 2.1%     significant

  regexp:              *1.013x as slow*   46.3ms +/- 0.3%    46.9ms +/- 3.7%     significant
    dna:               *1.013x as slow*   46.3ms +/- 0.3%    46.9ms +/- 3.7%     significant

  string:              1.035x as fast    344.1ms +/- 0.2%   332.4ms +/- 0.8%     significant
    base64:            -                  17.0ms +/- 0.5%    16.9ms +/- 0.7% 
    fasta:             1.048x as fast     75.1ms +/- 0.2%    71.7ms +/- 0.3%     significant
    tagcloud:          1.043x as fast    103.0ms +/- 0.3%    98.7ms +/- 0.5%     significant
    unpack-code:       1.030x as fast    117.7ms +/- 0.4%   114.3ms +/- 2.1%     significant
    validate-input:    1.016x as fast     31.3ms +/- 0.5%    30.8ms +/- 0.5%     significant
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/5b0eb5022f03
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: