Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. 1267834271 function calls in 433.595 seconds
  2.  
  3. Ordered by: internal time
  4.  
  5. ncalls tottime percall cumtime percall filename:lineno(function)
  6. 14241 190.977 0.013 432.924 0.030 simulation.py:80(update_missile_locations)
  7. 945633507 126.713 0.000 126.713 0.000 aircraft.py:80(maybe_launch_interceptor)
  8. 9439635 27.913 0.000 44.498 0.000 location.py:18(distance_to)
  9. 3592475 16.147 0.000 38.472 0.000 location.py:52(move_towards)
  10. 3592475 8.466 0.000 13.142 0.000 location.py:41(_bearing_towards)
  11. 9304958 8.247 0.000 53.963 0.000 util.py:4(can_intercept)
  12. 17319295 6.920 0.000 71.652 0.000 sam.py:31(maybe_launch_interceptor)
  13. 51211545 6.538 0.000 6.538 0.000 {built-in method math.sin}
  14. 51211545 6.215 0.000 6.215 0.000 {built-in method math.cos}
  15. 12045911 5.536 0.000 64.732 0.000 interceptor_system.py:15(maybe_launch_interceptor)
  16. 12024694 5.204 0.000 59.196 0.000 interceptor_system.py:35(_launch_interceptor)
  17. 18879270 4.565 0.000 4.565 0.000 {built-in method math.pow}
  18. 20783154 4.385 0.000 4.385 0.000 ship.py:43(maybe_launch_interceptor)
  19. 55720915 3.875 0.000 3.875 0.000 {built-in method math.radians}
  20. 16624585 3.642 0.000 3.642 0.000 {built-in method math.atan2}
  21. 18879270 2.408 0.000 2.408 0.000 {built-in method math.sqrt}
  22. 3593451 1.963 0.000 1.963 0.000 location.py:7(__init__)
  23. 6927718 1.920 0.000 1.920 0.000 aegis_ashore.py:36(maybe_launch_interceptor)
  24. 3592475 0.637 0.000 0.637 0.000 {built-in method math.asin}
  25. 7184950 0.601 0.000 0.601 0.000 {built-in method math.degrees}
  26. 10090 0.369 0.000 0.369 0.000 socket.py:333(send)
  27. 16381 0.118 0.000 433.369 0.026 simulation.py:37(process_next_event)
  28. 16380 0.032 0.000 0.032 0.000 {built-in method _heapq.heappop}
  29. 16380 0.032 0.000 0.032 0.000 {built-in method _heapq.heappush}
  30. 16380 0.023 0.000 0.054 0.000 simulation.py:53(schedule_event)
  31. 10090 0.020 0.000 0.416 0.000 iostream.py:195(schedule)
  32. 9716 0.019 0.000 0.446 0.000 iostream.py:366(write)
  33. 1 0.016 0.016 433.595 433.595 <ipython-input-40-dd3fcf651716>:1(myfun)
  34. 12898 0.013 0.000 0.013 0.000 {method 'format' of 'str' objects}
  35. 10090 0.011 0.000 0.021 0.000 threading.py:1104(is_alive)
  36. 4860 0.009 0.000 0.455 0.000 {built-in method builtins.print}
  37. 17009 0.005 0.000 0.005 0.000 {built-in method builtins.len}
  38. 9716 0.005 0.000 0.007 0.000 iostream.py:300(_is_master_process)
  39. 10090 0.005 0.000 0.005 0.000 {method 'acquire' of '_thread.lock' objects}
  40. 10090 0.004 0.000 0.009 0.000 threading.py:1062(_wait_for_tstate_lock)
  41. 10090 0.004 0.000 0.004 0.000 iostream.py:93(_event_pipe)
  42. 256 0.004 0.000 0.055 0.000 interceptor_system.py:78(intercept)
  43. 1252 0.003 0.000 0.175 0.000 launcher.py:37(launch_missile)
  44. 9716 0.003 0.000 0.014 0.000 iostream.py:313(_schedule_flush)
  45. 9716 0.002 0.000 0.002 0.000 {built-in method nt.getpid}
  46. 2578 0.002 0.000 0.009 0.000 entity.py:14(status_string)
  47. 626 0.002 0.000 0.003 0.000 missile.py:6(__init__)
  48. 10090 0.002 0.000 0.002 0.000 threading.py:506(is_set)
  49. 2 0.002 0.001 0.203 0.101 simulation.py:152(print_state)
  50. 9716 0.002 0.000 0.002 0.000 {built-in method builtins.isinstance}
  51. 626 0.002 0.000 0.057 0.000 missile.py:27(missile_impact)
  52. 546 0.002 0.000 0.006 0.000 aircraft.py:95(status_string)
  53. 10090 0.001 0.000 0.001 0.000 {method 'append' of 'collections.deque' objects}
  54. 626 0.001 0.000 0.006 0.000 launcher.py:60(missile_flight_duration)
  55. 2578 0.001 0.000 0.006 0.000 location.py:81(to_string)
  56. 1 0.001 0.001 0.006 0.006 simulation.py:118(load_entities_from_files)
  57. 1252 0.001 0.000 0.005 0.000 launcher.py:69(status_string)
  58. 1602 0.001 0.000 0.001 0.000 entity.py:9(__init__)
  59. 626 0.001 0.000 0.058 0.000 launcher.py:46(<lambda>)
  60. 8 0.001 0.000 0.001 0.000 {built-in method io.open}
  61. 565 0.001 0.000 0.001 0.000 interceptor_system.py:5(__init__)
  62. 1662 0.001 0.000 0.001 0.000 {built-in method builtins.hasattr}
  63. 992 0.001 0.000 0.001 0.000 {method 'readline' of '_io.TextIOWrapper' objects}
  64. 273 0.001 0.000 0.001 0.000 aircraft.py:10(__init__)
  65. 984 0.001 0.000 0.002 0.000 simulation.py:105(load_csv_lines_from_file)
  66. 626 0.001 0.000 0.001 0.000 random.py:223(_randbelow)
  67. 626 0.001 0.000 0.001 0.000 launcher.py:8(__init__)
  68. 1130 0.000 0.000 0.001 0.000 interceptor_system.py:111(status_string)
  69. 626 0.000 0.000 0.175 0.000 <ipython-input-40-dd3fcf651716>:33(<lambda>)
  70. 626 0.000 0.000 0.003 0.000 missile.py:35(status_string)
  71. 626 0.000 0.000 0.001 0.000 random.py:253(choice)
  72. 142 0.000 0.000 0.001 0.000 radar.py:17(resolve_missile_impact)
  73. 256 0.000 0.000 0.055 0.000 interceptor_system.py:57(<lambda>)
  74. 976 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
  75. 1602 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
  76. 64 0.000 0.000 0.000 0.000 airbase.py:15(resolve_missile_impact)
  77. 8 0.000 0.000 0.000 0.000 {method 'close' of '_io.TextIOWrapper' objects}
  78. 626 0.000 0.000 0.000 0.000 launcher.py:54(<lambda>)
  79. 803 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
  80. 966 0.000 0.000 0.000 0.000 {method 'getrandbits' of '_random.Random' objects}
  81. 626 0.000 0.000 0.000 0.000 simulation.py:70(enable_missile_tracking)
  82. 21 0.000 0.000 0.000 0.000 {built-in method _codecs.charmap_decode}
  83. 136 0.000 0.000 0.000 0.000 aegis_ashore.py:52(resolve_missile_impact)
  84. 47 0.000 0.000 0.000 0.000 port.py:15(resolve_missile_impact)
  85. 84 0.000 0.000 0.000 0.000 sam.py:41(resolve_missile_impact)
  86. 626 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
  87. 60 0.000 0.000 0.000 0.000 radar.py:26(status_string)
  88. 52 0.000 0.000 0.000 0.000 airbase.py:26(status_string)
  89. 12 0.000 0.000 0.000 0.000 ship.py:62(status_string)
  90. 30 0.000 0.000 0.000 0.000 radar.py:9(__init__)
  91. 8 0.000 0.000 0.000 0.000 {built-in method _locale._getdefaultlocale}
  92. 21 0.000 0.000 0.000 0.000 cp1252.py:22(decode)
  93. 26 0.000 0.000 0.000 0.000 airbase.py:8(__init__)
  94. 10 0.000 0.000 0.000 0.000 sam.py:50(status_string)
  95. 4 0.000 0.000 0.000 0.000 aegis_ashore.py:58(status_string)
  96. 5 0.000 0.000 0.001 0.000 interceptor_system.py:105(finish_reload)
  97. 1 0.000 0.000 433.595 433.595 {built-in method builtins.exec}
  98. 16 0.000 0.000 0.000 0.000 port.py:24(status_string)
  99. 2 0.000 0.000 0.000 0.000 aegis_ashore.py:10(__init__)
  100. 6 0.000 0.000 0.000 0.000 ship.py:12(__init__)
  101. 8 0.000 0.000 0.000 0.000 _bootlocale.py:11(getpreferredencoding)
  102. 5 0.000 0.000 0.000 0.000 sam.py:12(__init__)
  103. 5 0.000 0.000 0.001 0.000 interceptor_system.py:70(<lambda>)
  104. 8 0.000 0.000 0.000 0.000 port.py:8(__init__)
  105. 1 0.000 0.000 0.000 0.000 simulation.py:15(__init__)
  106. 4 0.000 0.000 0.000 0.000 {built-in method builtins.round}
  107. 8 0.000 0.000 0.000 0.000 codecs.py:259(__init__)
  108. 21 0.000 0.000 0.000 0.000 codecs.py:280(getstate)
  109. 1 0.000 0.000 433.595 433.595 <string>:1(<module>)
  110. 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement