I have noticed that as well.  I have some list views which are very
sluggish when I fling through the list while debugging, but are
perfectly fast when not debugging.  I have never seen this big of a
difference, however (23 seconds when debugging to < 2 seconds
without).

John

On Nov 3, 2:07 pm, Kostya Vasilyev <kmans...@gmail.com> wrote:
> Debugging seems toslow*everything* down a lot.
>
> Sometimes even simple UI updates become a slide show. Once you run
> without debugging, it's back to normal.
>
> This is weird, since I'm seeing this on 2.1, so it's not caused by JIT
> being disabled (since there is no JIT on 2.1), but it's definitely there.
>
> -- Kostya
>
> 03.11.2010 23:57,JohnGabyпишет:
>
>
>
> > As an update to others who run into this problem, oddly enough, the
> > long delay seems to only happen when I debug the app.  If I run it
> > without debugging, the whole license check (including creating the
> > AESObfuscator object) take only a couple of seconds.
>
> > On Oct 28, 12:12 pm,JohnGaby<jg...@gabysoft.com>  wrote:
> >> On a real device (Motorola Droid) it is faster but it still takes
> >> about 8-10 seconds which is way to long to have to wait every time the
> >> program starts.  I have gotten around the problem by putting the
> >> license check (including the call to AESObfuscator) in a separate
> >> thread (note that the network connect part already ran in a separate
> >> thread, it was the creating of the Obfuscator that was taking all the
> >> time in the main thread)
>
> >> Thanks
>
> >> On Oct 28, 10:21 am, MB<manoj.bi...@gmail.com>  wrote:
>
> >>> Android emulator is superrrslow. After a while and some complaining,
> >>> you will get used to the slowness.
> >>> There are quite a few discussions on this group as to why it isslow
> >>> compared to iphone/other emulators.
> >>> I bet on a real  device it would be at least 10x faster. Still, you
> >>> should do license check in a separate thread since it involves network
> >>> connectivity.
> >>> On Oct 27, 9:45 pm,JohnGaby<jg...@gabysoft.com>  wrote:
> >>>> I am trying to implement the Market License Checker, and am following
> >>>> the sample application.  I am using the AESObfuscator class, but find
> >>>> that it takes a VERY long time (23 seconds on the emulator) to
> >>>> instantiate, which greatly delays the startup of my application.  Is
> >>>> this normal, or am I doing something wrong?  If it is normal, can I
> >>>> put the license check in a separate thread, or does it need to run in
> >>>> the main thread?
> >>>> Thanks.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to