Hi,

sorry for the offlist reply, I didn't notice you provided onlist a 
opreport log, which I'm more used to deal with.

Le 05/09/2010 16:33, Mikko Vartiainen a écrit :
> Attached is oprofile report from Nokia N900 (600 MHz ARM Cortex-A8).
> Wormux was compiled with  -mcpu=cortex-a8 -mfpu=neon
> -mfloat-abi=softfp flags. Profiling was started at start of 3x6 teams
> (1 Human) game and continued for some minutes.

Top callers are:
95053    20.8283  libgcc_s.so.1            /lib/libgcc_s.so.1
75516    16.5473  libSDL-1.2.so.0.11.1     BlitNtoNPixelAlpha
41306     9.0511  libc-2.5.so              /lib/libc-2.5.so

I'm a bit surprised by first one, as I'm not sure what is called; maybe 
threads logic, but it would be surprising. For the libc call, it's 
probably memcopies. Optimizing BlitNtoNPixelAlpha would be worthwhile, 
but I think it's very general purpose (32 to 24, 24 to 16 etc). And 
halving its execution time would only bring like 8% speedup, almost 
negligible.

Last profile is also surprising: it shows that character animation (not 
really surprising in fact: for the same screen, you now have twice more 
characters to display) and AI become more expensive.

Well... Food for thought...

Thanks for the report!

Best regards,
Christophe


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à