Working with a Java console application, I can do this:
java -agentlib:hprof=heap=dump,format=b MyClass
Then I can hit ctrl-\ (or ctrl-break on Windows) any time I would like to take a snapshot of the heap for later analysis.
I would like to do the same thing for a Java Web Start application, but I cannot seem to get that to work. I...
I have just rewritten a Matlab program in c++ as a mex-function to speed things up, with fantastic results. This optimization decision was a very very good idea, with up to a factor 20 speed up without threading. It still left me curious about what the mex-function was spending time on and wanting to identify possible bottlenecks.
I'm ...
How come every object appears to be marked new, instead of just objects that are in the second snapshot but not in my baseline snapshot? Looking around online, I see some suggestions that I need to use hprof instead of jmap to make my memory dumps, but it appears that hprof generates dumps in exactly the same format.
This is JDK 1.6.0_...
VisualVM crashes when I try to profile our application with it, but if I could load the jmap memory dumps I've done from our application into VisualVM, I could probably get the answers I need without having to attach VisualVM to our app while it is running.
So, is there a way to do this?
...
While learning about java memory profiling, I keep seeing the term "perm space" in addition to "heap." I know what the heap is - what's perm space?
...
I'm currently doing some last-measure optimizations, mostly for fun and learning, and discovered something that left me with a couple of questions.
First, the questions:
When I construct a method in-memory through the use of DynamicMethod, and use the debugger, is there any way for me to step into the generated assembly code, when vie...
I'm actually trying doing this in Java, but I'm in the process of teaching myself python and it made me wonder if there was an easy/clever way to do this with wrappers or something.
I want to know how many times a specific method was called inside another method. For example:
def foo(z):
#do something
return result
def bar(x,y...
Hi.
I am currently trying to profile a java web app. I used Netbeans Profiler in conjunction with Eclipse. My server (Tomcat) is running through eclipse plugin and I dynamically connect to server using Netbeans profiler.
I have a primary problem, that after sometime server runs out of memory on an environment. I read about the memory l...
Hi,
Using the instrument-functions flag in gcc, you can instrument the code to execute functions before and after each execution of a function.
These functions are __cyg_profile_func_enter and __cyg_profile_func_exit with two parameters, the address of a current function; the second parameter for enter is the address of the call site an...
Does anyone have any good recommendations for code profiling? I would like to be able to view the system heap, memory usage, garbage collection statuses, etc...
...
I've been trying to get some instrumented profiling going for one method (and children) in a large C# 2.0 application using the built in VSTS 2005 or 2008 performance tools.
However, I can't find any form of the /include command that will work - the profiler just keeps failing to find the method. The docs are so bad that all I can do is...
I have some calls to jQuery functions like 14,000 times... what the hell? I don't have that many functions, really just simple stuff like appending and removing DOM elements, why do some of my event handlers call functions so many times?
Plus to compound my issues, Firebug's profiler just show's the min'd functions names... and even whe...
I am trying to profile twisted python code with Heapy. For example (pseudo code):
from twisted.web import resource, server
from twisted.internet import reactor
from guppy import hpy
class RootResource(resource.Resource):
render_GET(self, path, request):
return "Hello World"
if __name__ == '__main__':
h = hpy()
por...
Recently I came across a tool which could analyse running python code and produced a visual representation similar to a code editor to allow one to step through the different parts of the code, seeing how many times each part was called, execution time, etc.
I can't find the reference to it again. Would anyone know what it might be?
...
Hi,
I'm looking for a feature or software, who will allow me to easily profile my method execution time. And choose what to profile by package filter.
I know, it's profiler 101.
I use the TPTP profiler. But i'm not happy with it. To be franck, i just dont understand how it's work, and when i profiling my application ( launch the serve...
Which tools do you guys use? How do demangle c++ symbols do be able to pass it to profiler tools, such as opannotate?
Thanks
...
I need to profile my JAVA SRC code for some particular problem I am currently working on. I've been using the trial version of a tool called JProfiler.
I'd like to learn of some good community open-source tools, if available; other than that I am also looking forward to learn of some standard techniques that are widely adopted (or must ...
I'm trying to run cProfile.runctx() on each process in a multiprocessing pool, to get an idea of what the multiprocessing bottlenecks are in my source. Here is a simplified example of what I'm trying to do:
from multiprocessing import Pool
import cProfile
def square(i):
return i*i
def square_wrapper(i):
cProfile.runctx("result...
Hi all,
I was wondering if anyone has found any plugins that attach a profiler to a JVM to automatically monitor performance during a unit or integration test. I would like to correlate performance to a particular page view and then drill down into all the methods invoked, memory used, run time, etc.
Does Yourkit or JBoss Profiler sup...
I have tried Instruments and Shark to profile an iPhone app, but both use a data sampling approach, by regularly taking screenshots of thread stacks.
I would prefer to have a full coverage profiling tool, which would record every single function call and the time spent in functions and their subroutines. This seems intuitively better th...