Successivo

News

Showdown JavaScript fra WebKit e FireFox 3

Michele Costabile | 20 Settembre 2008

Ecco i risultati di un faccia a faccia fra FireFox 3 e la versione in sviluppo di WebKit. Il confronto […]

Ecco i risultati di un faccia a faccia fra FireFox 3 e la versione in sviluppo di WebKit.


Il confronto è stato fatto su un Macbook con Centrino Duo.
Abbiamo messo alla prova la versione precedente di WebKit, la versione aggiornata e FireFox 3.0 aggiornato all’ultima patch.
Naturalmente anche Mozilla non sta sugli allori: la versione 3.1 di FireFox avrà  un motore JavaScript migliorato che ha nome in codice TraceMonkey.

Ecco i risultati:

WebKit aggiornato

============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 1033.2ms +/- 1.6%
--------------------------------------------

  3d:                   174.0ms +/- 1.7%
    cube:                59.4ms +/- 6.7%
    morph:               66.8ms +/- 4.4%
    raytrace:            47.8ms +/- 3.9%

  access:               115.6ms +/- 2.8%
    binary-trees:        17.8ms +/- 10.4%
    fannkuch:            20.2ms +/- 14.0%
    nbody:               67.4ms +/- 5.0%
    nsieve:              10.2ms +/- 13.4%

  bitops:                58.2ms +/- 6.1%
    3bit-bits-in-byte:   11.4ms +/- 18.2%
    bits-in-byte:        14.8ms +/- 9.2%
    bitwise-and:          8.6ms +/- 16.5%
    nsieve-bits:         23.4ms +/- 6.1%

  controlflow:           14.0ms +/- 14.0%
    recursive:           14.0ms +/- 14.0%

  crypto:                66.8ms +/- 8.9%
    aes:                 18.6ms +/- 9.0%
    md5:                 24.8ms +/- 15.6%
    sha1:                23.4ms +/- 9.7%

  date:                 101.6ms +/- 1.6%
    format-tofte:        46.2ms +/- 2.3%
    format-xparb:        55.4ms +/- 2.0%

  math:                 137.4ms +/- 3.7%
    cordic:              43.6ms +/- 4.3%
    partial-sums:        65.6ms +/- 1.7%
    spectral-norm:       28.2ms +/- 10.1%

  regexp:                44.8ms +/- 3.0%
    dna:                 44.8ms +/- 3.0%

  string:               320.8ms +/- 2.4%
    base64:              25.0ms +/- 7.9%
    fasta:               63.4ms +/- 3.0%
    tagcloud:           105.6ms +/- 2.3%
    unpack-code:         68.4ms +/- 1.6%
    validate-input:      58.4ms +/- 6.3%

FireFox 3

============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 3347.2ms +/- 1.7%
--------------------------------------------

  3d:                   429.0ms +/- 8.2%
    cube:               157.2ms +/- 6.7%
    morph:              139.4ms +/- 21.1%
    raytrace:           132.4ms +/- 6.1%

  access:               463.6ms +/- 1.6%
    binary-trees:        57.0ms +/- 6.7%
    fannkuch:           178.6ms +/- 2.4%
    nbody:              168.8ms +/- 5.3%
    nsieve:              59.2ms +/- 1.8%

  bitops:               314.6ms +/- 1.3%
    3bit-bits-in-byte:   49.6ms +/- 2.2%
    bits-in-byte:        79.6ms +/- 0.9%
    bitwise-and:         85.6ms +/- 1.3%
    nsieve-bits:         99.8ms +/- 2.2%

  controlflow:           41.2ms +/- 3.3%
    recursive:           41.2ms +/- 3.3%

  crypto:               208.0ms +/- 2.2%
    aes:                 81.0ms +/- 1.9%
    md5:                 66.0ms +/- 4.4%
    sha1:                61.0ms +/- 3.8%

  date:                 403.0ms +/- 1.3%
    format-tofte:       241.8ms +/- 1.6%
    format-xparb:       161.2ms +/- 1.4%

  math:                 348.0ms +/- 3.2%
    cordic:             137.6ms +/- 2.6%
    partial-sums:       147.8ms +/- 7.7%
    spectral-norm:       62.6ms +/- 2.3%

  regexp:               302.6ms +/- 10.1%
    dna:                302.6ms +/- 10.1%

  string:               837.2ms +/- 1.2%
    base64:              96.0ms +/- 3.2%
    fasta:              222.2ms +/- 2.3%
    tagcloud:           175.0ms +/- 1.8%
    unpack-code:        223.8ms +/- 0.6%
    validate-input:     120.2ms +/- 5.1%

WebKit non aggiornato

============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                  6118.2ms +/- 19.6%
--------------------------------------------

  3d:                   2022.4ms +/- 42.0%
    cube:               1101.4ms +/- 67.8%
    morph:               485.6ms +/- 5.4%
    raytrace:            435.4ms +/- 20.6%

  access:               1258.4ms +/- 12.6%
    binary-trees:         18.2ms +/- 5.7%
    fannkuch:             22.0ms +/- 16.5%
    nbody:              1207.0ms +/- 12.9%
    nsieve:               11.2ms +/- 5.0%

  bitops:                242.8ms +/- 3.7%
    3bit-bits-in-byte:    12.8ms +/- 23.2%
    bits-in-byte:         18.8ms +/- 15.1%
    bitwise-and:          29.4ms +/- 7.1%
    nsieve-bits:         181.8ms +/- 4.5%

  controlflow:            21.2ms +/- 48.8%
    recursive:            21.2ms +/- 48.8%

  crypto:                296.8ms +/- 2.1%
    aes:                  20.0ms +/- 15.8%
    md5:                 138.6ms +/- 1.0%
    sha1:                138.2ms +/- 1.7%

  date:                  208.0ms +/- 87.2%
    format-tofte:         47.0ms +/- 2.6%
    format-xparb:        161.0ms +/- 112.2%

  math:                 1426.6ms +/- 0.9%
    cordic:              500.6ms +/- 1.7%
    partial-sums:        629.2ms +/- 1.8%
    spectral-norm:       296.8ms +/- 1.2%

  regexp:                124.4ms +/- 118.9%
    dna:                 124.4ms +/- 118.9%

  string:                517.6ms +/- 6.8%
    base64:               43.0ms +/- 6.8%
    fasta:               107.6ms +/- 21.9%
    tagcloud:            135.6ms +/- 14.0%
    unpack-code:          80.4ms +/- 3.0%
    validate-input:      151.0ms +/- 7.0%