Javascript引擎性能比较: Google Chrome vs Firefox 3 vs IE 7


Javascript引擎性能比较: Google Chrome vs Firefox 3 vs IE 7

Published on Tue 02 Sep 2008 10:09 ( 2 years ago)
随笔 知识 观点 Google

大家可以自己比较: http://www.celtickane.com/webdesign/jsspeed2007.php

我只是随手测试了一下, 注意,每次测试出来的结果是有区别的,有时候区别还挺大,但大致可以分辨其趋势。 此外这些比较在不同的机器上是没有意义的,得在自己的机器上比较。 第一次运行大家都有些慢,建议忽略初次运行结果,多执行几次就大体知道在什么值是平均的。

结果是, Firefox 3 最快, IE7 最慢, Google 吹嘘的高性能Javascript引擎并不是最快的, 呵呵。 我估计Opera, Safari应该会性能更好些, 不过懒得安装比较了。 过不了多久就会有专业的报告出来,我还是等着看报告吧。

---

1.  Google Chrome:











































Test TypeRuntime (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 TypeRuntime (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 TypeRuntime (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:


Search related in web:

Custom Search

RSS Feed

One click subscribe this blog in your google reader!

Be social!


Want to say something here? please sign in



Blog posts link to this page
What are friends tweeting?
Tags cloud
Monthly Archives