profiler

c++ profiling/optimization: How to get better profiling granularity in an optimized function

I am using google's perftools (http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html) for CPU profiling---it's a wonderful tool that has helped me perform a great deal of CPU-time improvements on my application. Unfortunately, I have gotten to the point that the code is still a bit slow, and when compiled using g++'s -O3 ...

Using the Netbeans 6.5 profiler to profile a remote web app ?

I'm having trouble using the Netbeans 6.5 profiler to profile the memory usage of a java web app, remotely. I have followed the steps in the tutorial, and was able to customize a Tomcat instance to start with the profiling agents. I can also attach the Netbeans profiler to the running server: for some seconds, the profiler shows graphs ...

sql profiler 2008 does not accept template name in command line launch

I am trying to launch sql profiler 2008 from the command line launch. the syntax I used : C:\Program Files\Microsoft SQL Server\100\Tools\Binn>profiler90 /S server /D dbname /U sa /P password /T "C:\Documents and Settings\template.tdf" actual result: profiler opens, successful login happens but still I am forced to select a template. ...

SQL Profiler 2000 will not pause or stop

Has anyone seen the issue with SQL Profiler 2000 where you cannot pause or stop a trace? The only way I can stop it, is by doing a control - alt - delete and then end the application process. This just randomly started happening. Also the pause and stop buttons grey out. Any help on this issue is greatly appreciated. ...

How to find what caused errors reported in a SQL Server profiler trace?

I was running a trace on a Sql Server 2005 using the profiler and need to find out what is causing the reported errors. I used the "blank" template, and selected all columns of the following events: Exception Exchange Spill Event Execution Warnings Hash Warnings Missing Column Statistics Missing Join Predicate I noticed a number of ...

Fastest way to get a single record with SubSonic

I am new to SubSonic and Linq Stuff and I am trying a figure out the shortest and optimal way of retrieving a single record. What other way is quicker and requires less code to write than this to get a single record? User user2 = DB.Select().From(User.Schema) .Where(User.PasswordColumn).IsEqualTo(password) .And(User.SINumberColumn).IsE...

memory profiler for c++

Im trying to find a tool that can help me find out where my memory is allocated in a certain stage of my program. Most memory profilers cant do this and just tell you if memory is leaked or not. Does any one know of a tool that can do this? Edit: OS: Win32 Visual studio 2005 ...

Doctrine profiler does not catch queries

I think I must be missing something obvious here. I have Doctrine and Zend Framework set up together. In the bootstrap.php file I have the following - based on the Doctrine documentation for using the profiler: $profiler = new Doctrine_Connection_Profiler(); $conn = Doctrine_Manager::connection(); $conn->setListener($profiler); (...) ...

Recommended Open Source Profilers

I'm trying to find open source profilers rather than using one of the commercial profilers which I have to pay $$$ for. When I performed a search on SourceForge, I have come across these four C++ profilers that I thought were quite promising: Shiny: C++ Profiler Low Fat Profiler Luke Stackwalker FreeProfiler I'm not sure which one of...

How to use the Netbeans Profiler programatically ?

Hello I want to be able to do some profiling to some app using the Netbeans Profiler API. I'm not intreseted in using Visual VM , but rather in programatically collecting data from the application[let's say CPU usage, and method execution times]. For instance, using CPU usage and hot methods. How to get that data and print it on console...

Any tool similar to ants profiler and free?

I want to test an asp.net web application. What are the best free graphical tools out there? While something similar to the Ants would be really good, it would be nice to have a tool that even includes information on data sent over the wire. something like Ants + Fiddler. I hope Im not asking for too much :) Thanks. ...

Open Source Java Profilers

What can you guys recommend to use with Java? Only requirement is it should be open source, or has not too expensive academic licence . ...

using Mysql Query Profiler to know the execution time of the queries and the performance in php script

I would like to use mysql query profiler in the php script. So that after i execute any queries it need to display the execution time of the query. Suggest the best way to use this also share any other scripts like query profiler. ...

How to measure performance indepently of the machine used

Hello there, I had a routine that was performing good. However, I had to make a change to it. The change improved the routine's precision but hurt the performance. The routine is lots of math calculations and is probably CPU bond (I still have to do more rigorous testing on this, but I'm 99% sure). It is written in C++ (compiler is Bor...

Safari 4: How to profile the code running when the page loads

In Safari 4, I am trying to use the profiler to see how the time is spent in the code that runs when the page loads. I enabled the profiler ("Start profiling JavaScript") I load the page. I stop the profiler. At this point, this doesn't create a "profile" snapshot (while it does if I start the profiler after the page is loaded). Any ...

Memory profiler for .NET Compact Framework

Is there a tool I could use for profiling (memory) a .NET compact framework 3.5 application (Windows Mobile)? Thanks! ...

Is there a "function size profiler" out there?

After three years working on a C++ project, the executable has grown to 4 MB. I'd like to see where all this space is going. Is there a tool that could report what the biggest space hogs are? It would be nice to see the size by class (all functions in a class), by template (all instantiations), and by library (how much belongs to the C s...

Is there a CLR profiler that works with .NET 3.5 SP1 and WPF?

In all of my searching, I've only been able to find this one link that suggests the old CLR Profiler for .NET 2.0 should work with .NET 3.0 or 3.5 applications. When I try and profile my .NET 3.5 SP1 WPF application with the CLR Profiler for .NET 2.0 it starts up my application just fine, but it throws up a dialog that says "Waiting for...

Python-Hotshot error trying to profile a simple program

Hi all, I was trying to learn how to profile a simple python program using hotshot, but am facing a weird error, import sys import hotshot def main(argv): for i in range(1,1000): print i if __name__ == "__main__": prof = hotshot.Profile("hotshot_edi_stats") b,c = prof.runcall(main(sys.argv)) prof.close() and the output, ...

Google Performance Tools (profiler) tutorial

I just downloaded and built the libraries/executables of Google Performance Tools. Before I run the CPU profiler on the application that I want to investigate, I want to learn how to use the tools properly perhaps on a sample application. What would be a good example to run the Google CPU profiler on? Thanks in advance. ...