阅读:10151回复:31
JavaScript性能测试:Firefox 3 B4(2008022001) VS OPERA 9.5(8789)
测试地址:http://wd-testnet.world-direct.at/mozilla/dhtml/funo/jsTimeTest.htm
测试机子:IBM T23 (PIII M 1.1G/256MB/WIN XP SP2) |
|
|
1楼#
发布于:2008-02-20 22:48
1000000 times:143ms
1000000 times: 98ms 1000000 times:94ms 1000000 times:97ms 1000000 times:160ms 1000000 times:129ms 1000000 times:84ms 1000000 times:1499ms 1000000 times:111ms 1000000 times:367ms 1000000 times:319ms 1000000 times:79ms 1000000 times:86ms 1000000 times:681ms 10ms Average time: 263ms 逆天了!!!! |
|
2楼#
发布于:2008-02-20 22:48
1号的版本已经到了320.
opera居然用了420. 正式翻身做主了。 |
|
3楼#
发布于:2008-02-20 22:48
用户被禁言,该主题自动屏蔽! |
|
4楼#
发布于:2008-02-20 22:48
用户被禁言,该主题自动屏蔽! |
|
5楼#
发布于:2008-02-20 22:48
恩
就其编译的过程来说 先编译一个,然后让他访问很多常用网站,执行很多常用功能。得出一个"profile" 然后根据这个profile再进行优化,进行第二轮编译 体现了逐次逼近的思想 超级花时间,而且不通的可能性大大增加了。。 期待正式版以后,tete009等诸君的表现。 |
|
|
6楼#
发布于:2008-02-20 22:48
我的认识证明是错误的。
权威说明 The "profiling" bit just means running the program to see what parts of the code get run most often. Then in the "compile with profile" section, the compiler can optimize better by knowing which functions and parts of functions are more likely to be called. We're doing that just using a script that starts Firefox and quits it after a short time, so all the code that goes into starting up Firefox gets run. As other people have said, this will all happen on the tinderbox, and the only thing you'll see is a faster browser. http://forums.mozillazine.org/viewtopic ... 9&start=30 大致是说先做一个build出来,运行一下,看看哪部分代码用的更多,然后记住这些信息,再重新做一个build出来。 整个过程是在服务器上完成。我们最终用户只看到第二次编译的成品。(回锅肉?)呵呵 |
|
|
7楼#
发布于:2008-02-20 22:48
我的理解是PGO (profile-guided optimization,个人资料指导下的优化)会根据你使用的情况积累数据库然后针对性的优化。(我的理解是这个过程是全部本地化,没有安全问题)
|
|
|
8楼#
发布于:2008-02-20 22:48
下载了pgo版本也跑了一下
![]() |
|
9楼#
发布于:2008-02-20 22:48
需要什么硬件支持?
|
|
10楼#
发布于:2008-02-20 22:48
不知道 PGO 是什么意思。测试了一下今天的版本(2008022601),JS 效率又提高了一点,不过提高的幅度没有以前那么大了。
|
|
11楼#
发布于:2008-02-20 22:48
nighttalker:我不太理解为什么PGO版本会加快javascript这么多。 试了一下,那个版本确实能比官方的快100ms以上(在我的TP X31上)。 期待官方版本跟进。 |
|
12楼#
发布于:2008-02-20 22:48
服气了,cpu比我的贵一倍
|
|
|
13楼#
发布于:2008-02-20 22:48
我不太理解为什么PGO版本会加快javascript这么多。
不过快总是好事啦。PGO应该会加到beta4里面去的。所以官方版本最终也会那么快的。 |
|
|
14楼#
发布于:2008-02-20 22:48
taizitju: CPU:e6300 oc 2800,RAM: DDR2 800 512Mx4,OS:Windows Vista SP1 en Firefox 是这个版本: http://people.mozilla.com/~tmielczarek/ ... .win32.zip |
|
上一页
下一页