每个功能的执行时间 [英] execution time for each function
本文介绍了每个功能的执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我在asp.net(c#)中有一个项目,我想获取每个函数的执行时间,这可能吗?
如果有关于这对我有帮助的文章
感谢
Hi
I have a project in asp.net (c#) and I want to get the execution time for each function, Is this possible?
if there is article about that help me
thanks
推荐答案
^ ]是您可以在方法中用来测量执行时间的内容.
This[^] is what you could use in your methods to measure execution time.
您可以考虑使用 profiler . 竞争对手"的一些好的建议:什么是好的.NET Profilers? " [^ ]在堆栈溢出.
You may consider using a profiler. Some good advices by ''the competitors'': "What Are Some Good .NET Profilers?"[^] at Stack Overflow.
这篇关于每个功能的执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文