Hi,
I modified the Phil's LagTest to run in parallel a busy thread that
just forces the cpu to run at full speed.
With this test on my Nexus One and my G1 the fps is constantly at
60fps. A waste of cpu but just for testing.
It's interesting to see, using the profiler, the scheduling of the
drawing and the busy thread.

In the test I also removed the String.format because it causes a lot
af GC and false the test a bit and I write only the current fps.

If someone want to try the modified test on its phone the links are:

LagTest.apk: 
http://docs.google.com/leaf?id=0B7nVA-pXaubcY2MwZWE2MWQtNTU4ZS00ZDI2LTgzMmUtNmRjM2EyZWRhY2Yy&hl=en&browserok=true
LagTest.tgz: 
http://docs.google.com/leaf?id=0B7nVA-pXaubcNWY3ZDE0ZDQtM2ZjZS00NzA0LWFmNzItYmI2YjRhMGUyMDk0&hl=en&browserok=true

Bye
Michele

On Apr 3, 3:40 pm, Michele Scorcia <[email protected]> wrote:
> Hi,
> did you check the cpu frequency on both phones while the test was
> running?
> You can from the shell on the phone run the following command that
> check the frequency every second:
> while true; do cat /sys/devices/system/cpu/cpu0/cpufreq/
> scaling_cur_freq; sleep 1; done
>
> Maybe they have done some optimization on the 2d graphics part that
> makes everything use less cpu and as a side effect the cpu governor
> lower the cpu frequency in response of the lower cpu need. Maybe the
> cpu and the 2d hardware frequencies are related each others.
>
> I own a Nexus One and not a Droid but some 3D tests that make an
> intensive use of the gpu but not of the cpu run with higher frame
> rates if I do something that keep the cpu busy just to keep the cpu
> freq high (just as a test).
>
> On my Nexus One your test gives the following results and the fps is
> not steady but really variable:
> avg=53 min=35 max=70
>
> Bye
> Michele
>
> On Apr 2, 7:29 pm, Phil <[email protected]> wrote:
>
> > I have observed a marked difference in frame rate of 2-D (Canvas)
> > graphics following a 2.1 update on the Motorola Droid. Details are
> > here:
>
> >http://tesujigames.blogspot.com/2010/04/2-d-graphics-slowdown-after-m...
>
> > Can anyone else corroborate this?  I have posted the code and an apk
> > in the above blog entry.
>
> > Also, it would be interesting to know whether there is a difference
> > between manual and OTA updates.
>
> > Thanks!

-- 
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