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

Re: [pygame] why so slow??



import profile, pygame
def main():
pygame.init()
screen = pygame.display.set_mode((310,120))
pygame.display.set_caption("aaaa")
pygame.mouse.set_visible(1)
>>> profile.run("main()")
3 function calls in 0.020 CPU seconds

Ordered by: standard name

ncalls tottime percall cumtime percall filename:lineno(function)
1 0.010 0.010 0.010 0.010 <stdin>:1(main)
1 0.000 0.000 0.010 0.010 <string>:1(?)
1 0.010 0.010 0.020 0.020 profile:0(main())
0 0.000 0.000 profile:0(profiler)


--
* tgz@orotech.net * http://clickass.org * ICQ# 1107012 * AIM/Yahoo: theGREENzebra * http://mp3.com/thegreenzebra
-----GEEK CODE 3.12-----
GCM/CS/IT/MU d? s: a22 C++++ UL++++ P+ L+++>$ E---- W++ N+ o K- w---$ O- M V-- PS+ PE Y+ PGP- t++(+++) 5- X R tv(+) b+(-) DI+++ D+ G++ e h++ r+(---) y+ UF*++

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