Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: patch 1378276 (H300 LCD: inlined some calls)

RE: patch 1378276 (H300 LCD: inlined some calls)

From: Peter D'Hoye <peter.dhoye_at_telenet.be>
Date: 2005-12-22

Just to let you know that the latest version optimized by Linus now gives
these numbers:

lcd_update(): 54,5 fps
lcd_update_rect(): 207,0 fps

> -----Original Message-----
> From: Peter D'Hoye [mailto:peter.dhoye@telenet.be]
> Sent: Sunday, December 11, 2005 9:40 PM
> To: 'rockbox-dev@cool.haxx.se'
> Subject: patch 1378276 (H300 LCD: inlined some calls)
>
>
> Inlined some calls and got a minor speed increase.
>
> I also wrote a (very) small plugin to do some basic FPS
> measurement. It basically does an lcd_xxx call for two
> seconds and then calculates the amount of calls per second.
>
> I wrote two tests:
> - lcd_update()
> - lcd_update_rect() for a centered rect 1/4 the area of the lcd
>
> Some figures:
>
> * inlined with Kaggen's fix:
> lcd_update(): 41,5 fps
> lcd_update_rect(): 162,0 fps
>
> * inlined without Kaggen's fix:
> lcd_update(): 41,5 fps
> lcd_update_rect(): 160,5 fps
>
> * not inlined with Kaggen's fix:
> lcd_update(): 41,5 fps
> lcd_update_rect(): 161,0 fps
>
> * not inlined without Kaggen's fix:
> lcd_update(): 41,5 fps
> lcd_update_rect(): 158,0 fps
>
>
> Remaining question: should I submit my FPS test code?
> It's not very usefull unless you're optimizing LCD stuff...
>
Received on Thu Dec 22 00:39:08 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa