139Fermer141
GodzilLe 23/11/2007 à 11:41
./138 partie 2: au choix soit tu racconte n'importe quoi, soit tu comprend vraiment rien a ce que tu racconte et/ou ce qui a été dit sur ledit topic...

pour le JS (au risque d'en faire raler certains tongue) :

http://webkit.org/blog/122/webkit-3-10-new-things/

partie 2
2. Faster JavaScript and DOM

We have greatly improved the speed of JavaScript and DOM operations, both critical to the performance of today’s rich web applications. You can see this on a number of benchmarks. To gather the results below, I tested on a MacBook Pro (2 GHz Core Duo, 1 GB RAM). For the WebKit 2 results, I used Safari 2.0.4 on Mac OS X 10.4 Tiger. For the WebKit 3 results, I used Safari 3.0.4 on Mac OS X 10.5 Leopard.

* i-Bench JavaScript Processing - The primary benchmark that Apple marketing has used is the JavaScript i-Bench. While you can download it yourself, it’s a bit of a pain to set up. Most of the other benchmarks listed below are easier to run yourself, but are not as realistic and comprehensive in their coverage.
WebKit 2 - 1.99 sec
WebKit 3 - 0.87 sec
WebKit 3 is 2.3 times as fast!
* Celtic Kane Javascript Speed Test 2007 - This popular benchmark is easy to try in the browser and covers a variety of JavaScript and DOM processing tasks.
WebKit 2 - 1276 ms
WebKit 3 - 624 ms
WebKit 3 is 2 times as fast!
* pentestmonkey MD5 test - This test times various cryptographic checksums coded in pure JavaScript. Run it here.. I’m reporting only the MD5 numbers - the other changes are similar.
WebKit 2 - 8.352 sec
WebKit 3 - 3.794 sec
WebKit 3 is 2.2 times as fast!
* JavaScript Raytracer - The full mode of this JavaScript Ray Tracer is a test of many parts of the browser including JavaScript, DOM and layout.
WebKit 2 - 853.594 sec
WebKit 3 - 48.48 sec
WebKit 3 is 17.6 times as fast!
If you try other JavaScript and DOM benchmarks on the web, you’ll see similar results - speedups of 2x or more. These are speedups you will really feel on advanced web applications.


Je n'arrive pas a corroborer toutes les valeurs pour Safari3 (sous windows je n'ai pas testé encore sous mac os X) mais sur les meme tests, Firefox a largement montré qu'il etait le plus lent...

D'ailleurs http://celtickane.com/projects/jsspeed2007.php montre que Firefox va en se déteriorant... FF3 est encore plus lent que FF2 (bon ok FF3 n'est pas encore en finale mais bon...)

attention je déconseille le test de raytracer sur Firefox2 en full, a moins que vous ayez plus de 20min de patiente...