profiling

What Are Some Good .NET Profilers?

What profilers have you used when working with .net programs, and which would you particularly recommend?...

Any decent C# profilers out there?

I urgently need a C# profiler. Although I'm not averse to paying for one, something which is free or at least with a trial version would be ideal since it takes time to raise a purchase order. Any recommendations? ...

If you have a Java application that is consuming CPU when it isn't doing anything how do you determine what it is doing?

I am calling a vendors Java API and on some servers it appears that the JVM goes into a low priority polling loop after logging into the API (cpu 100%). The same app on other servers does not exhibit this behavior. This happens on WebSphere and Tomcat. The environment is tricky to setup so it is difficult to try to do something like pr...

JavaScript Profiler in IE

Does anyone know a tool for Profiling JavaScript in IE? List available: IE8 (Internet Explorer 8 only) JavaScript Profiler YUI! ...

Simplest way to profile a PHP script

What's the easiest way to profile a PHP script? I'd love tacking something on that shows me a dump of all function calls and how long they took but I'm also OK with putting something around specific functions. I tried experimenting with the microtime function: $then = microtime(); myFunc(); $now = microtime(); echo sprintf("Elapsed: ...

“rusage” statistics

Hello, I'm trying to use “rusage” statistics in my program to get data similar to that of the time tool. However, I'm pretty sure that I'm doing something wrong. The values seem about right but can be a bit weird at times. I didn't find good resources online. Does somebody know how to do it better? Sorry for the long code. class StopW...

How do I profile a Maven Application in Netbeans?

I've got a project using Maven 2 as the build tool. I use Netbeans 6 as my IDE and really want to be able to use the profiler. How can I get this to work? ...

What's your favorite profiling tool (for C++)

So far, I've only used Rational Quantify. I've heard great things about Intel's VTune, but have never tried it! Edit: I'm mostly looking for software that will instrument the code, as I guess that's about the only way to get very fine results. See also: What are some good profilers for native C++ on Windows? ...

Code Profiling in Visual Studio 2005

I have a Visual Studio 2005 Solution workspace which in turn has 8 projects included in it. I want to profile the complete code(all the projects) and get some measure about the absolute cycles taken by each function to execute, or at least percentage cycle consumptions. I checked out help for VS 2005, and also the project setiings optio...

Does anyone here have a favorite memory profiling/memory leak tool they like to use for their java webapps?

I'm looking for a good tool to profile a java webapp. I'd like to get performance information and memory usage if possible. Any suggestions? ...

Cycle count measurement

I have a MS Visual Studio 2005 application solution. All the code is in C. I want to measure the number of cycles taken for execution by particular functions. Is there any Win32 API which i can use to get the cycle count. I have used gettimeofday() to get time in micro secs, but i want to know the cycles consumed? -AD ...

Best .NET memory and performance profiler?

We are using Jetbrains' dotTrace. Can anyone recommend any other profiling tools that you think are better for profiling C# Windows Forms applications? ...

Limiting CPU speed for profiling

I'm trying to optimize several bottlenecks on an application which is supposed to run on a really wide range of CPUs and architectures (some of them very close to embeded devices). The results of my profiler, however, aren't really significant because of the speed of my CPU. Is there any way (preferably under Windows or Mac OS X) to lim...

Find out where your PHP code is slowing down (Performance Issue)

Here's my first question at SO. I have a internal application for my company which I've been recently ask to maintain. The applications is built in PHP and its fairly well coded (OO, DB Abstraction, Smarty) nothing WTF-ish. The problem is the applications is very slow. How do I go about finding out what's slowing the application down...

How to profile a silverlight application?

Is their any profilers that support Silverlight? I have tried ANTS (Version 3.1) without any success? Does version 4 support it? Any other products I can try? Updated since the release of Silverlight 4, it is now possible to do full profiling on SL applications... check out this article on the topic At PDC, I announced that Silverli...

How do you profile your code?

I hope not everyone is using Rational Purify. So what do you do when you want to measure time taken by a function peak memory usage code coverage At the moment, we do manually [using log statements with timestamps and another script to parse the log and output to excel. phew...) What would you recommend? pointing to tools or any ...

jtds No Suitable Driver Exception when running a maven built project

We have a simple spring-hibernate application(console app) where in we have set the classpath in manifest file of the executable jar file. And the app connects to the database using jtds driver, Everything works as expected on windows machine and jdk1.6. But on Linux, the app is unable to find the driver, We are running the program usin...

Quick and dirty way to profile your code

What method do you use when you want to get performance data about specific code paths? ...

Profiling in Visual Studio 2008 PRO

How do I use the profiler in Visual Studio 2008? I know theres a build option in Config Properties -> Linker -> Advanced -> Profile (/PROFILE), however I can't find anything about actauly using it, only articles I was able to find appear to only apply to older versions of Visual Studio (eg most say to goto Build->Profile to bring up the...

How do you measure the time a function takes to execute?

How can you measure the amount of time a function will take to execute? This is a relatively short function and the execution time would probably be in the millisecond range. This particular question relates to an embedded system, programmed in C or C++. ...