关于VS2012自带的 性能分析 工具使用实例(图文介绍)
本篇通过一小段代码的console程序来进行性能的分析以及改进、直到后面的改进前、改进后性能比较结果。先看console代码(源代码下载):复制代码 代码如下:static void Main(string[] args) { int i = 10000; while(i-->0) { Core c=new Core(); c.Process(DateTime.Now.ToString()); } }public class Core { publi...