profiling

How to measure memory bandwidth utilization on Windows?

I have a highly threaded program but I believe it is not able to scale well across multiple cores because it is already saturating all the memory bandwidth. Is there any tool out there which allows to measure how much of the memory bandwidth is being used? Edit: Please note that typical profilers show things like memory leaks and memor...

How to profile memory usage and performances of an openMPI program in C

Hi, I'm looking for a way to profile my openMPI program in C, i'm using openMPI 1.3 with Linux Ubuntu 9.10 and my programs are run under a Intel Duo T1600. what I want in profile is cache-misses, memory usage and execution time in any part of the program. thanks for reply ...

Favorite tools for monitoring cache for windows?

Hi, I am trying to profile my application but apparently it is too large for the profiler to even process. I am using IBM Quantify and suspect the same problem will show up if I try to use a different profiling tool. So I'm looking for a program that will monitor cache and i/o activity and performance that will run in the background an...

Java Profiling, Performance Tuning and Memory Profiling exercises

I am about to conduct a workshop profiling, performance tuning, memory profiling, memory leak detection etc. of java applications using JProfiler and Eclipse Tptp. I need a set of exercises that I could offer to participants where they can: Use the tool to to profile the discover the problem: bottleneck, memory leak, suboptimal code etc...

Is there any profiler like visual studio profiler that works under Virtual Machine?

Hello, We are using ec2 lab to work on our product. The product currently I am working is written in LISP, Java, C/C++. It has a lot of components. My task is to profile it find performance bottleneck. I can load the C/C++ components in vs2008ts to compile it. As its a team system version, I can analyze it too. But the problem is visual...

Profiling memory usage in Mathematica

Is there any way to profile the mathkernel memory usage (down to individual variables) other than paying $$$ for their Eclipse plugin (mathematica workbench, iirc)? Right now I finish execution of a program that takes multiple GB's of ram, but the only things that are stored should be ~50MB of data at most, yet mathkernel.exe tends to h...

How do I profile my Ruby test suite in aggregate?

The usual sob story: my tests are running slowly. My first thought was to profile the whole test suite to look for obvious wins (stubbing out network access or caches), so I added a ruby-prof task: RubyProf::ProfileTask.new(:units) do |t| t.test_files = FileList[RAILS_ROOT + '/test/unit/**/*_test.rb'] t.output_dir = Dir.tmpdir t....

Profiling help in asp.net

I am building a site using WebFormsMvp and Entity Framework 4. The site is a bit slow and when i profile in dotTrace these three methods take 75% of the time. (My first method takes about 3%) System.Threading.WaitHandle.InternalWaitOne(SafeHandle, Int64, Boolean, Boolean) Microsoft.Samples.Runtime.Remoting.Channels.Pipe.PipeNative....

How to properly write a SIGPROF handler that invokes AsyncGetCallTrace?

I am writing a short and simple profiler (in C), which is intended to print out stack traces for threads in various Java clients at regular intervals. I have to use the undocumented function AsyncGetCallTrace instead of GetStackTrace to minimize intrusion and allow for stack traces regardless of thread state. The source code for the func...

Windows Service startup time

Is there a way to programmatically retrieve start-up time/duration for all the Windows Services that have started during boot in Windows XP? That is, the time the service was initialized to getting to the "started" state. Thank you in advance! P.S. I'm not asking for software recommendation. ...

Performance Characteristics of Fundamental Operations for Computational Estimation of Algorithmic Complexity

I've made a compiler for a general-purpose programming language. As part of the toolchain, I'd like to include a profiler with the ability to estimate the time complexity of a given expression. It seems fairly straightforward to calculate the algorithmic complexitythat is, assuming all constant-time operations take the same amount of tim...

Wordpress xdebug profiling

Hello, I used Xampp 1.7.3 and (mod) xdebug to profile the latest Wordpress 3.0.1 release on a Windows 7 machine. The average loadtime during tests was arround 835 milliseconds calling 697 functions and performing 15 mysql queries. I used the default theme twentyten. Now my question: Can someone validate my results or is my local setu...

Android native code profiling..

I am trying to profile native android code, but I am getting the following error.I am running the code on a linux machine. $tracedmdump profile post-processing traces... Static basic blocks: 64525, Dynamic basic blocks: 87073132 Static instructions: 412004, Dynamic instructions: 509641730 Elapsed seconds: 26...

CPU profiling a Cocoa app in the field

I have a user complaining that my app is taking a lot of CPU time when it should be idle. This is a Cocoa app on Mac OS Leopard. What I would love to do is have a background thread periodically grab stack traces of the main thread and log them. Alternatively, if I could have him run a command line program to grab all the threads' stacks ...

Which files are taking most of my process's I/O time?

I have a fairly large python program that is causing a lot of disk I/O (on top, %wa can get as high as 80, and iotop says that my process is the culprit). There are several things that may cause this - I'm writing to more than one log file, and I'm saving cached results to disk in several places, so it's not immediately obvious where I ...

How can I profile setTimeout functions existance in JS

Hi I am having a problem understanding which function runs (probably in infinite loop) in my JS code. Is there a plug\way to see the list of the setTimeout functions that are running? thank you ...

Profiler of VC++10 only optimizes 31%

I get "776 of 2491 ( 31.15%) profiled functions will be compiled for speed" when using the profiler of VC++10 64 Bit edition. If I use the 32 Bit edition, 100% functions are optimized. What am I doing wrong? ...

XDebug profiling in PHP - can't get output

Hello everybody, I've got a strange issue. I've setup XDebug to profile a PHP application we're working on. I believe everything is setup correctly but I get no output when I run it. My configuration looks like this: zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so [XDebug] xdebug.profiler_append = 1...

Help with explaining profiler results [STL]

Hi guys, I'm profiling a recent program that is dominated with File read. I'm kind of confused on how to interpret the results. If someone could explain to me what these top four functions are, it would help me a lot. Thanks in advance! % cumulative self self total time seconds seconds calls ...

How to identify Memory Leaks in Android?

I have developed a simple application before testing it i want to check whether any memory leaks are there in the application. I don't know how to identify the leaks in Android. I am using Eclipse IDE for development. Is there a good introduction into finding memory leaks in Android apps somewhere? ...