Javascript引擎性能比较: Google Chrome vs Firefox 3 vs IE 7
Published on Tue 02 Sep 2008 10:09 ( 1 year, 6 months ago)
大家可以自己比较: http://www.celtickane.com/webdesign/jsspeed2007.php
我只是随手测试了一下, 注意,每次测试出来的结果是有区别的,有时候区别还挺大,但大致可以分辨其趋势。 此外这些比较在不同的机器上是没有意义的,得在自己的机器上比较。 第一次运行大家都有些慢,建议忽略初次运行结果,多执行几次就大体知道在什么值是平均的。
结果是, Firefox 3 最快, IE7 最慢, Google 吹嘘的高性能Javascript引擎并不是最快的, 呵呵。 我估计Opera, Safari应该会性能更好些, 不过懒得安装比较了。 过不了多久就会有专业的报告出来,我还是等着看报告吧。
---
1. Google Chrome:
| Test Type | Runtime (ms) |
| Array object | 184 |
| Date object | 86 |
| Error handling | 7 |
| Math object | 13 |
| RegEx object | 71 |
| String object | 36 |
| DOM | 123 |
| Ajax declarations | 644 |
| Total Duration | 1164 |
2. Firefox 3.0:
| Test Type | Runtime (ms) |
| Array object | 22 |
| Date object | 16 |
| Error handling | 53 |
| Math object | 34 |
| RegEx object | 190 |
| String object | 52 |
| DOM | 136 |
| Ajax declarations | 440 |
| Total Duration | 943 |
3. IE 7 :
| Test Type | Runtime (ms) |
| Array object | 79 |
| Date object | 45 |
| Error handling | 144 |
| Math object | 183 |
| RegEx object | 600 |
| String object | 136 |
| DOM | 369 |
| Ajax declarations | 774 |
| Total Duration | 2330 |
Related posts:
- Happy St. Patrick’s day!
- Apps.gov: 美国政府的Apps Store
- Data.Gov
- SEA – SFO – Virgin America – Twitter – Boarding.fr
- 西厢计划 – GFW vs Romance of the West Chamber
- Adsense使用了Google Search history
- 流水账 ~ Seattle一日 ~ 今天的月亮
- CSS3, HTML5, Ajax… 最近的一些零碎心得
- 知易行难 vs 知难行易 - Startup vs Established
- 再读《人月神话(The Mythical Man Month)》
Search related in web:
Custom Search