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:[EMAIL PROTECTED] 
> Sent: Sunday, December 11, 2005 9:40 PM
> To: '[email protected]'
> 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...
> 

Reply via email to