• 【设为首页】
  • 【收藏闪客居】
当前位置:主页 > Flah Ria > 文章内容
  • RIA平台下各技术性能评测参考

  • 来源:圣叹 作者:kono 2008-11-19 【 】 TAG:

The goal of this test is to directly compare performance of different RIA frameworks / approaches in different browsers. The test, which implements simple 2D animation demo, was initially created in DHTML, then ported to Silverlight (WPF/e), Flex and WPF (XBAP). The code used in DHTML, Silverlight (WPF/e) and Flex is essentially the same while for XBAP demo it was ported to C#.

The applicability of results is limited of course to the performance of animation, however, this is correlated to many practical patterns of modern RIA applications such as drag-and-drop and layout transitions. Additionally it allows to quantatively compare performance of different versions of browsers.
--
这里的测试是一套基于动量碰撞的动画,评比各家平台的性能。其中源代码是开放的,如果怀疑是代码写的不好,完全可以自己去修改它。
我的测试结果:
点击在新窗口中浏览此图片
[以上数据为在我自己的笔记本上跑的结果,非官方数据,或许会有出入,配置:XP SP2, Cure Duo T7250, 2G RAM]

  所 有测试使用了默认的16 Ball,全部浏览器均只开一个标签页。从测试结果显示,Silverlight 2在各家平台下表现突出,性能遥遥领先,但是...微软的产品一般要3.0+才可以使用,先等明年Silverlight 3的发布吧,据说有一些了惊人的特性(3D,etc)。Flex(Flash Player10)在Chrome和Firefox下性能优异,但低于Silverlight 2, IE下表现尤其差强人意。Chrome下Javascript的性能甚至超越了Flash Player。为什么版本号已经到10.0的Flash Player性能拼不过初出茅庐的Silverlight?
  性能仅仅是一个RIA的一个方面,RIA应该是有一系列产品线组成的,Silverlight拥有强悍的VS IDE,但缺乏对应的设计产品——Expression的操作感很不咋的。关于设计,仍然是Adobe的天下。
  安装量方面,Adobe Flash一家独大,占据了95%以上的市场。但是Silverlight来势汹汹,号称全球1/4的电脑装了Silverlight,在中国拜强悍的QQ所赐,安装量已经过了80%。

  很抱歉前面的文章中我道听途说,讲Silverlight2的性能在Flash Player10倍以上。但是从我亲自跑的测试来看,Silverlight2的性能的确要强于Flash Player10。在接下来我还会做一些了测试,以及试试看bubblemark的算法是否有问题。



上一篇: 基于浏览器的 RIA 如何防止用户误点关闭或后退按钮   下一篇:Flash 平台 RIA 开发 AS 参考手册更新
  • 用户名:新注册) 密码: 匿名评论
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)
推荐内容

Copyright © 2006-2008 flashas.net All Rights Reserved.
网站内容咨询: admin#flashas.net (#为@) 联系QQ:40777822 浙ICP备06033001号
(本网站最佳浏览解析度为1024*768, 建议使用IE 6.0或以上版本浏览器。)