Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tue Mar 6 16:07:47 2012 profile.txt
- 23951471 function calls in 48.185 seconds
- Ordered by: internal time
- ncalls tottime percall cumtime percall filename:lineno(function)
- 105 10.909 0.104 16.199 0.154 pyball_test.py:279(construct)
- 6913 7.507 0.001 15.329 0.002 pyball_test.py:543(circsAtTargets)
- 7490 3.660 0.000 3.660 0.000 {built-in method flip}
- 62831 3.199 0.000 3.199 0.000 {method 'size' of 'pygame.font.Font' objects}
- 62985 2.680 0.000 2.680 0.000 {method 'render' of 'pygame.font.Font' objects}
- 4564550 2.075 0.000 2.075 0.000 {built-in method pow}
- 1515800 2.054 0.000 2.054 0.000 {method 'set_at' of 'pygame.Surface' objects}
- 2935530 1.577 0.000 1.577 0.000 pyball_test.py:51(toList)
- 1423421 1.505 0.000 1.974 0.000 pyball_test.py:606(cursorWithinBounds)
- 252042 1.292 0.000 1.292 0.000 {built-in method aaline}
- 14985 1.213 0.000 1.213 0.000 {method 'fill' of 'pygame.Surface' objects}
- 62985 1.064 0.000 7.355 0.000 pyball_test.py:1581(renderText)
- 3641050 0.950 0.000 0.950 0.000 {built-in method min}
- 175461 0.889 0.000 0.889 0.000 {method 'blit' of 'pygame.Surface' objects}
- 1399262 0.797 0.000 0.797 0.000 pyball_test.py:831(degToRad)
- 690720 0.612 0.000 0.612 0.000 pyball_test.py:256(getData)
- 252841 0.593 0.000 0.593 0.000 {built-in method circle}
- 370 0.478 0.001 0.478 0.001 {method 'acquire' of '_thread.lock' objects}
- 1423421 0.468 0.000 0.468 0.000 {built-in method get_pos}
- 1 0.411 0.411 0.413 0.413 {built-in method set_mode}
- 716829 0.382 0.000 0.914 0.000 pyball_test.py:528(drawCircle)
- 774189 0.377 0.000 1.669 0.000 pyball_test.py:523(drawLine)
- 1 0.307 0.307 0.307 0.307 {built-in method quit}
- 92704 0.275 0.000 0.275 0.000 pyball_test.py:1643(getPadMidpoint)
- 7490 0.258 0.000 2.826 0.000 pyball_test.py:1022(drawObjects)
- 699631 0.252 0.000 0.252 0.000 {built-in method cos}
- 1517900 0.191 0.000 0.191 0.000 {built-in method abs}
- 699631 0.185 0.000 0.185 0.000 {built-in method sin}
- 1 0.155 0.155 48.499 48.499 pyball_test.py:1728(main)
- 7490 0.116 0.000 0.991 0.000 pyball_test.py:1061(drawWeightInfo)
- 16371 0.102 0.000 0.102 0.000 {built-in method rect}
- 387455 0.096 0.000 0.096 0.000 {method 'lower' of 'str' objects}
- 5228 0.094 0.000 0.223 0.000 pyball_test.py:1393(collisionHandling)
- 37450 0.079 0.000 0.105 0.000 pyball_test.py:343(adjustColour)
- 7490 0.074 0.000 0.074 0.000 {built-in method get}
- 15 0.073 0.005 0.073 0.005 {built-in method load_extended}
- 13 0.070 0.005 0.071 0.005 {built-in method open}
- 45067 0.070 0.000 0.130 0.000 pyball_test.py:1655(hoverHandler)
- 7490 0.066 0.000 0.199 0.000 pyball_test.py:1140(drawPauseButton)
- 8 0.055 0.007 0.055 0.007 {method 'read' of '_io.TextIOWrapper' objects}
- 1 0.054 0.054 0.054 0.054 pyball_test.py:1610(initialiseMusic)
- 5228 0.052 0.000 0.053 0.000 pyball_test.py:1548(insidePad)
- 7490 0.052 0.000 0.191 0.000 pyball_test.py:1667(SettingOptionsHandler)
- 7490 0.051 0.000 0.051 0.000 pyball_test.py:155(getColour)
- 5228 0.051 0.000 0.145 0.000 pyball_test.py:614(adaptiveAI)
- 14980 0.050 0.000 0.127 0.000 pyball_test.py:1165(drawLetterButton)
- 7491 0.041 0.000 0.041 0.000 {method 'set_volume' of 'Channel' objects}
- 7490 0.041 0.000 0.150 0.000 pyball_test.py:1116(drawLauncher)
- 5228 0.039 0.000 0.910 0.000 pyball_test.py:102(move)
- 37450 0.034 0.000 0.034 0.000 pyball_test.py:352(adjustSize)
- 45045 0.030 0.000 0.160 0.000 pyball_test.py:1660(setHover)
- 44940 0.029 0.000 0.029 0.000 {method 'set_alpha' of 'pygame.Surface' objects}
- 10454 0.029 0.000 0.057 0.000 pyball_test.py:130(getVelocityComponents)
- 7490 0.029 0.000 0.069 0.000 pyball_test.py:198(adjustVolume)
- 13828 0.028 0.000 0.028 0.000 pyball_test.py:67(move)
- 185 0.026 0.000 0.026 0.000 {method 'send' of '_socket.socket' objects}
- 7490 0.024 0.000 0.089 0.000 pyball_test.py:1129(drawSpeaker)
- 7490 0.024 0.000 0.184 0.000 pyball_test.py:1673(passiveMouseHandler)
- 5228 0.022 0.000 0.931 0.000 pyball_test.py:1343(handleMotion)
- 7490 0.020 0.000 0.060 0.000 pyball_test.py:1189(drawFastForwardButton)
- 7490 0.019 0.000 0.057 0.000 pyball_test.py:1206(drawGearButton)
- 7490 0.019 0.000 0.027 0.000 pyball_test.py:164(getRadius)
- 28 0.018 0.001 0.279 0.010 pyball_test.py:641(findBestApproximation)
- 41820 0.018 0.000 0.018 0.000 pyball_test.py:1380(objectWithinBounds)
- 15 0.018 0.001 0.018 0.001 {method 'convert_alpha' of 'pygame.Surface' objects}
- 1272 0.011 0.000 0.015 0.000 sysfont.py:37(<listcomp>)
- 7490 0.009 0.000 0.016 0.000 pyball_test.py:204(setCoverTransparency)
- 22 0.008 0.000 0.008 0.000 {method 'copy' of 'pygame.Surface' objects}
- 6931 0.008 0.000 0.008 0.000 pyball_test.py:731(getCollisionData)
- 4830 0.007 0.000 0.015 0.000 pyball_test.py:1639(getPointDistance)
- 33181 0.006 0.000 0.006 0.000 {built-in method len}
- 5805 0.006 0.000 0.006 0.000 pyball_test.py:152(coolDown)
- 563 0.006 0.000 0.006 0.000 {built-in method EnumValue}
- 1 0.006 0.006 0.031 0.031 sysfont.py:196(initsysfonts_win32)
- 6913 0.005 0.000 0.017 0.000 pyball_test.py:533(drawRect)
- 185 0.005 0.000 0.489 0.003 rpc.py:295(_getresponse)
- 8 0.004 0.001 0.007 0.001 pyball_test.py:867(parseMemoryData)
- 1 0.004 0.004 0.036 0.036 pyball_test.py:927(initialiseFonts)
- 1585 0.003 0.000 0.003 0.000 {method 'split' of 'str' objects}
- 525 0.003 0.000 0.006 0.000 pyball_test.py:689(calculateDivergence)
- 185 0.003 0.000 0.494 0.003 rpc.py:238(asyncreturn)
- 585 0.003 0.000 0.047 0.000 sysfont.py:600(match_font)
- 1272 0.003 0.000 0.018 0.000 sysfont.py:36(_simplename)
- 185 0.002 0.000 0.033 0.000 rpc.py:321(putmessage)
- 6242 0.002 0.000 0.002 0.000 {built-in method isinstance}
- 14223 0.002 0.000 0.002 0.000 {method 'isalnum' of 'str' objects}
- 92 0.002 0.000 0.539 0.006 {built-in method print}
- 576 0.002 0.000 0.011 0.000 ntpath.py:108(join)
- 185 0.002 0.000 0.002 0.000 {built-in method select}
- 5775 0.002 0.000 0.002 0.000 {built-in method max}
- 185 0.002 0.000 0.483 0.003 threading.py:227(wait)
- 185 0.002 0.000 0.002 0.000 threading.py:89(RLock)
- 185 0.002 0.000 0.040 0.000 rpc.py:218(asynccall)
- 185 0.002 0.000 0.002 0.000 {built-in method dumps}
- 586 0.002 0.000 0.006 0.000 ntpath.py:188(splitdrive)
- 1050 0.002 0.000 0.002 0.000 pyball_test.py:725(getAngleDifference)
- 4832 0.001 0.000 0.001 0.000 {built-in method sqrt}
- 185 0.001 0.000 0.001 0.000 {built-in method allocate_lock}
- 1 0.001 0.001 0.001 0.001 compat.py:21(get_BytesIO)
- 9 0.001 0.000 0.001 0.000 {built-in method smoothscale}
- 185 0.001 0.000 0.003 0.000 threading.py:178(__init__)
- 4709 0.001 0.000 0.511 0.000 pyball_test.py:538(printData)
- 586 0.001 0.000 0.003 0.000 ntpath.py:84(normcase)
- 1 0.001 0.001 0.002 0.002 pkgdata.py:18(<module>)
- 185 0.001 0.000 0.535 0.003 rpc.py:208(remotecall)
- 576 0.001 0.000 0.007 0.000 ntpath.py:100(isabs)
- 2191 0.001 0.000 0.001 0.000 {method 'join' of 'str' objects}
- 1354 0.001 0.000 0.001 0.000 {method 'get' of 'dict' objects}
- 1255 0.001 0.000 0.001 0.000 {method 'replace' of 'str' objects}
- 184 0.001 0.000 0.013 0.000 rpc.py:546(__getattr__)
- 1753 0.001 0.000 0.002 0.000 ntpath.py:44(_get_sep)
- 336 0.001 0.000 0.001 0.000 pyball_test.py:246(__init__)
- 185 0.001 0.000 0.491 0.003 rpc.py:279(getresponse)
- 185 0.001 0.000 0.001 0.000 {method '_acquire_restore' of '_thread.RLock' objects}
- 1295 0.001 0.000 0.001 0.000 rpc.py:149(debug)
- 21 0.001 0.000 16.271 0.775 pyball_test.py:1223(drawSettingsMenu)
- 1162 0.001 0.000 0.001 0.000 ntpath.py:68(_get_colon)
- 2 0.001 0.000 0.133 0.066 pyball_test.py:858(loadPadMemories)
- 370 0.001 0.000 0.001 0.000 threading.py:1016(current_thread)
- 550 0.001 0.000 0.001 0.000 sysfont.py:41(_addfont)
- 185 0.001 0.000 0.001 0.000 rpc.py:287(_proxify)
- 1157 0.001 0.000 0.001 0.000 ntpath.py:56(_get_bothseps)
- 185 0.001 0.000 0.001 0.000 {method 'acquire' of '_thread.RLock' objects}
- 28 0.000 0.000 0.102 0.004 pyball_test.py:631(printMemory)
- 185 0.000 0.000 0.004 0.000 threading.py:173(Condition)
- 1032 0.000 0.000 0.000 0.000 {built-in method sum}
- 184 0.000 0.000 0.524 0.003 rpc.py:592(__call__)
- 185 0.000 0.000 0.000 0.000 {method '_release_save' of '_thread.RLock' objects}
- 7 0.000 0.000 0.422 0.060 pyball_test.py:506(updatePadTargets)
- 184 0.000 0.000 0.000 0.000 rpc.py:587(__init__)
- 266 0.000 0.000 0.000 0.000 {method 'pop' of 'list' objects}
- 586 0.000 0.000 0.000 0.000 ntpath.py:38(_get_empty)
- 1 0.000 0.000 0.050 0.050 pyball_test.py:909(getFastForwardCover)
- 591 0.000 0.000 0.000 0.000 ntpath.py:50(_get_altsep)
- 185 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
- 394 0.000 0.000 0.000 0.000 {method 'remove' of 'list' objects}
- 185 0.000 0.000 0.000 0.000 rpc.py:317(newseq)
- 3 0.000 0.000 0.000 0.000 {built-in method OpenKey}
- 185 0.000 0.000 0.000 0.000 {built-in method pack}
- 812 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
- 185 0.000 0.000 0.000 0.000 threading.py:46(__init__)
- 185 0.000 0.000 0.000 0.000 threading.py:51(_note)
- 1 0.000 0.000 0.000 0.000 {built-in method set_caption}
- 370 0.000 0.000 0.000 0.000 {built-in method get_ident}
- 8 0.000 0.000 0.000 0.000 {built-in method charmap_decode}
- 72 0.000 0.000 0.003 0.000 pyball_test.py:518(drawText)
- 185 0.000 0.000 0.000 0.000 rpc.py:244(decoderesponse)
- 5 0.000 0.000 0.413 0.083 pyball_test.py:1565(genNewBall)
- 1 0.000 0.000 0.002 0.002 sysfont.py:221(<listcomp>)
- 22 0.000 0.000 0.008 0.000 pyball_test.py:1236(ResetSettingsMenu)
- 105 0.000 0.000 0.000 0.000 {method 'lock' of 'pygame.Surface' objects}
- 1 0.000 0.000 48.499 48.499 {built-in method exec}
- 2 0.000 0.000 0.009 0.004 pyball_test.py:897(getLetterIcon)
- 1 0.000 0.000 0.009 0.009 pyball_test.py:742(generateWeights)
- 8 0.000 0.000 0.000 0.000 locale.py:552(getpreferredencoding)
- 1 0.000 0.000 0.148 0.148 pyball_test.py:938(initialiseSession)
- 5 0.000 0.000 0.000 0.000 pyball_test.py:264(__init__)
- 105 0.000 0.000 0.000 0.000 {method 'unlock' of 'pygame.Surface' objects}
- 5 0.000 0.000 0.000 0.000 ntpath.py:529(normpath)
- 12 0.000 0.000 0.000 0.000 pyball_test.py:839(crossColours)
- 185 0.000 0.000 0.000 0.000 {method '_is_owned' of '_thread.RLock' objects}
- 9 0.000 0.000 0.001 0.000 pyball_test.py:923(scaleImage)
- 1 0.000 0.000 0.009 0.009 pyball_test.py:919(getSettingsMenu)
- 5 0.000 0.000 0.017 0.003 pyball_test.py:891(getSpeakerIcon)
- 8 0.000 0.000 0.000 0.000 {built-in method _getdefaultlocale}
- 201 0.000 0.000 0.000 0.000 {method 'get_height' of 'pygame.Surface' objects}
- 5 0.000 0.000 0.001 0.000 pkgdata.py:34(getResource)
- 4 0.000 0.000 0.106 0.026 pyball_test.py:81(losePoint)
- 4 0.000 0.000 0.000 0.000 pyball_test.py:234(addSurface)
- 5 0.000 0.000 0.000 0.000 ntpath.py:273(split)
- 10 0.000 0.000 0.000 0.000 pyball_test.py:1269(keyPressed)
- 1 0.000 0.000 0.000 0.000 pyball_test.py:751(selectBestWeights)
- 2 0.000 0.000 0.133 0.066 pyball_test.py:1693(activeMouseHandler)
- 1 0.000 0.000 0.000 0.000 {method 'update' of 'dict' objects}
- 3 0.000 0.000 0.000 0.000 {built-in method rotate}
- 4 0.000 0.000 0.003 0.001 pyball_test.py:887(getPadFromFile)
- 7 0.000 0.000 0.422 0.060 pyball_test.py:1516(updateCollisionData)
- 1 0.000 0.000 0.031 0.031 sysfont.py:518(initsysfonts)
- 8 0.000 0.000 0.000 0.000 cp1252.py:22(decode)
- 6 0.000 0.000 0.000 0.000 random.py:217(_randbelow)
- 1 0.000 0.000 0.000 0.000 pyball_test.py:992(initialiseSettings)
- 2 0.000 0.000 0.133 0.066 pyball_test.py:378(switch)
- 6 0.000 0.000 0.000 0.000 pyball_test.py:1527(angleFromComponents)
- 6 0.000 0.000 0.000 0.000 random.py:166(randrange)
- 9 0.000 0.000 0.000 0.000 pyball_test.py:1321(keyReleased)
- 30 0.000 0.000 0.000 0.000 ntpath.py:62(_get_dot)
- 58 0.000 0.000 0.000 0.000 {method 'get_width' of 'pygame.Surface' objects}
- 9 0.000 0.000 0.000 0.000 {method 'getrandbits' of '_random.Random' objects}
- 1 0.000 0.000 0.029 0.029 pyball_test.py:822(beginNewGeneration)
- 1 0.000 0.000 0.000 0.000 {built-in method QueryInfoKey}
- 1 0.000 0.000 0.000 0.000 sysfont.py:487(create_aliases)
- 10 0.000 0.000 0.000 0.000 {built-in method getattr}
- 4 0.000 0.000 0.000 0.000 pyball_test.py:56(__init__)
- 5 0.000 0.000 0.413 0.083 pyball_test.py:149(launchBall)
- 25 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
- 12 0.000 0.000 0.000 0.000 pyball_test.py:46(__init__)
- 6 0.000 0.000 0.000 0.000 {built-in method atan}
- 5 0.000 0.000 0.000 0.000 pyball_test.py:95(__init__)
- 1 0.000 0.000 0.004 0.004 pyball_test.py:913(getGearIcon)
- 1 0.000 0.000 0.000 0.000 {method 'play' of 'Channel' objects}
- 1 0.000 0.000 0.000 0.000 pyball_test.py:189(addChannel)
- 1 0.000 0.000 0.001 0.001 pyball_test.py:903(getFastForwardIcon)
- 1 0.000 0.000 48.499 48.499 <string>:1(<module>)
- 5 0.000 0.000 0.000 0.000 ntpath.py:314(dirname)
- 1 0.000 0.000 0.000 0.000 pyball_test.py:182(addSurface)
- 6 0.000 0.000 0.000 0.000 pyball_test.py:835(radToDeg)
- 10 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
- 8 0.000 0.000 0.000 0.000 codecs.py:238(__init__)
- 2 0.000 0.000 0.000 0.000 os.py:449(__getitem__)
- 2 0.000 0.000 0.000 0.000 os.py:507(encodekey)
- 1 0.000 0.000 0.000 0.000 pyball_test.py:141(__init__)
- 4 0.000 0.000 0.000 0.000 pyball_test.py:1385(angleBetweenPoints)
- 1 0.000 0.000 0.000 0.000 pyball_test.py:773(produceChildren)
- 5 0.000 0.000 0.000 0.000 {method 'lstrip' of 'str' objects}
- 6 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
- 1 0.000 0.000 0.011 0.011 rpc.py:564(__getmethods)
- 6 0.000 0.000 0.000 0.000 pyball_test.py:241(switch)
- 2 0.000 0.000 0.000 0.000 os.py:501(check_str)
- 2 0.000 0.000 0.000 0.000 pyball_test.py:1544(velocityFromComponents)
- 1 0.000 0.000 0.000 0.000 _abcoll.py:363(__contains__)
- 5 0.000 0.000 0.000 0.000 ntpath.py:74(_get_special)
- 5 0.000 0.000 0.000 0.000 pkgdata.py:29(resource_exists)
- 1 0.000 0.000 0.000 0.000 {built-in method Channel}
- 2 0.000 0.000 0.000 0.000 pyball_test.py:221(switch)
- 1 0.000 0.000 0.000 0.000 {built-in method init}
- 2 0.000 0.000 0.000 0.000 {method 'upper' of 'str' objects}
- 10 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
- 1 0.000 0.000 0.000 0.000 {method 'extend' of 'list' objects}
Advertisement
Add Comment
Please, Sign In to add comment