Path: csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Jan Burse Newsgroups: comp.lang.java.programmer Subject: Re: Good Fowler article on ORM Date: Sat, 12 May 2012 18:21:40 +0200 Organization: albasani.net Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net QT0QDFTq5o2Z3pjNfzsGGVZP4p94LsoYRGzc3Ay9S6Y1rt6PN8rOUsmNAlT7nV+z7QSAAYPgT42kVu/Yx+7J/viPTvnzTA0CWFzGv6y+7EusvvZ8X96huawnO7sYG5WC NNTP-Posting-Date: Sat, 12 May 2012 16:21:41 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="hSuifl36VqBYeR0pdcgI1DtI3N6AVN+zxDKjDDqc6qpr7qdJup+8O+BnXeX3Jk9ZiyWHifbnYLtVJkYuACMjr/G5EPy5atGgXt+QVKpCLjlSUxKZ42aL1RMnmFNufGiU"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1 In-Reply-To: Cancel-Lock: sha1:qL9pD65BDjCnOHvbkQwkt/vrvn0= Xref: csiph.com comp.lang.java.programmer:14489 markspace schrieb: > Just curious: I've never done an Android development. How does one > profile code for that environment? Do you have a Dalvik JVM that runs > on Windows/Unix (i.e. an emulator of some sort)? Is there a good > profiling tool that can attach to certain Android devices? I guess there are some tools around. Android has its own way of instrumentation for tracing. http://developer.android.com/guide/developing/debugging/debugging-tracing.html Usually you can connect either to an emulator or to a device connected via USB. But I did not yet use it. Was just benchmarking my App and saw that it runs much slower on Android. But that has also to do with that I was using a tablet with something of 1GHz ARM and was comparing against a 3.4GHz 64-bit Intel. If you don't use a device but an emulator, you also observe slowdown, since the Dalvik then runs inside the emulator (sic!). (All the above just snapshot of 12.Mai 2012 and what I currently have tried/know) Bye