English 中文(简体)
什么工具用来作为建立通用业绩简介员的复印机,用于网上应用?
原标题:What tools to use as api for building a generic performance profiler for .net applications?

我已经在这里问到一个类似的问题:。 C#/.NET简介员有哪些特点?,但这一读写不仅涉及希望清单,而且涉及如何执行这一愿望清单。

因此,让我再次问你。 我正在建立一个通用的业绩简介员。 我知道,我可以作为投入,采取通常的“停止监视”做法,以说明这种方法的对应时间。 但这是非常基本的障碍。 我愿意利用第三方的复制件(或自行做一些法典),以获取我从那片废墟上可以掌握的任何有用信息。 我想知道一切会使其缓慢。 我想知道它会泄露记忆。 所有这一切都会帮助我找到申请的瓶颈。 我也想找到类似的办法,以找到昂贵的 d干行动。 但所有这一切都是在一项申请下提出的。

因此,你建议采取什么做法? 我能把哪些工具置于我的保护之下,以便我能够在我的项目中加以利用?

我想提出单一申请,采用诸如lls等通用投入,也可以作为源代码树(溶胶、项目、卷宗)提供投入,并以反应时间的形式列出结果,查明瓶颈、记忆泄漏等。

问题回答

Anything at all that would help me find bottlenecks of the application.

仔细考虑通用的定性假设,即测量结果无意中导致瓶颈所在,因为其中一些可以找到,但只能找到一些。

然后,其余的瓶颈却不必要地坐到那里,但开发商却不关心这些瓶颈,因为图象测量器没有将其孤立。

A simple example could be some sort of dictionary lookup that appears to be optimal, except that the words being looked up are highly non-random. If certain words are looked up much more frequently, that represents an opportunity for optimization, but to detect that you need to know something about the data. Measuring profilers don t look at the program s data.

一个更极端的例子是任何一种口译,其数据是另一种语文的“制造装置”。 瓶颈很容易使用其他语言,但是由于数据显示,测量人员不会看到这些瓶颈。

这种问题并不在于测量,而只是方案状态的一小部分样本,开发商可以充分审查每个样本的内容并定性其特征(插头和数据)。 这使得人们对该方案花费时间的方式和原因有了更好的了解,而不是对方法进行衡量或浏览呼吁图表。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签