Hi, I tested both 0.9.15 and 0.9.16 with df_dok, and noticed that 0.9.16 is slower than 0.9.15! The result is attached. It's a P4 2.0G with GeForce 4 MX computer. Though the speed difference is very small, the difference of the same test under a StrongARM SA1100 206MHz embedded system is very big. The Blit with alpha channel and format conversion have more than 50% performance drop!
Regards James Su
Benchmarking with 256x256 in 16bit mode... (16bit) Anti-aliased Text 3.13 secs ( 24.17 KChars/sec) Fill Rectangles 3.04 secs ( 53.97 MPixel/sec) Fill Rectangles (blend) 5.87 secs ( 2.23 MPixel/sec) Fill Triangles 3.04 secs ( 52.73 MPixel/sec) Fill Triangles (blend) 3.08 secs ( 2.13 MPixel/sec) Draw Rectangles 3.00 secs ( 15.75 KRects/sec) Draw Rectangles (blend) 3.06 secs ( 0.75 KRects/sec) Draw Lines 3.02 secs ( 69.75 KLines/sec) Draw Lines (blend) 3.16 secs ( 3.48 KLines/sec) Blit 3.09 secs ( 55.09 MPixel/sec) Blit colorkeyed 3.01 secs ( 65.41 MPixel/sec) Blit with format conversion 3.03 secs ( 58.40 MPixel/sec) Blit from 32bit (alphachannel blend) 3.08 secs ( 2.13 MPixel/sec) Blit from 8bit palette 3.12 secs ( 50.46 MPixel/sec) Blit from 8bit palette (alphachannel blend) 3.10 secs ( 2.12 MPixel/sec) Stretch Blit 3.42 secs ( 58.84 MPixel/sec) Stretch Blit colorkeyed 3.58 secs ( 68.68 MPixel/sec)
Benchmarking with 256x256 in 16bit mode... (16bit) Anti-aliased Text 3.13 secs ( 24.13 KChars/sec) Fill Rectangles 3.04 secs ( 53.82 MPixel/sec) Fill Rectangles (blend) 5.86 secs ( 2.24 MPixel/sec) Fill Triangles 3.05 secs ( 52.68 MPixel/sec) Fill Triangles (blend) 3.09 secs ( 2.12 MPixel/sec) Draw Rectangles 3.00 secs ( 15.62 KRects/sec) Draw Rectangles (blend) 3.08 secs ( 0.75 KRects/sec) Draw Lines 3.01 secs ( 67.20 KLines/sec) Draw Lines (blend) 3.17 secs ( 3.47 KLines/sec) Blit 3.10 secs ( 54.97 MPixel/sec) Blit colorkeyed 3.04 secs ( 64.74 MPixel/sec) Blit with format conversion 3.03 secs ( 58.38 MPixel/sec) Blit from 32bit (alphachannel blend) 3.10 secs ( 2.12 MPixel/sec) Blit from 8bit palette 3.04 secs ( 49.58 MPixel/sec) Blit from 8bit palette (alphachannel blend) 3.03 secs ( 2.16 MPixel/sec) Stretch Blit 3.43 secs ( 58.82 MPixel/sec) Stretch Blit colorkeyed 3.52 secs ( 69.97 MPixel/sec)
