profiling

How to measure developer build time...

I wanted to write a small app that would sit in my taskbar and monitor what Visual Studio was doing all day. Specifically, what I really want to figure out is how long I spend waiting on Visual Studio to build my solution each day. Could someone point me in the right direction. Is there something in the Visual Studio SDK that would he...

Program Execution Speed Testing

I have a C# app in which I am testing 3 ways to do something with XML. I read a string of XML get a value out and then add it to a custom collection. I am testing XMLDocument, XDocument and String manipulation to find the node value, in that order recording a start and end time for each. However if I say mix the order up I get differe...

How to profile an application when deferred execution makes it difficult?

I have this .NET application, which relies on deferred execution. When I am profiling it the methods that consume most time are those who enumerates the IEnumerables. Because of this I think that the methods that must be optimized are not in the Top Time Consuming methods. Did it ever happened to you? How to profile an application corr...

Which is the best replacement for KProf ?

I'm searching for a "good enough" gprof output visualizer. Kprof seems unmaintained. Profiling is an important part of (speed sensitive) applications development, but I fail to find support on the major Linux IDEs. Any suggestions ? ...

Memory profiling tool for Delphi?

I set up a project and ran it, and looked at it in Process Explorer, and it turns out it's using about 5x more RAM than I would have guessed, just to start up. Now if my program's going too slowly, I hook it up to a profiler and have it tell me what's using all my cycles. Is there any similar tool I can hook it up to and have it tell m...

Profiling a Java Application in Eclipse? (plug-in)

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful: http://www.eclipse.org/projects/project%5Fsummary.php?projectid=tptp.performance Any other good plug-ins to use? EDIT OK, it doesn't necessarily have to be an Eclipse plug-in. But it would be nice. And, I'm most interested in speed. ...

Best practice for the Python-then-profile-then-C design pattern?

Hi all. A popular software development pattern seems to be: Thrash out the logic and algorithms in Python. Profile to find out where the slow bits are. Replace those with C. Ship code that is the best trade-off between high-level and speedy. I say popular simply because I've seen people talk about it as being a great idea. But are t...

How to profile network utilization of a .NET application

I have a .NET windows service that does a lot of network magic (WMI, Ping, etc - the list is very long). I would like to profile, with as much ease and detail as possible, how much bandwidth the application uses in total as well each part in the code. Are there any tools that can help me do that? Ants profiler for example will help me ...

php profiling: what results are normal?

As testing server, my computer (Windows 7, Amd Athlon X2, 1 GB RAM) is used. My application is based on Zend Framework. It uses MySQL and Zend_Translation, and Memcached as cache. I'm getting execution time of my PHP application with simple microtime(): Execution time 0.086215972900391 (when db and translation data is cached) I want t...

Profiling DLL/LIB Bloat

I've inherited a fairly large C++ project in VS2005 which compiles to a DLL of about 5MB. I'd like to cut down the size of the library so it loads faster over the network for clients who use it from a slow network share. I know how to do this by analyzing the code, includes, and project settings, but I'm wondering if there are any tools...

What profiling tools exist for Python on Linux beyond the ones included in the standard library?

I've been using Python's built-in cProfile tool with some pretty good success. But I'd like to be able to access more information such as how long I'm waiting for I/O (and what kind of I/O I'm waiting on) or how many cache misses I have. Are there any Linux tools to help with this beyond your basic time command? ...

gwt application logging, profiling, benchmarking

Is there a good methodology for logging/benchmarking/profiling a gwt application to identify bottlenecks? Something like a timing/logging framework or similar. ...

javascript profile in Firefox

(I know some people already asked questions about js profile, but that's not what I need if I understand them correctly.) I'd like to trace the execution of javascript to collect the information of 1) which function is invoked, 2) the time when the function is invoked, and 3) the execution time of the function. I want to collect the i...

Profiler for Visual C++ 2005

Any recommendations for gratis (i.e. free as in free beer) profilers which can be integrated with Visual C++ 2005? I'm using Very Sleepy right now (which is really nice), but wouldn't mind shifting if there were a better option. ...

PHP + MySQL profiler

You know how vBulletin has a sql profiler when in debug mode? How would I go about building one for my own web application? It's built in procedural PHP. Thanks. ...

Best books on how to optimize and profile Python code

What are the best books on how to optimize and profile Python code? ...

Best books on how to optimize and profile Java code

What are Best books on how to optimize and profile Java code? ...

Best way to Migrate Anonymous Profile

Is there an alternate way that migrates all parameters implicit? Or any other advantages. From MSDN: public void Profile_OnMigrateAnonymous(object sender, ProfileMigrateEventArgs args) { ProfileCommon anonymousProfile = Profile.GetProfile(args.AnonymousID); Profile.ZipCode = anonymousProfile.ZipCode; Profile.CityAndState = ano...

My (huge) application throws an OutOfMemoryException, now what?

This is by far the most complex software I've built and now it seems to be running out of memory at some point. I haven't done extensive testing yet, because I'm a bit lost how I should approach the problem at hand. HandleCount: 277 NonpagedSystemMemorySize: 48136 PagedMemorySize: 1898590208 PagedSystemMemorySize: 189036 PeakPagedMemory...

How can I Monitor cpu usage per thread of a java application in a linux multiprocessor environment?

Hello, I'm running a multithreaded java app in Linux RedHat 5.3 on a machine that has 8 cores (2 quad-core cpu's). I want to monitor the cpu usage of each thread, preferably relative to the maximal cpu it can get (a single thread running on 1 of the cores should go up to 100% and not 12.5%). Can I do it with jconsole/visualVM? Is ther...