[android-developers] Re: Jackson Object Mapping is so slow in the process with an Activity.

2011-06-23 Thread idleSun
It turns out that it is slow when I run it in debug mode. So it is not a big deal. However, if you have a heavy jackson use and want to debug your code then you got to be really patient. On Jun 22, 10:59 am, idleSun idle...@gmail.com wrote: I am using pretty complicated JSON data with Object

Re: [android-developers] Re: Jackson Object Mapping is so slow in the process with an Activity.

2011-06-23 Thread Kostya Vasilyev
Yeah, pretty much any application-side code takes a hit under the debugger, not just JSON parsing. Android API methods that are implemented as Binder (RPC) calls don't seem to take a hit, but any Java code within the application does, and that includes the framework as well. Thanks for sharing

Re: [android-developers] Re: Jackson Object Mapping is so slow in the process with an Activity.

2011-06-23 Thread Dianne Hackborn
Attaching the debugger turns off the JIT, and requires that Dalvik code running in that process do some work to keep in sync with the debugger. When you do a Binder call, you are having code execute in another process, which is not running under the debugger. On Thu, Jun 23, 2011 at 9:37 AM,