[Kde-games-devel] Fwd: Re: SVG Rendering speed
Andreas Pakulat
apaku at gmx.de
Thu Sep 20 20:34:40 CEST 2007
On 20.09.07 15:14:43, Mauricio Piacentini wrote:
> Andreas Pakulat wrote:
> > Its KNetWalk were it takes several seconds (I didn't measure but I think
> > its something like 20 or so) until the highscore dialog comes up after
> > finishing the game.
>
> Andreas, I am not sure why you are getting times that extreme, as the
> hardware you mentioned is not much slower compared to what I use. The
> highscores in KNetwalk are indeed in need of an overhaul. This is listed
> as a blocker issue for KDE 4.0 at our status page:
>
> http://techbase.kde.org/Projects/Games/Status_KDE_4.0
>
> But in my setup, even without any hardware acceleration and running on a
> VMWare instance, it shows up in maybe 2-3 seconds after the end game.
Doing the 1/4th->maximize thing takes about 5 seconds. And I just
measured its nearly 20 seconds until the highscore-thing comes up.
knetwalk takes all CPU it can get during that time (75% here), so maybe
it does some heavy computations?
> Others show up instantly, but the delays you are getting are indeed extreme.
> The same is true for your initial SVG rendering times. Can you tell me
> how much does it take to startup KMahjongg? Actually, to measure just
> SVG resizing, try the following: startup KMahjongg, set the window to
> cover maybe 1/4 of the screen. Now maximize the window. How much time
> does it take for this full redraw?
Interesting, KMahjongg doesn't take more than 2 or 3 seconds to do the
maximization. KPatience however takes already about 20 seconds to
startup in fullscreen mode with kdebug output as shown below (just in
case it tells you guys anything). Doing the 1/4th->maximize switch
takes about 10 seconds here.
andreas at morpheus:~>execkde4 kpat
kpat(22369) cardMap::cardMap: cardMap
kpat(22369) pWidget::newGameType: "0" pWidget::newGameType
kpat(22369) pWidget::newGameType: newGameType 15
kpat(22369) PatienceView::setupActions: setupActions ()
kpat(22369) PatienceView::setAnchorName: setAnchorname "game_spider_(medium)"
kpat(22369) pWidget::newGameType: dill PatienceView(0x818c4e8) Spider(0x8196be0)
kpat(22369) PatienceView::resizeEvent: resizeEvent false
kpat(22369) pWidget::showEvent: showEvent
kpat(22369) PatienceView::startNew: startnew
kpat(22369) DealerScene::drawBackground: drawBackground QRectF(68,-22 1177x635) false
kpat(22369) DealerScene::stopDemo: "1272" stopDemo 0
kpat(22369) DealerScene::startNew: "1273" startNew unmarkAll
kpat(22369) DealerScene::startNew: startNew setAnimated(false)
kpat(22369) DealerScene::startNew: startNew restart
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(-263.7,-663.154 2404.7x2885.15)
kpat(22369) DealerScene::setSceneSize: "1369" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) cardMap::setWantedCardWidth: setWantedCardWidth 103 141
kpat(22369) Pile::rescale: "1728" rescale start
kpat(22369) Pile::rescale: "1800" rescale end
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1806" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1806" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1807" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1808" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1809" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1811" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1812" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1813" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1814" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1815" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1816" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1816" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,634)
kpat(22369) DealerScene::startAutoDrop: animation still going on
kpat(22369) DealerScene::startAutoDrop: animation still going on
kpat(22369) PatienceView::resizeEvent: resizeEvent true
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x634)
kpat(22369) DealerScene::setSceneSize: "1824" setSceneSize QPointF( 111.8 , 36 ) QSize(1176,602)
kpat(22369) cardMap::setWantedCardWidth: setWantedCardWidth 101 103
kpat(22369) Pile::rescale: "2311" rescale start
kpat(22369) Pile::rescale: "2350" rescale end
kpat(22369) DealerScene::drawBackground: drawBackground QRectF(-1,-1 1177x603) true
kpat(22369) PatienceView::resizeEvent: resizeEvent true
kpat(22369) DealerScene::setSceneSize: setSceneSize QRectF(0,0 1176x602)
kpat(22369) DealerScene::setSceneSize: "9251" setSceneSize QPointF( 111.8 , 36 ) QSize(1680,840)
kpat(22369) cardMap::setWantedCardWidth: setWantedCardWidth 141 101
kpat(22369) Pile::rescale: "9896" rescale start
kpat(22369) Pile::rescale: "10120" rescale end
kpat(22369) DealerScene::drawBackground: drawBackground QRectF(-1,-1 1681x841) true
kpat(22369) cardMapThread::run: exiting thread
kpat(22369) DealerScene::startAutoDrop: animation still going on
kpat(22369) DealerScene::startAutoDrop: animation still going on
kpat(22369) DealerScene::startAutoDrop: "18832" startAutoDrop
kpat(22369) DealerScene::startAutoDrop: "18833" startAutoDrop
kpat(22369) DealerScene::startAutoDrop: "19135" startAutoDrop
kpat(22369) DealerScene::stopAndRestartSolver: stopAndRestartSolver
kpat(22369) DealerScene::slotSolverEnded: "19136" start thread
kpat(22369) DealerScene::slotSolverFinished: "20685" stop thread 1
kpat(22369) cardMapThread::run: returning from thread
Andreas
--
Snow Day -- stay home.
More information about the kde-games-devel
mailing list