profiling

tomcat closed when i open visualvm_profiler

i run tomcat6 by doubleclick on startup.bat on win2003 . then i open up visualvm1.31. I went to the profiler tab, and press memory, then i can statement on tomcat log, "...cache" then suddenly tomcat shutdown itself, there is no error message. anyone experience this? visualvm application status: terminated ...

Know of any Firebird profilers and/or stress tester app's ?

The title pretty much says it all. Im looking for som testing programs for a firebird db server, to stress-test and find bottlenecks. Something like DB-Optimizer, only for firebird would be nice. Can also be separate programs, one for stress-testing and one for profiling. ...

webkit profiler

what are the 'self' and 'total' columns? The 'total' column does not add up to 100% (much higher) and it looks like the self does. I suspect self is non-cumulative and total is. So if methodA calls methodB calls methodC, in self Id see the % for each method call individually, whereas in total methodA would show the total of all three ...

[AMD CodeAnalyst] which params show cache misses?

I need to know which parts of my code make the most cache misses.. suggest which parameters of the profiling report I need to monitor, there are too many of them there ^_^ ...

Performance penalty of persistent variables in MATLAB

Recently I profiled some MATLAB code and I was shocked to see the following in a heavily used function: 5.76 198694 58 persistent CONSTANTS; 3.44 198694 59 if isempty(CONSTANTS) % initialize CONSTANTS In other words, MATLAB spent about 9 seconds, over 198694 function calls, declaring the persistent CONSTANTS and checking if it ...

How do I benchmark and profile IO bound Perl web application under heavy load?

How do I benchmark (compare two different implementations) and profile (find performance bottlenecks in an implementation) behavior of a web application (in Perl) under heavy load? This webapp is (supposedly) IO bound rather than CPU bound. I'd like to compare proposed implementation (proposed improvement) with current solution, either...

Low-overhead Ruby profiling?

I have a Ruby program that takes about 4 minutes to complete task and I'd like to get it down to under 1 minute. I tried ruby-prof from gem but enabling it increases running times to ~30 minutes, and doesn't even seem to preserve monotonicity particularly well (some changes reliably improve performance-with-profiler and as reliably dete...

Asp.Net 4.0 Profiling on IIS7

New to both Asp.Net 4.0 and IIS7 deployment. I am having a runtime problem with my application. Basically certain pages are not loading, also looks like a memory issue related to certain calls etc. What are some of the tools and techniques for profiling/debugging Asp.net 4.0 when deployed on iis7. I am just looking for a way to get the...

How to get the total time an application spends on reading/writing from/to the file system?

I am now profiling an application, who does a lot of disk I/O. At this point, I want to know how much time is spent on disk I/O. So that, I could make a comparison between I/O and the whole execution time, in order to decide the next target of optimization. In short, I am seeking tools or methods to: Calculate and summary the total t...

Processid (PID) reuse problem with xCode

I have a large custom CMS and I use xcode to run a profiler to get debug information. So, I perform different functions in my CMS and "HOPE" to get ALL information via xDebug. Lets say I perform two functions: 1. Load a listing of users 2. Deleted a user 2.1 Calls an AJAX script to delete user. Now, due to the process id reuse...

Freeware asp.net profiler

I cam currentlyt using ANTS Anyone knows of a free solution? Thanks Luis ...

Recommended profiling method for J2EE deployed in JBoss AS 5

Greetings, I'm attempting to profile a J2EE project (EJBs, Servlet, JSP) which is deployed in JBoss Application Server 5. I would like to find the methods which use the most cpu and memory. What are the recommended methods and tutorials? Thanks in advance, Ken ...

CPU Cycle count based profiling in C/C++ Linux x86_64

I am using the following code to profile my operations to optimize on cpu cycles taken in my functions. static __inline__ unsigned long GetCC(void) { unsigned a, d; asm volatile("rdtsc" : "=a" (a), "=d" (d)); return ((unsigned long)a) | (((unsigned long)d) << 32); } I don't think it is the best since even two consecutive call...

Measuring Web application session resource consumption

Hi guys; I have this web application that i have created using Wicket, Guice and JPA. I would like to advise my clients on the resource consumption of the application so that i can also advice him on the optimum hardware to purchase. What is the best way of measuring the Memory and CPU consumption per session as well as the network band...

VsInstr performance profiling

I have a problem with building performance profile for my .net web app See my steps below: Setup global variables VSPerfCLREnv /traceon VSPerfCLREnv /globaltranceon Instrument assemblies vsinstr "path to my assembly" Restart iis iisreset Start profiling VSPerfCmd /start:trace /output:traceoutput.vsp...

How to display latency, memory ops, and arithmetic ops in Nvidia Compute Profiler

Hey all, I heard that with the Nvidia compute profiler, it should be possible to get a comparison of how much time is being spent for arithmetic ops, memory ops, or on latency. I searched the profiler after running my program and I tried googling, but I don't see anything related to figuring out this metrics. Can anybody help, is my qu...

Why PMP (poor man's profiler) don't work on nginx?

There is one very useful gdb "script" called poor man's profiler. It calls this command: gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p $pid It works well for most linux processes, but don't work for nginx web server. Normal output: # gdb -ex "set pagination 0" -ex "thread apply all bt" -batch -p 5286 Using host lib...

chrome debugger what is (program) in profiler?

What is (program) in the function column of the chrome debugger? ...

Force PostgreSQL to release allocated memory

Hi, My Postgres hits the max permitted memory under the load (500MB) and runs 14 processes. Once load is over, Postgres still keeps the allocated memory and runs 14 processes. Since I have Apache and Tomcat running on the same machine, I'd like to Postgresql release the allocated memory. Is it possible? Thanks! ...

How to profile a mysql db ?

Hi all, I'm an mssql veteran who's received a job that involves tuning a mysql db. with mssql it was simply a matter of firing up the db profiler and then crunching up the data it collects. I can't seem to find anything similar for mysql. thanks in advance ...