profiler

Java line-by-line Method/Function Profiling - Profiler &/or Eclipse Plugin [closed]

拥有回忆 提交于 2019-11-27 17:45:32
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I have a few larger methods I'm trying to optimize in Java. I have been using jVisualVM to do most of my profiling as it gives method

Which Java Profiling tool do you use and which tool you think is the best? [closed]

寵の児 提交于 2019-11-27 17:21:46
问题 Want to know what the stackoverflow community feels about the various free and non-free Java Profilers and profiling tools available. 回答1: JProfiler works very well for us. http://www.ej-technologies.com/products/jprofiler/overview.html 回答2: Yourkit is pretty good for CPU analysis. For memory usage analsis using heap dumps use http://www.eclipse.org/mat/ 回答3: You ask what do we use. Tools are fine, but for finding time-tumors, frankly I've seen nothing that works better than this. 来源: https:/

VisualVM “not supported for this JVM” on all local applications?

核能气质少年 提交于 2019-11-27 17:05:57
问题 I have already spent a long time to load and test my application, now I need to profile it. But unluckily, the VisualVM always says "not supported for this JVM" on my local applications? The applications were started on the same JVM with VisualVM. 回答1: I found out that (at least under Windows) one can easily write small batch files to run VisualVM in combination with specific JVMs, which is important for me, since I have installed the 32bit JDK alongside with the 64bit JDK (I need both, so

Monitoring the asyncio event loop

做~自己de王妃 提交于 2019-11-27 16:28:36
问题 I am writing an application using python3 and am trying out asyncio for the first time. One issue I have encountered is that some of my coroutines block the event loop for longer than I like. I am trying to find something along the lines of top for the event loop that will show how much wall/cpu time is being spent running each of my coroutines. If there isn't anything already existing does anyone know of a way to add hooks to the event loop so that I can take measurements? I have tried using

Why is the retained heap size of the FinalizerReference class so large in the (memory) Profiler of Android Studio?

坚强是说给别人听的谎言 提交于 2019-11-27 16:23:59
I have read this question about Finalizer's lion share of the heap . It dates from 2011 when the tools were different and the Java class still had a different name (Finalizer vs FinalizerReference). So I think this similar but new question can be asked now. On top of that, the accepted answer to that question boils down to: avoid using finalize()'d objects. Android classes that use finalize() directly or indirectly include Canvas, Paint, Bitmap, Drawable and RenderNode. Good luck avoiding all of them all of the time. I have also read the Profiler documentation and worked through the Memory

Node.js memory leak hunting without v8-profiler

一世执手 提交于 2019-11-27 14:47:46
问题 I'm trying to track down a memory leak in a Node.js app. I've tried installing v8-profiler but it will not compile... it looks like a dead project that a lot of people are trying to use but getting the same problem - pretty-much from about node 0.3.2 so quite a while ago. Does anyone know of a way to hunt down memory leaks in a Node.js app without using v8-profiler? I have Eclipse running with the V8 remote debugging working but cannot find a way to see memory usage / heaps etc. 回答1: Have you

php xdebug: How to profile forked process

被刻印的时光 ゝ 提交于 2019-11-27 14:08:35
问题 I am running a PHP daemon to be profiled. The started php process loads all required data, forks itself to distribute workload over all cores, waits for the forked children to finish, and collects the results generated by the children. Since I am sharing CLI environment with other users, I need to start xdebug profiling by injecting php.ini values into the shell call. $ php -d xdebug.profiler_enable=1 -d xdebug.profiler_output_dir="/home/xxx" daemon.php The generated cachegrind-file, how ever

What is a good easy to use profiler for C++ on Linux? [closed]

做~自己de王妃 提交于 2019-11-27 10:36:05
I need to profile some code running C++ on Linux. Can you guys recommend some profilers? smcameron Use gprof. Just compile with -pg flag (I think (but am not sure) you have to turn of optimizations though.) and use gprof to analyze the gmon.out file that your executable will then produce. eg: gcc -pg -o whatever whatever.c ./whatever gprof whatever gmon.out Same thing with g++ and cpp. valgrind is a well-know linux profiler Zoom from RotateRight ( http://www.rotateright.com ) is what I've been using. It has a butterfly view of functions and you can double-click any function to dive into source

Recommended Open Source Profilers [closed]

青春壹個敷衍的年華 提交于 2019-11-27 09:53:37
问题 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 the profilers would be the best one to use in terms of learning about the performance of my program. It would be great to hear some suggestions. 回答1: You could

Is there a visual profiler for Python? [closed]

陌路散爱 提交于 2019-11-27 09:10:28
问题 I use cProfile now but I find it tedious to write pstats code just to query the statistics data. I'm looking for a visual tool that shows me what my Python code is doing in terms of CPU time and memory allocation. Some examples from the Java world are visualvm and JProfiler. Does something like this exist? Is there an IDE that does this? Would dtrace help? I know about KCachegrind for Linux, but I would prefer something that I can run on Windows/Mac without installing KDE. 回答1: A friend and I