profiling

How to understand Android SDK profile traceview…?

[亡魂溺海] 提交于 2020-02-02 11:34:06
问题 I have some code that uses Jsoup to get and parse some html pages, and then I manipulate the html tree, before passing it to a WebView that draws it. If I bypass my manipulations, the code runs in acceptable times (2-3 seconds) on the Android SDK simulator, but when I do my manipulations the time jumps to unacceptable (~60 seconds to just load a single page!). Using Eclipse and the Android SDK I had a run profiled, and now I'm trying to interpret the results. from here http://android

Julia: How to profile parallel code

吃可爱长大的小学妹 提交于 2020-02-02 10:21:10
问题 Whats an appropriate way to profile parallel code in julia? When I run @profile foo(...) where foo is my function, I get julia> Profile.print() 1234 task.jl; anonymous; line: 23 4 multi.jl; remotecall_fetch; line: 695 2 multi.jl; send_msg_; line: 172 2 serialize.jl; serialize; line: 74 2 serialize.jl; serialize; line: 299 2 serialize.jl; serialize; line: 130 2 serialize.jl; serialize; line: 299 1 dict.jl; serialize; line: 369 1 serialize.jl; serialize_type; line: 278 1 serialize.jl; serialize

Julia: How to profile parallel code

大兔子大兔子 提交于 2020-02-02 10:19:45
问题 Whats an appropriate way to profile parallel code in julia? When I run @profile foo(...) where foo is my function, I get julia> Profile.print() 1234 task.jl; anonymous; line: 23 4 multi.jl; remotecall_fetch; line: 695 2 multi.jl; send_msg_; line: 172 2 serialize.jl; serialize; line: 74 2 serialize.jl; serialize; line: 299 2 serialize.jl; serialize; line: 130 2 serialize.jl; serialize; line: 299 1 dict.jl; serialize; line: 369 1 serialize.jl; serialize_type; line: 278 1 serialize.jl; serialize

How can I debug memory leaks in react-native Expo project?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-30 09:42:05
问题 I am running a react-native Expo project on both ios simulator, which uses XCode, and android emulator, which uses genymotion. There is a crash sometimes when using the app on real android phone. I am hoping to find out the reason debugging it on the emulator. So far, I searched for tools for this, but did not encounter any. Could anyone tell me available tools for debugging memory leaks on genymotion emulator? I also welcome any other advices to fix my problem. Thanks in advance! 回答1: You

Is it possible to trace references between objects in Flash, in the same way as the Flash Builder profiler?

こ雲淡風輕ζ 提交于 2020-01-25 18:44:47
问题 I'm trying to find memory leaks in a fairly large Flex application and I'm tired of using the paltry tools Flash Builder makes available. Specifically, I want to analyse the relationships of objects in memory, using the same information Flash Builder's tools appear to have access to. I.e. which objects are in memory, and which objects they have references to, and have references to them. Given that information, I want to construct a directed graph whose nodes are live objects and whose edges

Is there an IBM Iseries/DB2 equivalent to SQL Profiler?

放肆的年华 提交于 2020-01-24 09:03:10
问题 Subject says it all. Looking to capture sql submitted to DB2. 回答1: Take a look at the Iseries SQL Exit Points which will allow you to log any submitted SQL. The only problem is you will have to write your own programs to do the logging: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzaik%2Frzaikodbcexitprog.htm 回答2: If you have Java support enabled, you can use SQL PL Profiler. http://www.ibm.com/developerworks/data/library/techarticle/dm-0406rielau/index.html 回答3:

Starting Node with Forever and --prof option V8 Log file not created

£可爱£侵袭症+ 提交于 2020-01-24 08:49:04
问题 I am trying to run my Node App using "forver" module , I also want to pass "--prof" option for profiling my app. The command I am using is NODE_ENV=staging PORT=3000 NODE_CONFIG_DIR="/domains/serving/src/config" forever start -c "node --prof" -l /var/log/forever.log -e /var/log/forever_error.log -o /var/log/forever_output.log -a /domains/serving/src/bin/www Or NODE_ENV=staging PORT=3000 NODE_CONFIG_DIR="/domains/serving/src/config" forever start -c "node --debug=3048 --prof" -l /var/log

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

北城余情 提交于 2020-01-23 13:04:31
问题 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 there another (hopefully free) tool? Yoav 回答1: If you don't want to use OS specific functions like traversing the /proc directory, you can usually get the values you're

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

我只是一个虾纸丫 提交于 2020-01-23 13:04:10
问题 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 there another (hopefully free) tool? Yoav 回答1: If you don't want to use OS specific functions like traversing the /proc directory, you can usually get the values you're

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

落花浮王杯 提交于 2020-01-23 13:04:07
问题 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 there another (hopefully free) tool? Yoav 回答1: If you don't want to use OS specific functions like traversing the /proc directory, you can usually get the values you're