[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] PyGame slowdown
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] PyGame slowdown
- From: Rene Dudfield <renesd@xxxxxxxxx>
- Date: Tue, 27 Sep 2005 09:20:30 +1000
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 26 Sep 2005 19:20:44 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y3d2Xs2TJXbt8nAtmKvNs1lYqrX7M/7whmVb6EokDpJx9oYi+26gh9HLAK4naHl/KyuNH8kkvn+A70EyMFBACJEzlPe4W9M8OwLrV51N2SIwA7srTgU4m1PQJIR9sU3vBdA+xb2g7xpqyVM9kgkdwxe+nFteIy3PO65xNEZzAuM=
- In-reply-to: <dh9hsb$6tb$1@sea.gmane.org>
- References: <dh9hsb$6tb$1@sea.gmane.org>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I have no idea what he was doing without seeing his code.
23fps for a 2D game is not unheard of on a slow machine. I have
played pygame 40fps+ games on my p166mmx laptop before it died a few
months ago.
I wouldn't worry about it unless you want to fix his code. In which
case use the profiler to check out where the slow down is. Also check
the memory usage.
On 9/27/05, Jason <jason@xxxxxxxxxxxxxxxxx> wrote:
> I'm not at a stage where I can comment properly on this, but I hope to
> be in a few weeks time, however...
>
> I've read recently on the gamedev forum about someone who had created a
> game and was reportedly getting a FPS of about 5k.
>
> When he FLIPped the screen, the FPS dropped down to a mere 23fps.
>
> He minimised the window, back up came the FPS to between 3k and 5k.
>
> Is this a common thing, or is he
>
> a) Don't want to use the word 'lying', but perhaps not getting his facts
> correct
>
> b) Doing something horrifically wrong with his code
>
> c) Doing everything ok and that's just how the cookie crumbles!
>
> The response he got was pretty good, saying that he needed to check the
> profiler to see where the slowdown was, but I was wondering of the
> PyGame authors knew of this problem and had any performance tips or
> maybe any updates to PyGame.
>
>