624849 function calls (623309 primitive calls) in 9.609 CPU seconds Ordered by: standard name ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 0.000 0.000 :0(Clock) 1 0.000 0.000 0.000 0.000 :0(_getframe) 44994 0.268 0.000 0.268 0.000 :0(append) 63288 0.828 0.000 0.828 0.000 :0(blit) 7394 0.036 0.000 0.036 0.000 :0(callable) 1496 0.012 0.000 0.012 0.000 :0(clear) 144039 0.844 0.000 0.844 0.000 :0(colliderect) 814 0.004 0.000 0.004 0.000 :0(contains) 13 0.000 0.000 0.000 0.000 :0(convert) 5 0.000 0.000 0.000 0.000 :0(endswith) 1 0.000 0.000 9.609 9.609 :0(execfile) 1 0.000 0.000 0.000 0.000 :0(exit) 44395 0.292 0.000 0.292 0.000 :0(fill) 3 0.000 0.000 0.000 0.000 :0(flip) 1 0.000 0.000 0.000 0.000 :0(fromstring) 1583 0.048 0.000 0.048 0.000 :0(get) 65 0.000 0.000 0.000 0.000 :0(get_pos) 377 0.000 0.000 0.000 0.000 :0(get_rect) 1 0.000 0.000 0.000 0.000 :0(get_surface) 8 0.000 0.000 0.000 0.000 :0(getattr) 580 0.000 0.000 0.000 0.000 :0(has_key) 1 0.032 0.032 0.032 0.032 :0(init) 638 0.004 0.000 0.004 0.000 :0(isinstance) 3 0.000 0.000 0.000 0.000 :0(issubclass) 1 0.000 0.000 0.000 0.000 :0(items) 12 0.000 0.000 0.000 0.000 :0(itemsize) 14368 0.068 0.000 0.068 0.000 :0(iter) 1478 0.008 0.000 0.008 0.000 :0(iteritems) 4 0.000 0.000 0.000 0.000 :0(join) 31071 0.168 0.000 0.168 0.000 :0(keys) 4670/3192 0.016 0.000 0.068 0.000 :0(len) 13 0.012 0.001 0.012 0.001 :0(load_extended) 1 0.000 0.000 0.000 0.000 :0(lower) 12866 0.088 0.000 0.088 0.000 :0(move) 48872 0.280 0.000 0.280 0.000 :0(move_ip) 1514 0.016 0.000 0.016 0.000 :0(pump) 1844 0.004 0.000 0.004 0.000 :0(random) 18 0.000 0.000 0.000 0.000 :0(range) 18 0.000 0.000 0.000 0.000 :0(rect) 63 0.004 0.000 0.004 0.000 :0(render) 4 0.000 0.000 0.000 0.000 :0(rfind) 1 0.004 0.004 0.004 0.004 :0(rotate) 4 0.000 0.000 0.000 0.000 :0(rstrip) 1 0.000 0.000 0.000 0.000 :0(set_caption) 1 0.000 0.000 0.000 0.000 :0(set_grab) 1 0.032 0.032 0.032 0.032 :0(set_mode) 2 0.000 0.000 0.000 0.000 :0(set_string_function) 1 0.000 0.000 0.000 0.000 :0(set_visible) 1 0.000 0.000 0.000 0.000 :0(setdefault) 1 0.000 0.000 0.000 0.000 :0(setprofile) 4 0.000 0.000 0.000 0.000 :0(split) 12 0.000 0.000 0.000 0.000 :0(startswith) 35 0.536 0.015 0.536 0.015 :0(tick) 18665 0.148 0.000 0.148 0.000 :0(union) 1477 0.132 0.000 0.132 0.000 :0(update) 7390 0.056 0.000 0.056 0.000 :0(values) 12 0.000 0.000 0.000 0.000 :0(zeros) 1 0.000 0.000 9.609 9.609 :1() 1 0.000 0.000 0.000 0.000 ArrayPrinter.py:7() 1 0.000 0.000 0.000 0.000 Numeric.py:536(Unpickler) 1 0.000 0.000 0.000 0.000 Numeric.py:543(Pickler) 1 0.008 0.008 0.008 0.008 Numeric.py:85() 5 0.000 0.000 0.000 0.000 Precision.py:15(_get_precisions) 1 0.000 0.000 0.000 0.000 Precision.py:21(_fill_table) 1 0.000 0.000 0.000 0.000 Precision.py:28(PrecisionError) 23 0.000 0.000 0.000 0.000 Precision.py:31(_lookup) 1 0.000 0.000 0.000 0.000 Precision.py:7() 1 0.000 0.000 0.000 0.000 StringIO.py:30() 1 0.000 0.000 0.000 0.000 StringIO.py:42(StringIO) 1 0.040 0.040 0.052 0.052 __init__.py:25() 1 0.000 0.000 0.000 0.000 __init__.py:39(MissingModule) 1 0.000 0.000 0.000 0.000 __init__.py:40(__init__) 1 0.000 0.000 0.004 0.004 background.py:13() 1 0.000 0.000 0.000 0.000 background.py:16(BackgroundManager) 1 0.000 0.000 0.004 0.004 background.py:20(__init__) 1478 0.488 0.000 0.728 0.000 background.py:24(update) 1478 0.136 0.000 0.292 0.000 background.py:36(draw) 1478 0.144 0.000 0.268 0.000 background.py:41(clear) 122 0.008 0.000 0.016 0.000 background.py:46(add_star) 1 0.000 0.000 0.000 0.000 background.py:55(star) 122 0.000 0.000 0.000 0.000 background.py:56(set_speed) 22063 0.120 0.000 0.120 0.000 background.py:58(get_speed) 1 0.004 0.004 0.004 0.004 bullet.py:13() 1 0.000 0.000 0.000 0.000 bullet.py:16(Bullet) 131 0.004 0.000 0.004 0.000 bullet.py:19(__init__) 258 0.004 0.000 0.004 0.000 bullet.py:29(set_pos) 6666 0.068 0.000 0.084 0.000 bullet.py:38(update) 1 0.000 0.000 0.000 0.000 bullet.py:46(EnemyBullet) 127 0.004 0.000 0.004 0.000 bullet.py:47(__init__) 6267 0.044 0.000 0.092 0.000 bullet.py:55(update) 1 0.000 0.000 0.004 0.004 color.py:21() 1 0.004 0.004 0.004 0.004 colordict.py:21() 2 0.000 0.000 0.000 0.000 copy.py:112(_copy_with_constructor) 2 0.000 0.000 0.000 0.000 copy.py:65(copy) 2 0.000 0.000 0.000 0.000 copy_reg.py:14(pickle) 2 0.000 0.000 0.000 0.000 copy_reg.py:27(constructor) 1 0.000 0.000 0.000 0.000 cursors.py:32() 1512 0.000 0.000 0.000 0.000 display.py:100(get_health) 295 0.000 0.000 0.000 0.000 display.py:103(get_temp) 1 0.000 0.000 0.000 0.000 display.py:106(get_size) 18 0.000 0.000 0.000 0.000 display.py:109(sub_health) 18 0.000 0.000 0.000 0.000 display.py:114(hit) 295 0.000 0.000 0.000 0.000 display.py:117(update) 1 0.000 0.000 0.008 0.008 display.py:13() 1 0.000 0.000 0.000 0.000 display.py:135(HealthBar) 1 0.000 0.000 0.000 0.000 display.py:142(__init__) 295 0.000 0.000 0.000 0.000 display.py:150(update) 1 0.000 0.000 0.000 0.000 display.py:20(Points) 1 0.004 0.004 0.004 0.004 display.py:25(__init__) 56 0.000 0.000 0.000 0.000 display.py:40(add_points) 1 0.000 0.000 0.000 0.000 display.py:44(set_points) 295 0.000 0.000 0.000 0.000 display.py:55(update) 1 0.000 0.000 0.000 0.000 display.py:72(Health) 1 0.004 0.004 0.004 0.004 display.py:77(__init__) 1 0.000 0.000 0.000 0.000 display.py:96(set_health) 127 0.008 0.000 0.020 0.000 enemy.py:104(shoot) 1 0.000 0.000 0.004 0.004 enemy.py:13() 1 0.000 0.000 0.000 0.000 enemy.py:20(EnemyManager) 1 0.000 0.000 0.000 0.000 enemy.py:21(__init__) 1478 0.028 0.000 0.196 0.000 enemy.py:24(shoot) 1 0.000 0.000 0.000 0.000 enemy.py:32(Enemy) 54 0.000 0.000 0.000 0.000 enemy.py:43(__init__) 54 0.000 0.000 0.004 0.000 enemy.py:58(set_pos) 121 0.000 0.000 0.000 0.000 enemy.py:64(set_range) 1629 0.008 0.000 0.008 0.000 enemy.py:68(get_range) 12812 0.792 0.000 0.980 0.000 enemy.py:71(update) 56 0.000 0.000 0.000 0.000 enemy.py:97(set_state) 1478 0.004 0.000 0.064 0.000 game.py:102(check_done) 1478 0.032 0.000 0.040 0.000 game.py:108(check_rows) 1 0.000 0.000 0.000 0.000 game.py:12() 1478 0.016 0.000 0.016 0.000 game.py:126(again) 131 0.004 0.000 0.028 0.000 game.py:133(pshoot) 1478 0.100 0.000 1.108 0.001 game.py:140(drawbullets) 1478 0.056 0.000 0.512 0.000 game.py:149(drawsidepanel) 1478 0.040 0.000 1.520 0.001 game.py:157(tick) 1478 0.068 0.000 3.316 0.002 game.py:167(check) 1478 0.056 0.000 3.640 0.002 game.py:175(draw) 1478 0.040 0.000 0.140 0.000 game.py:195(input) 1 0.000 0.000 8.893 8.893 game.py:254(start) 1 0.084 0.084 8.893 8.893 game.py:262(loop) 1 0.000 0.000 0.000 0.000 game.py:32(Gamelolz) 1 0.000 0.000 0.000 0.000 game.py:35(__init__) 1 0.000 0.000 0.000 0.000 game.py:45(clear_vars) 1478 0.032 0.000 0.236 0.000 game.py:61(pship) 1478 0.044 0.000 1.168 0.001 game.py:66(emove) 2 0.004 0.002 0.024 0.012 game.py:71(draw_enemys) 1478 0.048 0.000 2.212 0.001 game.py:90(test_collision) 13 0.000 0.000 0.012 0.001 globalvars.py:141(load_file) 1 0.004 0.004 0.088 0.088 globalvars.py:16() 1 0.000 0.000 0.000 0.000 locals.py:24() 1 0.000 0.000 0.000 0.000 menu.py:13() 1 0.000 0.000 0.000 0.000 menu.py:19(Menu) 1 0.000 0.000 0.008 0.008 menu.py:20(__init__) 1 0.000 0.000 0.000 0.000 menu.py:95(get_selection) 2 0.000 0.000 0.008 0.004 menulists.py:114(clear_screen) 1 0.000 0.000 0.000 0.000 menulists.py:13() 1 0.000 0.000 0.000 0.000 menulists.py:21(MenuLists) 1 0.000 0.000 0.552 0.552 menulists.py:23(init_menu) 36 0.000 0.000 0.000 0.000 menulists.py:90(menu_action) 1 0.000 0.000 0.000 0.000 numeric_version.py:1() 1 0.000 0.000 0.000 0.000 pkgdata.py:18() 4 0.000 0.000 0.000 0.000 pkgdata.py:25(getResource) 1 0.004 0.004 0.004 0.004 player.py:13() 1 0.000 0.000 0.000 0.000 player.py:18(Player) 1 0.000 0.000 0.000 0.000 player.py:20(__init__) 65 0.000 0.000 0.000 0.000 player.py:30(move) 814 0.020 0.000 0.040 0.000 player.py:33(move_one) 814 0.008 0.000 0.012 0.000 player.py:43(in_range) 1 0.000 0.000 0.000 0.000 player.py:48(set_pos) 18 0.000 0.000 0.000 0.000 player.py:51(set_hit) 1478 0.004 0.000 0.008 0.000 player.py:54(update) 4 0.000 0.000 0.000 0.000 posixpath.py:117(dirname) 4 0.000 0.000 0.000 0.000 posixpath.py:373(normpath) 17 0.000 0.000 0.000 0.000 posixpath.py:56(join) 4 0.000 0.000 0.000 0.000 posixpath.py:74(split) 1 0.000 0.000 9.609 9.609 profile:0(execfile('pylaga.py')) 0 0.000 0.000 profile:0(profiler) 1 0.008 0.008 9.609 9.609 pylaga.py:16() 1 0.000 0.000 0.000 0.000 pylaga.py:54(pylaga) 1 0.000 0.000 9.445 9.445 pylaga.py:55(__init__) 1844 0.068 0.000 0.072 0.000 random.py:147(randrange) 1844 0.016 0.000 0.088 0.000 random.py:211(randint) 316 0.004 0.000 0.004 0.000 sprite.py:120(add_internal) 264 0.004 0.000 0.004 0.000 sprite.py:123(remove_internal) 19 0.000 0.000 0.000 0.000 sprite.py:129(kill) 1 0.000 0.000 0.000 0.000 sprite.py:159(AbstractGroup) 5 0.000 0.000 0.000 0.000 sprite.py:171(__init__) 31052 0.328 0.000 0.496 0.000 sprite.py:175(sprites) 316 0.000 0.000 0.000 0.000 sprite.py:185(add_internal) 283 0.000 0.000 0.000 0.000 sprite.py:188(remove_internal) 580 0.008 0.000 0.008 0.000 sprite.py:194(has_internal) 14368 0.244 0.000 0.564 0.000 sprite.py:205(__iter__) 321 0.020 0.000 0.036 0.000 sprite.py:211(add) 320/258 0.008 0.000 0.012 0.000 sprite.py:243(remove) 4729 0.248 0.000 1.492 0.000 sprite.py:297(update) 7390 0.292 0.000 0.884 0.000 sprite.py:316(clear) 4 0.000 0.000 0.000 0.000 sprite.py:337(empty) 1478 0.024 0.000 0.036 0.000 sprite.py:346(__nonzero__) 1478 0.024 0.000 0.052 0.000 sprite.py:349(__len__) 1 0.000 0.000 0.000 0.000 sprite.py:359(Group) 5 0.000 0.000 0.000 0.000 sprite.py:366(__init__) 1 0.000 0.000 0.000 0.000 sprite.py:373(RenderUpdates) 7390 0.892 0.000 1.896 0.000 sprite.py:382(draw) 1 0.000 0.000 0.000 0.000 sprite.py:402(OrderedUpdates) 1 0.000 0.000 0.000 0.000 sprite.py:421(GroupSingle) 14290 0.744 0.000 1.940 0.000 sprite.py:470(spritecollide) 1478 0.144 0.000 2.024 0.001 sprite.py:494(groupcollide) 1 0.000 0.000 0.000 0.000 sprite.py:55() 1 0.000 0.000 0.000 0.000 sprite.py:77(Sprite) 316 0.000 0.000 0.000 0.000 sprite.py:90(__init__) 1 0.000 0.000 0.000 0.000 stage.py:13() 1 0.000 0.000 0.000 0.000 stage.py:18(Stage) 2 0.000 0.000 0.000 0.000 stage.py:25(next_stage) 1 0.000 0.000 0.000 0.000 stage.py:31(set_stage) 71 0.004 0.000 0.004 0.000 stage.py:34(get_stage) 1 0.000 0.000 0.000 0.000 sysfont.py:21() 1 0.000 0.000 0.000 0.000 version.py:28() 1 0.000 0.000 0.000 0.000 warnings.py:24(warn) 1 0.000 0.000 0.000 0.000 warnings.py:64(warn_explicit)