473,508 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# Profiler

Hi All, Does anyone know of a tool which can profile my assembly, so that I
get a stats on all the methods called and how much time each took?

TIA
Apr 30 '07 #1
4 2845
On Apr 30, 10:07 am, "Vai2000" <nos...@microsoft.comwrote:
Hi All, Does anyone know of a tool which can profile my assembly, so that I
get a stats on all the methods called and how much time each took?
NCover might be a good place to start; it profiles you're code to
ensure each method gets called, so it may keep track of those stats as
part of doing so.

Apr 30 '07 #2
Vai2000,

You can try the CLR profiler:

http://www.microsoft.com/downloads/d...displaylang=en
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vai2000" <no****@microsoft.comwrote in message
news:OJ**************@TK2MSFTNGP02.phx.gbl...
Hi All, Does anyone know of a tool which can profile my assembly, so that
I
get a stats on all the methods called and how much time each took?

TIA


Apr 30 '07 #3

I tried out four profilers a while ago for C# code: DevPartner,
JetBrains dotTrace, AutomatedQA AQtime4, and red-gate's ANTS Profiler.
I thought red-gate's profiler was the best of those four by far.

There are little things like better interface and easier to use and
such, but the bottom line was it quickly allowed me to see the
bottlenecks in my app and fix them, which is exactly what a profiler
is for. :-)

http://redgate.com/products/ants_profiler/index.htm

One thing to note is that a new version of dotTrace has come out since
I did my testing, so perhaps their new one is a lot better. I was
really surprised at dotTrace 'cause JetBrains, the company that makes
it, produces really good software otherwise and has excellent
developers and support.

This site has a pretty big list of profilers too:

http://sharptoolbox.com/categories/profilers-debuggers

HTH,

Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Mon, 30 Apr 2007 10:07:39 -0400, "Vai2000" <no****@microsoft.com>
wrote:
>Hi All, Does anyone know of a tool which can profile my assembly, so that I
get a stats on all the methods called and how much time each took?

TIA
Apr 30 '07 #4
There is also very good YourKit .NET Profiler http://www.yourkit.com/.net/profiler/

Regards,
Serge

May 8 '07 #5

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

Similar topics

0
1865
by: Jeff Mair | last post by:
Hello all, I haven't been using profiler for a terribly long time, and I've come across something that I just can't figure out. I'm running MS Virtual PC to run a Win2K Server OS with SQL...
8
2815
by: patrickshroads | last post by:
I am running a profiler trace against a database and noticed that the reads column always shows 0. When running the same trace against another machine I get back values in the reads column. I took...
0
1639
by: DraguVaso | last post by:
Hi, I'm using for a while DevPartner Profiler (http://www.compuware.com/products/devpartner/resources/profiler/profiler.as p), but unfortunately it works only for 2002 and 2003. Is there a...
9
3261
by: Franco Gustavo | last post by:
Hi, All What's is the best .net profiler for Debug an application. I have to buy one but I don't know which one!! I tried some of them like Borland and AQTime. My big problem is, my...
3
1676
by: Maansi Gupta | last post by:
Platform - Windows 2000 Professional , VC .NET 7.1 Hello, I have recently ported my source code from Visual Studio 6.0 to .NET 7.1 Previously with Visual Studio 6.0 I was using the profiler...
8
2136
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener...
1
3163
by: ofirmgr | last post by:
im trying to understand how the profiler works. so i started 2 profilers,one listen to another and I saw the profiler is running: exec sp_trace_create @P1 output, 1, NULL, NULL, NULL which means...
3
3666
by: Sam Samson | last post by:
Can any-one recommend some good sites detailing how to code a simple memory profiler? How do they "look under the hood"? I built an uber simple service that tracks the process' memory but I need...
2
2327
by: Paul Ritchie | last post by:
A few years ago I used a Profiler (I forget the name) on my Delphi code at the time and got fantastic results showing both: a) lines of code that took the longest to execute and b) lines of code...
0
5033
by: anweshadash | last post by:
Using SQL Profiler: (Ref: http://msdn2.microsoft.com/en-us/library/ms181091.aspx) Sometimes it’s very beneficial to use sql profiler. Let’s have an idea about that and how to use that by...
0
7228
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7128
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
7393
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
7502
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...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.