•  
  • VB
  • VB 2008做的就是比VB 2005好!(Lisa Feigenbaum)

VB 2008做的就是比VB 2005好!(Lisa Feigenbaum)

Categories: VB
Tags:
Comments: 4 Comments
Published on: 2008 年 03 月 04 日

[原文作者]:Lisa Feigenbaum

[原文链接]:VB2008 Outperforms VB2005! (Lisa Feigenbaum)

寻找其他的方面升级到2008?对,是性能!为了使你的任务在版本更新中执行的更快,我们可以为你节省时间而并因而使你更有产能的方式, 就是使产品执行的速度更快些!这是我们整个VB组的目标,为此我们建立了一个有效的组用来做Orcas的发布。让我们看一下下面的数据,你会发现一些有趣的提高:

[**不承诺声明:这里所粘贴的数据是我个人通过观察在内部实验室的2Run比较而得来的。这些是我使用了在一台特定的机上运行2个大的客户端解决方案的观察报告。有些人有快些的系统,也有些人可能有慢些的。同样,工作需要每个操作也都是基于你的解决方案的。因而,你的结果可能好些,也可能差些。有趣的事情是在同样的硬件环境中来看不同的版本之间的差异。我这里仅仅是记录了这些数据,希望能在这些改变上给你一个大概的印象-但是这些数据并不是意味着可以用作工业标准。

如果对这些有兴趣,这里是解决方案和所使用的机器的一些数据一个解决方案包含了29个工程项目和2772个文件,且在所有的方法和类型上都有XML的注释。另一个解决方案包含了783个文件。机器的配置为 :D ual Core Pentium-D – 3.0GHz, 1GB RAM, 10K RPM HD. OS=XP.这些是我们内部执性能测试的机器规格的一种。

Scenario VB2005 Time (ms) VB2008 Time (ms) VB2008 is x times faster than VB2005 (2005 time/ 2008 time) VB2008 takes x% as much time as VB2005 (100% * 2008 time/ 2005 time)
Build a large project (using background compilation) 222206.25 1352.88 164.25 0.61%
Build a large multi-project solution (explicit build operation) 1618604.75 57542.75 28.13 3.56%
Build a large multi-project solution (using background compilation) 222925.50 19861.88 11.22 8.91%
Responsiveness after adding a member to a class 327.00 36.50 8.96 11.16%
Responsiveness after opening a project 255551.25 38769.38 6.59 15.17%
Invoke Intellisense to see a list of types (first time) 1192.50 530.5 2.25 44.49%
Edit-and-Continue in a solution with xml comments (first time) 441.25 210.5 2.10 47.71%
Responsiveness after changing a method statement 390.25 236.38 1.65 60.57%
10 Steps in the debugger (subsequent times) 1850.75 1167.13 1.59 63.06%
Invoke Intellisense to see a list of types (subsequent times) 79.25 51.5 1.54 64.98%
F5 when the solution is already built (subsequent times) 385.20 278.7 1.38 72.35%
Item gets added to the Error List after making an error 531.25 394.5 1.35 74.26%
10 Steps in the debugger (first time) 1336.50 1150 1.16 86.05%
Responsiveness while background compiling on an open solution 4803.00 4284.75 1.12 89.21%
Load a large solution (subsequent times) 13667.5 12407.25 1.10 90.78%

**所有时间都是依据在执行客户端解决方案的操作表现测定的。难道你不希望我们使用你们的解决方案来优化我们的时间吗? 发送它给我们以致于我们可以为你来做优化!(vbperf@microsoft.com)我们总是很希望能得到更多的客户端工程来做测试。 

你可以使用正常的操作继续体验产品性能的情节,这样的你感兴趣的情节有什么在上面没有看到的吗?

为了使我们也可以看一看,请发送重现的操作步骤给我们!(vbperf@microsoft.com)

其他的有趣的VB2008性能内容如下:

在第9电视频道,VB性能开发者Cameron McColl 谈论并示范若干在OrcasVB性能的改进:

http://channel9.msdn.com/ShowPost.aspx?PostID=328382#328382.分级,第一时间的感觉,任务列表的错误,编辑框的相应,大的解决方案和web应用程序是一些我们在VB2008关注提高性能的部分。

Cameron 也表明了这些改进也可在他的网页上看到:http://blogs.msdn.com/vbteam/archive/2007/07/24/today-s-performance-webcast-slide-deck-and-channel9-interview-beth-massi.aspx

Share this
4 Comments - Leave a comment
  1. BrightChen 说道:

    的确,很喜欢vs2008

  2. intermapper 说道:

    的确性能上面提升了很多!

  3. Gyc 说道:

    VB9 万岁~~~~PS:一个小小的问题,不知道楼主是有意还是无意的,按照时间差排序了?

  4. Rome 说道:

    两个版本之间性能差那么多,是不是说明之前的版本的设计或实现有很大问题呢?

Leave a comment


Welcome , today is 星期二, 2012 年 05 月 22 日