This was with a debugger attached and looking at a log message before/
after the call.  Running it several times it a row and each time takes
about 10 seconds (+/- 3 seconds) to complete that call.  On my ADP1,
it takes about 20 seconds (with a debugger).  I'll look into running
the same tests without a debugger attached to see what the performance
is like.

On Jul 23, 1:28 pm, fadden <[email protected]> wrote:
> On Jul 22, 2:05 pm, Micah <[email protected]> wrote:
>
> > Unfortunately, this doesn't seem to fully resolve my issue.  I have
> > created a very simple repro case that causes the stall to occur (let
> > me know if anyone wants the source / APK). In the test, it will
> > eventually finish but it takes ~10 seconds just to make the call:
>
> > Class.forName("com.zoltu.AndroidTest.Messages.Sample")
>
> Are you saying it's 10 seconds for that method call to complete?  As
> in, you have log messages immediately before and after it, and the
> timestamps from "logcat -v time" indicate that 10 seconds have passed?
>
> The APK you sent took about 3 seconds to bring up the row of buttons
> on a G1 (a fair piece of that was in the 7 rounds of garbage
> collection).
>
> Do you have a debugger attached, or method profiling enabled, while
> you're doing these timings?  That'll make it run about 5x slower.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to