Ce matin je me suis amusé à faire le fameux test « SunSpider » pour comparer

la vélocité du dernier Firefox comparé à la version Linux en cours

de développement de Google Chrome.

Si vous cherchez un peu sur le net, vous verrez que la plupart des benchmarks

annoncent Chrome comme étant 2 fois plus rapide que Firefox 3.5,

mais sur Ubuntu 9.04, comme vous allez le voir, l’écart semble encore plus

significatif.


TEST                   COMPARISON            FIREFOX 3.5           CHROME
=============================================================================

** TOTAL **:           4.14x as fast     2772.2ms +/- 1.6%   670.0ms +/- 3.2%    

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

  3d:                  3.52x as fast      330.8ms +/- 0.7%    94.0ms +/- 10.9%
    cube:              4.03x as fast      112.8ms +/- 2.1%    28.0ms +/- 15.1%
    morph:             3.05x as fast      108.0ms +/- 0.8%    35.4ms +/- 14.6%
    raytrace:          3.59x as fast      110.0ms +/- 1.1%    30.6ms +/- 5.5%    

  access:              7.94x as fast      384.4ms +/- 2.0%    48.4ms +/- 5.3%
    binary-trees:      12.8x as fast       48.8ms +/- 1.1%     3.8ms +/- 27.4%
    fannkuch:          10.1x as fast      161.2ms +/- 1.0%    16.0ms +/- 0.0%
    nbody:             5.22x as fast      123.2ms +/- 5.9%    23.6ms +/- 7.1%
    nsieve:            10.2x as fast       51.2ms +/- 2.0%     5.0ms +/- 0.0%    

  bitops:              6.10x as fast      278.2ms +/- 2.0%    45.6ms +/- 2.4%
    3bit-bits-in-byte: 13.3x as fast       48.0ms +/- 11.7%     3.6ms +/- 18.9%
    bits-in-byte:      7.43x as fast       69.8ms +/- 1.5%     9.4ms +/- 7.2%
    bitwise-and:       6.34x as fast       77.4ms +/- 4.2%    12.2ms +/- 4.6%
    nsieve-bits:       4.07x as fast       83.0ms +/- 1.1%    20.4ms +/- 3.3%    

  controlflow:         10.7x as fast       40.6ms +/- 1.7%     3.8ms +/- 14.6%
    recursive:         10.7x as fast       40.6ms +/- 1.7%     3.8ms +/- 14.6%    

  crypto:              4.06x as fast      164.0ms +/- 6.4%    40.4ms +/- 12.0%
    aes:               4.88x as fast       70.2ms +/- 12.7%    14.4ms +/- 27.7%
    md5:               3.40x as fast       45.6ms +/- 2.4%    13.4ms +/- 5.1%
    sha1:              3.83x as fast       48.2ms +/- 1.2%    12.6ms +/- 5.4%    

  date:                2.30x as fast      246.2ms +/- 7.6%   107.2ms +/- 2.9%
    format-tofte:      1.71x as fast      103.8ms +/- 1.6%    60.6ms +/- 5.1%
    format-xparb:      3.06x as fast      142.4ms +/- 12.5%    46.6ms +/- 2.4%    

  math:                4.16x as fast      296.8ms +/- 5.5%    71.4ms +/- 3.2%
    cordic:            5.38x as fast      121.6ms +/- 1.6%    22.6ms +/- 3.0%
    partial-sums:      3.23x as fast      118.8ms +/- 15.2%    36.8ms +/- 2.8%
    spectral-norm:     4.70x as fast       56.4ms +/- 8.3%    12.0ms +/- 10.4%    

  regexp:              14.7x as fast      312.0ms +/- 13.2%    21.2ms +/- 2.6%
    dna:               14.7x as fast      312.0ms +/- 13.2%    21.2ms +/- 2.6%    

  string:              3.02x as fast      719.2ms +/- 2.3%   238.0ms +/- 1.2%
    base64:            2.28x as fast       52.8ms +/- 2.6%    23.2ms +/- 2.4%
    fasta:             3.31x as fast      142.4ms +/- 1.3%    43.0ms +/- 4.6%
    tagcloud:          3.71x as fast      167.6ms +/- 3.6%    45.2ms +/- 2.3%
    unpack-code:       3.29x as fast      261.6ms +/- 2.9%    79.6ms +/- 2.8%
    validate-input:    2.02x as fast       94.8ms +/- 5.4%    47.0ms +/- 3.2%

Comme vous le voyez par vous-meme, dans ces résultats le tout dernier Firefox

se fait sévèrement distancer par le petit joujou de Google… qui savère etre

en moyenne 4 fois plus rapide ! (rien que ça)

Mais attention, ces résultats sont à confirmer avec un autre test JavaScript

car il est important de signaler que ce test est réalisé par la team WebKit,

qui est justement le moteur JavaScript utilisé par Google Chrome.