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

RE: [pygame] Debug printouts - faster to screen or file?



Okay - now I'm curious: Win2k, 800mhz PIII laptop.
(Output ('x'*132)+'\n' 1 thousand times.)

stdout captured with Scite:
	7.3s
stdout captured with Pythonwin:
	2.58s (output window minimized)
	66.36s (output window maximized)
console window:
	10.93 (default size, top)
	0.94 (default size, obscured)
file:
	0.009

So, file still is 10x faster than any windowed method for me,
but there's a big variation w/the windows.


-----Original Message-----
From: owner-pygame-users@seul.org [mailto:owner-pygame-users@seul.org]On
Behalf Of Vince Platt
Sent: Wednesday, February 06, 2002 10:50 AM
To: pygame-users@seul.org
Subject: Re: [pygame] Debug printouts - faster to screen or file?


Yes, I mis-spoke.  That's pretty much what I meant to say; I just wasn't
being precise.

--- Dan Stromberg <strombrg@nis.acs.uci.edu> wrote:
> The window manager should be pretty much a nonissue, but the windowing
> system (console vs X) is a big factor, as might be which terminal
> emulator you're using (xterm, rxvt, gnome-terminal, whatever).
>
> On Wed, Feb 06, 2002 at 10:05:57AM -0800, Vince Platt wrote:
> > In FreeBSD, what window manager (if any) were you running your window
under when you
> ran
> > the test?  (This is a bit of a loaded question since, if you weren't
running a window
> > manager when you ran the test, then your test result is an apple, where
Pete's test
> > result is an orange (IYKWIM).)
> >
> >
> > --- Michael Benfield <mike@duckbrain.com> wrote:
> > > On Tue, Feb 05, 2002 at 11:09:05AM -0800, Pete Shinners wrote:
> > > > for a pentium2-300 on winnt 4, i get this:
> > > >
> > > > PERFORMANCE RESULTS
> > > > stdout  3.42 seconds
> > > > file    0.05 seconds
> > >
> > > I was just interested to see how things compared, so I tried my system
> > > too. Athlon 800 with FreeBSD.
> > > I got:
> > >
> > > PERFORMANCE RESULTS
> > > stdout  0.06 seconds
> > > file    0.01 seconds
> > >
> > > Writing to a file is still definitely faster than stdout, but not by
> > > anything like the margin NT demonstrates. Not that it really matters,
> > > but any idea what's going on there?
> > >
> > >
> > > ____________________________________
> > > pygame mailing list
> > > pygame-users@seul.org
> > > http://pygame.seul.org
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE Valentine eCards with Yahoo! Greetings!
> > http://greetings.yahoo.com
> > ____________________________________
> > pygame mailing list
> > pygame-users@seul.org
> > http://pygame.seul.org
> >
>
> --
> Dan Stromberg                                               UCI/NACS/DCS
>

> ATTACHMENT part 2 application/pgp-signature



__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org