Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### CUMTIME
- 44862171 function calls (44862161 primitive calls) in 74.375 seconds
- Ordered by: cumulative time
- List reduced from 664 to 25 due to restriction <25>
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1 0.059 0.059 74.375 74.375 /xxx/Gameuh.py/main.py:168(main_loop)
- 1114 0.035 0.000 31.270 0.028 /xxx/Gameuh.py/main.py:87(game_loop)
- 1706 0.043 0.000 23.589 0.014 /xxx/Gameuh.py/data/interface/render.py:23(render_all)
- 3844 0.350 0.000 22.217 0.006 /xxx/Gameuh.py/data/interface/general.py:100(logic_tick)
- 8729 0.093 0.000 17.642 0.002 /xxx/Gameuh.py/data/api/surface.py:81(blits)
- 8729 17.168 0.002 17.168 0.002 {method 'blits' of 'pygame.surface.Surface' objects}
- 1706 0.042 0.000 17.157 0.010 /xxx/Gameuh.py/data/image/posteffects.py:62(tick)
- 237364 0.749 0.000 15.150 0.000 /xxx/Gameuh.py/data/game/pickup.py:141(tick)
- 51650 0.146 0.000 13.535 0.000 /xxx/Gameuh.py/data/api/surface.py:50(blit)
- 51650 13.374 0.000 13.374 0.000 {method 'blit' of 'pygame.surface.Surface' objects}
- 237364 1.414 0.000 11.950 0.000 /xxx/Gameuh.py/data/game/pickup.py:81(move)
- 380 0.013 0.000 6.590 0.017 /xxx/Gameuh.py/main.py:155(loading)
- 1137 0.167 0.000 6.240 0.005 /xxx/Gameuh.py/data/interface/general.py:55(draw_game)
- 13159 0.015 0.000 6.186 0.000 /xxx/Gameuh.py/data/api/surface.py:56(fill)
- 13159 6.172 0.000 6.172 0.000 {method 'fill' of 'pygame.surface.Surface' objects}
- 51914 0.245 0.000 5.278 0.000 /xxx/Gameuh.py/data/game/enemy.py:132(tick)
- 1737 0.015 0.000 4.192 0.002 /xxx/Gameuh.py/data/api/surface.py:91(copy)
- 1737 4.114 0.002 4.114 0.002 {method 'copy' of 'pygame.surface.Surface' objects}
- 1706 0.007 0.000 4.105 0.002 /xxx/Gameuh.py/data/api/surface.py:8(flip)
- 1706 4.099 0.002 4.099 0.002 {built-in method pygame.display.flip}
- 857384 0.575 0.000 3.614 0.000 /xxx/Gameuh.py/data/api/vec2d.py:48(length)
- 857384 1.753 0.000 2.938 0.000 /xxx/Gameuh.py/.venv/lib/python3.10/site-packages/numpy/linalg/_linalg.py:2575(norm)
- 1706 0.018 0.000 2.522 0.001 /xxx/Gameuh.py/data/api/clock.py:12(tick)
- 2018443 1.167 0.000 2.499 0.000 /xxx/Gameuh.py/data/api/vec2d.py:9(__init__)
- 366 2.485 0.007 2.485 0.007 {built-in method time.sleep}
- ### PERCALL
- 44862171 function calls (44862161 primitive calls) in 74.375 seconds
- Ordered by: primitive call count
- List reduced from 664 to 25 due to restriction <25>
- ncalls tottime percall cumtime percall filename:lineno(function)
- 3614975 0.740 0.000 0.760 0.000 /xxx/Gameuh.py/data/numerics/stat.py:140(tick)
- 3579144 1.638 0.000 1.638 0.000 {built-in method builtins.round}
- 2641894 0.277 0.000 0.277 0.000 {built-in method builtins.isinstance}
- 2018872 1.118 0.000 1.118 0.000 {built-in method numpy.array}
- 2018443 1.167 0.000 2.499 0.000 /xxx/Gameuh.py/data/api/vec2d.py:9(__init__)
- 1938171 0.750 0.000 1.753 0.000 /xxx/Gameuh.py/data/api/vec2d.py:15(x)
- 1938171 0.503 0.000 2.256 0.000 /xxx/Gameuh.py/data/api/widget.py:44(x)
- 1714768 0.157 0.000 0.157 0.000 {built-in method builtins.issubclass}
- 1302044 0.409 0.000 0.950 0.000 /xxx/Gameuh.py/data/api/vec2d.py:20(y)
- 1302044 0.305 0.000 1.255 0.000 /xxx/Gameuh.py/data/api/widget.py:53(y)
- 857384 0.575 0.000 3.614 0.000 /xxx/Gameuh.py/data/api/vec2d.py:48(length)
- 857384 0.156 0.000 0.221 0.000 /xxx/Gameuh.py/.venv/lib/python3.10/site-packages/numpy/linalg/_linalg.py:128(isComplexType)
- 857384 0.102 0.000 0.102 0.000 /xxx/Gameuh.py/.venv/lib/python3.10/site-packages/numpy/linalg/_linalg.py:2571(_norm_dispatcher)
- 857384 1.753 0.000 2.938 0.000 /xxx/Gameuh.py/.venv/lib/python3.10/site-packages/numpy/linalg/_linalg.py:2575(norm)
- 857384 0.606 0.000 0.606 0.000 {method 'dot' of 'numpy.ndarray' objects}
- 857384 0.187 0.000 0.187 0.000 {method 'ravel' of 'numpy.ndarray' objects}
- 857384 0.079 0.000 0.079 0.000 {built-in method numpy.asarray}
- 821397 0.350 0.000 0.350 0.000 /xxx/Gameuh.py/data/image/animation.py:83(tick)
- 710265 0.180 0.000 1.012 0.000 /xxx/Gameuh.py/data/api/widget.py:24(left)
- 624180 1.087 0.000 1.807 0.000 /xxx/Gameuh.py/data/api/vec2d.py:33(__add__)
- 500535 0.050 0.000 0.050 0.000 /xxx/Gameuh.py/data/numerics/affliction.py:193(expired)
- 489746 0.045 0.000 0.045 0.000 /xxx/Gameuh.py/data/physics/entity.py:169(hitbox)
- 472242 1.070 0.000 1.592 0.000 /xxx/Gameuh.py/data/api/vec2d.py:39(__mul__)
- 438496 0.140 0.000 0.180 0.000 /xxx/Gameuh.py/data/character.py:241(hitbox)
- 427937 0.131 0.000 0.131 0.000 /xxx/Gameuh.py/data/api/vec2d.py:25(x)
- ### TOTTIME
- 44862171 function calls (44862161 primitive calls) in 74.375 seconds
- Ordered by: internal time
- List reduced from 664 to 25 due to restriction <25>
- ncalls tottime percall cumtime percall filename:lineno(function)
- 8729 17.168 0.002 17.168 0.002 {method 'blits' of 'pygame.surface.Surface' objects}
- 51650 13.374 0.000 13.374 0.000 {method 'blit' of 'pygame.surface.Surface' objects}
- 13159 6.172 0.000 6.172 0.000 {method 'fill' of 'pygame.surface.Surface' objects}
- 1737 4.114 0.002 4.114 0.002 {method 'copy' of 'pygame.surface.Surface' objects}
- 1706 4.099 0.002 4.099 0.002 {built-in method pygame.display.flip}
- 366 2.485 0.007 2.485 0.007 {built-in method time.sleep}
- 857384 1.753 0.000 2.938 0.000 /xxx/Gameuh.py/.venv/lib/python3.10/site-packages/numpy/linalg/_linalg.py:2575(norm)
- 3579144 1.638 0.000 1.638 0.000 {built-in method builtins.round}
- 237364 1.414 0.000 11.950 0.000 /xxx/Gameuh.py/data/game/pickup.py:81(move)
- 2018443 1.167 0.000 2.499 0.000 /xxx/Gameuh.py/data/api/vec2d.py:9(__init__)
- 2018872 1.118 0.000 1.118 0.000 {built-in method numpy.array}
- 624180 1.087 0.000 1.807 0.000 /xxx/Gameuh.py/data/api/vec2d.py:33(__add__)
- 472242 1.070 0.000 1.592 0.000 /xxx/Gameuh.py/data/api/vec2d.py:39(__mul__)
- 386864 0.821 0.000 1.250 0.000 /xxx/Gameuh.py/data/api/vec2d.py:36(__sub__)
- 55615 0.789 0.000 2.315 0.000 /xxx/Gameuh.py/data/creature.py:428(tick)
- 277100 0.782 0.000 2.161 0.000 /xxx/Gameuh.py/data/api/vec2d.py:52(normalize)
- 1938171 0.750 0.000 1.753 0.000 /xxx/Gameuh.py/data/api/vec2d.py:15(x)
- 237364 0.749 0.000 15.150 0.000 /xxx/Gameuh.py/data/game/pickup.py:141(tick)
- 3614975 0.740 0.000 0.760 0.000 /xxx/Gameuh.py/data/numerics/stat.py:140(tick)
- 48125 0.637 0.000 0.802 0.000 /xxx/Gameuh.py/data/api/surface.py:43(__init__)
- 857384 0.606 0.000 0.606 0.000 {method 'dot' of 'numpy.ndarray' objects}
- 857384 0.575 0.000 3.614 0.000 /xxx/Gameuh.py/data/api/vec2d.py:48(length)
- 1938171 0.503 0.000 2.256 0.000 /xxx/Gameuh.py/data/api/widget.py:44(x)
- 904 0.448 0.000 0.448 0.000 {built-in method pygame.image.load}
- 1302044 0.409 0.000 0.950 0.000 /xxx/Gameuh.py/data/api/vec2d.py:20(y)
Advertisement
Add Comment
Please, Sign In to add comment