人生是一场不能存盘的RPG,我只能尽量多搞几个Screenshot

May 16, 2006

Wabcast_应用程序性能调节

Filed under: Web cast学习

//——————————–
    原则
//——————————–
1.设置目标
2.测量
3.了解平台特性

//——————————–
    方法论
//——————————–
性能周期: 收集性能数据->分析数据找到问题->solution-> 实现 ->测试->收集性能数据
高质量的代码: 可移植性,可读性,可维护性,可靠性
收集数据:计时器 , 工具: Intel Vtune(收集数据)
负载: 可测量,可再生,静态,有代表性
识别问题: 瓶颈,热点
途径:算法,数据结构, 代码调节, 系统软件, 硬件

//——————————–
    .Net 程序优化
//——————————–
StringBuilder
GC的特点:使用弱引用
Ngen
值类型
using 对应的IL代码

//——————————–
    工具
//——————————–
Intel Vtune
应用平台: .net(可测到方法一级),c++(可测到代码级)

Performance:

CLR profiler

Dev partner (Compuware)

期望能看到一个性能分析的实例,但结果很失望,咬牙挺到了最后.

Comments »

The URI to TrackBack this entry is: http://recordsome.blogsome.com/2006/05/16/p41/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham