Re: Gnome Games 2.22.1



On Mon, Apr 7, 2008 at 12:42 PM, Jason D. Clinton <me jasonclinton com> wrote:
>  >  (The new theme uses a lot of gradients but cairo does not handle
>  >  gradients in an optimized way yet. From the talk carl worth gave at
>  >  lca this is comming in future versions however. Lca is some time ago
>  >  so maybe the optimizations are already in. I don't know).
>
>  I just did some profiling using oprofile and it pretty much confirms

Here is the profiling output for completeness:

~$ opreport --symbols -x testing/bin/gnometris
CPU: Core 2, speed 2167 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a
unit mask of 0x00 (Unhalted core cycles) count 100000
samples  %        symbol name
251      46.3956  TangoBlock::drawCell(_cairo*, int, int)
224      41.4048  TangoBlock::drawRoundedRectangle(_cairo*, double,
double, double, double, double)
25        4.6211  Renderer::drawForeground(_cairo*)
22        4.0665  .plt
3         0.5545  BlockOps::putBlockInField(int, int, int, int, SlotType)
3         0.5545  Field::redraw()
2         0.3697  Field::draw(int, int, int, int)
2         0.3697  Renderer::render()
2         0.3697  Tetris::keyPressHandler(_GtkWidget*, _GdkEvent*, Tetris*)
1         0.1848  BlockOps::isFieldEmpty()
1         0.1848  BlockOps::rotateBlock(bool)
1         0.1848  Preview::previewBlock(int, int, int)
1         0.1848  Renderer::setTarget(_cairo_surface*)
1         0.1848  Tetris::initOptions()
1         0.1848  Tetris::keyReleaseHandler(_GtkWidget*, _GdkEvent*, Tetris*)
1         0.1848  write_int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]