473,395 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to identify frequently accessed methods, functions, events?

I am developing a windows application, which consists of few projects with
many methods, functions, events etc., Is there any "tool" available with
VS.net to find the total number of times each method, function, events are
executed?
TIA

J Justin


Jul 21 '05 #1
4 1077
DevPartner from Compuware.

This is a build in tool which helps you developing better and faster code.

You can use it to calculate a diagram of all the methods, together with the
percentage of time spent in the methods.

You can find more information at the compuware website :
http://www.compuware.com/products/de...er/default.htm

Michel

"Justin" wrote:
I am developing a windows application, which consists of few projects with
many methods, functions, events etc., Is there any "tool" available with
VS.net to find the total number of times each method, function, events are
executed?
TIA

J Justin


Jul 21 '05 #2
Thankyou for quick reply. Infact, I used its earlier version, NuMega for VB6
in my previous company. It had many useful features.. Presently I want only
this "functionality", so thought, there must be some free :-) tool in VS.net
itself.

J Justin


"Michel" <Mi****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
DevPartner from Compuware.

This is a build in tool which helps you developing better and faster code.

You can use it to calculate a diagram of all the methods, together with the percentage of time spent in the methods.

You can find more information at the compuware website :
http://www.compuware.com/products/de...er/default.htm

Michel

"Justin" wrote:
I am developing a windows application, which consists of few projects with many methods, functions, events etc., Is there any "tool" available with VS.net to find the total number of times each method, function, events are executed?
TIA

J Justin


Jul 21 '05 #3
Justin <ju****@gjsoft.com> wrote:
I am developing a windows application, which consists of few projects with
many methods, functions, events etc., Is there any "tool" available with
VS.net to find the total number of times each method, function, events are
executed?


I use NCover (http://www.ncover.org/) for coverage testing, but it also
gives "hit" counts so you could use that to find bottlenecks.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
Justin <ju****@gjsoft.com> wrote:
I am developing a windows application, which consists of few projects with
many methods, functions, events etc., Is there any "tool" available with
VS.net to find the total number of times each method, function, events are
executed?


I use NCover (http://www.ncover.org/) for coverage testing, but it also
gives "hit" counts so you could use that to find bottlenecks.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

99
by: David MacQuigg | last post by:
I'm not getting any feedback on the most important benefit in my proposed "Ideas for Python 3" thread - the unification of methods and functions. Perhaps it was buried among too many other less...
6
by: Joe Kelsey | last post by:
When you use addEventListener (or addEvent in IE) to call an object method, does it call it with the correct this parameter? The ECMAScript reference has a lot to say about the caller using...
8
by: Rakehs | last post by:
Hi, I have a method Show() which is invoked by several methods at different intervals. I want to identify the calling method within Show() whenever it is invoked. How do i do this? Thanks in...
7
by: Amadelle | last post by:
Hi all and thanks in advance, I am stuck! I can't figure out how to identify which button was clicked on my ASP.NET page in the PostBack event? So what I am trying to do is to is to have an if...
42
by: Stefan | last post by:
Could someone please explain if there is a difference between when one should use the word method or function. Do they have the same meaning?
2
by: DraguVaso | last post by:
Hi, I have a UserControl (MyUserControl) which has a DataGrid (MyDataGrid). I made a new UserControl that Inherits of my first UserControl: I named it MyInheritedUserControl. For some reason...
8
by: Daz | last post by:
Hi everyone. I just wanted to know if there was any way to use script to display a list of methods linked to a particular object? The object I have in mind is getBrowser(), and I can't seem to...
1
by: =?Utf-8?B?RFdhdHNvbkNyeXBLZXk=?= | last post by:
I need to be able to monitor a file and identify which processes have accessed them. Kind of like Windows Filemon does. The FileSystemWatcher doesn't seem to provide this information, and I can't...
7
by: jp | last post by:
Hi. I'm new to C#, but I've been programing in C++ and VB for years. I wrote a public method inside a form: public bool bConnect(string strServerName, string strDBName, string strUser, string...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.