473,378 Members | 1,346 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,378 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 1075
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.