On 5/23/09, Christian Ohm <chr....@gmx.net> wrote:
> After reading the IRC logs I did a test run with various OpenAL-soft versions
>  (compiled from source with the default settings via "cmake .&& make"), and
>  while 1.5 didn't seem quite as bad as the others, the results are:
>
>  samples  %        linenr info                 image name               app 
> name                 symbol name
>  183580   33.3952  ALu.c:628                   libopenal.so.1.5.304     
> warzone2100              aluMixData
>  27431     4.9900  display3d.c:3866            warzone2100              
> warzone2100              drawTerrainTile
>  24631     4.4807  r300_emit.c:345             r300_dri.so              
> warzone2100              r300EmitArrays
>  21912     3.9860  (no location information)   libc-2.9.so              
> warzone2100              (no symbols)
>  21227     3.8614  (no location information)   libasound.so.2.0.0       
> warzone2100              (no symbols)
>  21133     3.8443  display3d.c:705             warzone2100              
> warzone2100              drawTiles
>  17027     3.0974  t_draw.c:346                r300_dri.so              
> warzone2100              _tnl_draw_prims
>  16235     2.9533  (no location information)   libpthread-2.9.so        
> warzone2100              pthread_mutex_lock
>  13431     2.4432  piematrix.c:259             warzone2100              
> warzone2100              pie_RotateProject
>  11834     2.1527  piedraw.c:843               warzone2100              
> warzone2100              pie_DrawTerrainTriangle
>  11799     2.1464  (no location information)   libpthread-2.9.so        
> warzone2100              __pthread_mutex_unlock_usercnt
>  11229     2.0427  radar.c:243                 warzone2100              
> warzone2100              drawRadar
>  10284     1.8708  astar.c:373                 warzone2100              
> warzone2100              fpathAStarRoute
>
>  This is from an optimized build (CFLAGS="-g -O2"), so fpathCompare and
>  fpathOpenGet are inlined. I didn't get to 30 minutes though, it crashed after
>  ~10 minutes (crashdump attached, autogame on ziggurat, with demomode to
>  simulate playing).
>

This is with release build, same map, autogame, and at position 4
again.  ~15 mins before I quit the game:
Pathfinding is still the colossal giant.


CS:EIP          Symbol + Offset                 Thread ID       64-bit  Timer 
samples   
0x4091a0        fpathOpenGet                                            54.19   
        
0x4093c0        fpathAStarRoute                                         5.8     
        
0x41f6d0        drawTiles                                               3.1     
        
0x424c00        drawTerrainTile                                         2.6     
        
0x54fe20        pie_DrawTerrainTriangle                                 2.04    
        
0x436f80        fpathBlockingTile                                       1.99    
        
0x4e42b0        processVisibility                                       1.91    
        
0x4e39a0        rayTerrainCallback                                      1.62    
        
0x54e9f0        compare_edge                                            1.51    
        
0x54e280        pie_Draw3DShape2                                        1.49    
        
0x420570        setTexCoords                                            1.2     
        
0x42e870        checkDroid                                              1.19    
        
0x54dde0        pie_RotateProject                                       1.19    
        
0x473490        gridIterate                                             1.08    
        
0x54eb70        pie_DrawShadow                                          1.07    
        
0x427e40        droidGetNaybors                                         1.04    
        
0x47d210        mapTile                                                 1.04    
        
0x5d77e9        _ftol2_pentium4                                         0.69    
        
0x4a57c0        DrawRadarTiles                                          0.65    
        
0x40bcc0        _clustAddDroid                                          0.59    
        
0x4a58e0        DrawRadarObjects                                        0.53    
        
0x54eaf0        addToEdgeList                                           0.52    
        
0x4a61f0        rayCast                                                 0.5     
        
0x47f230        moveGetObstacleVector                                   0.46    
        
0x4a5580        appliedRadarColour                                      0.45    
        
0x471e00        map_Height                                              0.41    
        

26 functions, 2702 instructions, Total: 598595 samples, 88.88% of
samples in the module, 31.94% of total session samples

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to