Advertisement
Guest User

Untitled

a guest
May 26th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.08 KB | None | 0 0
  1. 628356787 function calls (628162288 primitive calls) in 747.213 seconds
  2.  
  3. Ordered by: internal time
  4.  
  5. ncalls tottime percall cumtime percall filename:lineno(function)
  6. 625762426 395.926 0.000 395.926 0.000 circuit.py:286(__lt__)
  7. 259964 346.420 0.001 742.363 0.003 circuit.py:381(_find_min)
  8. 32768 1.991 0.000 1.991 0.000 {method 'write' of '_io.TextIOWrapper' objects}
  9. 64400 0.803 0.000 744.876 0.012 circuit.py:423(step)
  10. 194381 0.287 0.000 742.661 0.004 circuit.py:361(min)
  11. 828807/634395 0.252 0.000 0.350 0.000 {built-in method builtins.len}
  12. 65583 0.156 0.000 0.251 0.000 circuit.py:268(__init__)
  13. 65583 0.150 0.000 0.279 0.000 circuit.py:368(pop)
  14. 65554 0.146 0.000 0.385 0.000 circuit.py:163(transition_output)
  15. 1 0.126 0.126 745.100 745.100 circuit.py:456(run)
  16. 65554 0.107 0.000 0.126 0.000 circuit.py:33(output)
  17. 65583 0.101 0.000 0.101 0.000 {method 'pop' of 'list' objects}
  18. 194384 0.098 0.000 0.140 0.000 circuit.py:350(__len__)
  19. 65583 0.095 0.000 0.095 0.000 circuit.py:335(next_object_id)
  20. 65583 0.077 0.000 0.091 0.000 circuit.py:354(append)
  21. 65556 0.063 0.000 0.063 0.000 circuit.py:315(apply)
  22. 65554 0.058 0.000 0.058 0.000 circuit.py:170(<listcomp>)
  23. 65583 0.057 0.000 0.057 0.000 circuit.py:309(is_valid)
  24. 65554 0.055 0.000 0.181 0.000 circuit.py:90(output)
  25. 65554 0.048 0.000 0.085 0.000 circuit.py:172(transition_time)
  26. 1 0.042 0.042 2.063 2.063 circuit.py:549(outputs_to_file)
  27. 4 0.039 0.010 0.040 0.010 <frozen importlib._bootstrap_external>:914(get_data)
  28. 65554 0.037 0.000 0.037 0.000 circuit.py:94(output_time)
  29. 147942 0.035 0.000 0.035 0.000 {method 'append' of 'list' objects}
  30. 1 0.027 0.027 0.031 0.031 circuit.py:547(<listcomp>)
  31. 16428 0.004 0.000 0.004 0.000 {method 'join' of 'str' objects}
  32. 3 0.002 0.001 0.002 0.001 {method 'sort' of 'list' objects}
  33. 18 0.002 0.000 0.002 0.000 {built-in method nt.stat}
  34. 15/6 0.000 0.000 0.001 0.000 sre_parse.py:475(_parse)
  35. 4 0.000 0.000 0.000 0.000 {built-in method marshal.loads}
  36. 1 0.000 0.000 0.001 0.001 circuit.py:478(from_file)
  37. 38 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
  38. 1 0.000 0.000 0.000 0.000 {built-in method _imp.create_builtin}
  39. 4 0.000 0.000 0.000 0.000 {method 'read' of '_io.FileIO' objects}
  40. 66 0.000 0.000 0.001 0.000 circuit.py:233(add_gate)
  41. 10 0.000 0.000 0.000 0.000 {built-in method builtins.__build_class__}
  42. 14 0.000 0.000 0.000 0.000 sre_compile.py:276(_optimize_charset)
  43. 5 0.000 0.000 0.003 0.001 <frozen importlib._bootstrap>:882(_find_spec)
  44. 25/6 0.000 0.000 0.001 0.000 sre_compile.py:71(_compile)
  45. 66 0.000 0.000 0.000 0.000 circuit.py:108(__init__)
  46. 7 0.000 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:1356(fin
  47. d_spec)
  48. 102 0.000 0.000 0.000 0.000 sre_parse.py:233(__next)
  49. 1 0.000 0.000 0.000 0.000 {built-in method nt.listdir}
  50. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1190(_pa
  51. th_hooks)
  52. 120 0.000 0.000 0.000 0.000 {method 'readline' of '_io.TextIOWrapper' objec
  53. ts}
  54. 4 0.000 0.000 0.041 0.010 <frozen importlib._bootstrap_external>:793(get_
  55. code)
  56. 31/12 0.000 0.000 0.000 0.000 sre_parse.py:174(getwidth)
  57. 123 0.000 0.000 0.000 0.000 sre_parse.py:164(__getitem__)
  58. 1 0.000 0.000 747.213 747.213 circuit.py:3(<module>)
  59. 13/6 0.000 0.000 0.001 0.000 sre_parse.py:417(_parse_sub)
  60. 5/1 0.000 0.000 0.048 0.048 <frozen importlib._bootstrap>:978(_find_and_loa
  61. d)
  62. 78 0.000 0.000 0.000 0.000 circuit.py:122(connect_input)
  63. 6 0.000 0.000 0.003 0.000 re.py:271(_compile)
  64. 120 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
  65. 1 0.000 0.000 0.001 0.001 encoder.py:2(<module>)
  66. 36 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:58(<list
  67. comp>)
  68. 7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:157(_get_module_l
  69. ock)
  70. 36 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:56(_path
  71. _join)
  72. 8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:271(cach
  73. e_from_source)
  74. 6 0.000 0.000 0.002 0.000 sre_compile.py:759(compile)
  75. 188 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
  76. 28 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
  77. 71 0.000 0.000 0.000 0.000 sre_parse.py:254(get)
  78. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:504(_init_module_
  79. attrs)
  80. 6 0.000 0.000 0.000 0.000 sre_compile.py:536(_compile_info)
  81. 5/1 0.000 0.000 0.047 0.047 <frozen importlib._bootstrap>:663(_load_unlocke
  82. d)
  83. 8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:62(_path
  84. _split)
  85. 7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:78(acquire)
  86. 4 0.000 0.000 0.000 0.000 sre_compile.py:413(<listcomp>)
  87. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:438(_cla
  88. ssify_pyc)
  89. 6 0.000 0.000 0.001 0.000 sre_parse.py:919(parse)
  90. 10 0.000 0.000 0.000 0.000 {built-in method _thread.allocate_lock}
  91. 14 0.000 0.000 0.000 0.000 sre_compile.py:249(_compile_charset)
  92. 1 0.000 0.000 0.000 0.000 {built-in method _codecs.charmap_decode}
  93. 28 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
  94. 5/1 0.000 0.000 0.048 0.048 <frozen importlib._bootstrap>:948(_find_and_loa
  95. d_unlocked)
  96. 71 0.000 0.000 0.000 0.000 sre_parse.py:249(match)
  97. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1404(_fi
  98. ll_cache)
  99. 16 0.000 0.000 0.000 0.000 sre_parse.py:295(_class_escape)
  100. 1 0.000 0.000 0.013 0.013 decoder.py:2(<module>)
  101. 2 0.000 0.000 0.000 0.000 enum.py:872(_decompose)
  102. 48 0.000 0.000 0.000 0.000 {method 'find' of 'bytearray' objects}
  103. 59 0.000 0.000 0.000 0.000 {built-in method builtins.min}
  104. 4 0.000 0.000 0.002 0.001 <frozen importlib._bootstrap_external>:1240(_ge
  105. t_spec)
  106. 29 0.000 0.000 0.000 0.000 circuit.py:415(add_transition)
  107. 1 0.000 0.000 0.036 0.036 __init__.py:97(<module>)
  108. 16 0.000 0.000 0.000 0.000 circuit.py:214(add_gate_type)
  109. 7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:103(release)
  110. 37 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:222(_verbose_mess
  111. age)
  112. 25 0.000 0.000 0.000 0.000 sre_parse.py:172(append)
  113. 20 0.000 0.000 0.000 0.000 enum.py:526(__new__)
  114. 38 0.000 0.000 0.000 0.000 sre_parse.py:286(tell)
  115. 66 0.000 0.000 0.000 0.000 circuit.py:117(<listcomp>)
  116. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:523(_com
  117. pile_bytecode)
  118. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:574(spec
  119. _from_file_location)
  120. 4/1 0.000 0.000 0.047 0.047 <frozen importlib._bootstrap_external>:722(exec
  121. _module)
  122. 28 0.000 0.000 0.000 0.000 types.py:164(__get__)
  123. 20 0.000 0.000 0.000 0.000 enum.py:284(__call__)
  124. 8/5 0.000 0.000 0.000 0.000 sre_compile.py:461(_get_literal_prefix)
  125. 9 0.000 0.000 0.000 0.000 sre_parse.py:408(_uniq)
  126. 52 0.000 0.000 0.000 0.000 sre_parse.py:160(__len__)
  127. 18 0.000 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:74(_path
  128. _stat)
  129. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:318(__exit__)
  130. 26 0.000 0.000 0.000 0.000 sre_parse.py:111(__init__)
  131. 4 0.000 0.000 0.000 0.000 enum.py:830(__or__)
  132. 6 0.000 0.000 0.000 0.000 enum.py:836(__and__)
  133. 5 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:576(module_from_s
  134. pec)
  135. 4 0.000 0.000 0.000 0.000 sre_compile.py:411(_mk_bitmap)
  136. 7 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:84(_path
  137. _is_mode_type)
  138. 2 0.000 0.000 0.000 0.000 enum.py:890(<listcomp>)
  139. 2 0.000 0.000 0.000 0.000 enum.py:800(_create_pseudo_member_)
  140. 80 0.000 0.000 0.000 0.000 {method 'rstrip' of 'str' objects}
  141. 6 0.000 0.000 0.000 0.000 sre_parse.py:224(__init__)
  142. 5/1 0.000 0.000 747.213 747.213 {built-in method builtins.exec}
  143. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:369(_get
  144. _cached)
  145. 27 0.000 0.000 0.000 0.000 {method 'rpartition' of 'str' objects}
  146. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:58(__init__)
  147. 8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1203(_pa
  148. th_importer_cache)
  149. 6 0.000 0.000 0.001 0.000 sre_compile.py:598(_code)
  150. 1 0.000 0.000 0.000 0.000 decoder.py:284(__init__)
  151. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1351(_ge
  152. t_spec)
  153. 38 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
  154. 12 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:51(_r_lo
  155. ng)
  156. 4 0.000 0.000 0.000 0.000 sre_parse.py:258(getwhile)
  157. 6 0.000 0.000 0.000 0.000 {built-in method _sre.compile}
  158. 7/1 0.000 0.000 0.036 0.036 <frozen importlib._bootstrap>:211(_call_with_fr
  159. ames_removed)
  160. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1319(__i
  161. nit__)
  162. 5 0.000 0.000 0.000 0.000 sre_compile.py:492(_get_charset_prefix)
  163. 16 0.000 0.000 0.000 0.000 circuit.py:71(__init__)
  164. 34 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
  165. 1 0.000 0.000 0.002 0.002 scanner.py:2(<module>)
  166. 2 0.000 0.000 0.000 0.000 os.py:673(__getitem__)
  167. 12 0.000 0.000 0.000 0.000 {built-in method from_bytes}
  168. 1 0.000 0.000 0.000 0.000 {built-in method builtins.sorted}
  169. 6 0.000 0.000 0.000 0.000 sre_parse.py:84(opengroup)
  170. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:176(cb)
  171. 8/7 0.000 0.000 0.012 0.002 <frozen importlib._bootstrap>:1009(_handle_from
  172. list)
  173. 9 0.000 0.000 0.000 0.000 sre_compile.py:423(_simple)
  174. 8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:403(cached)
  175. 8 0.000 0.000 0.000 0.000 {method 'rsplit' of 'str' objects}
  176. 24 0.000 0.000 0.000 0.000 sre_parse.py:81(groups)
  177. 7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:416(parent)
  178. 5 0.000 0.000 0.000 0.000 {built-in method builtins.any}
  179. 32 0.000 0.000 0.000 0.000 {built-in method builtins.chr}
  180. 13 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:859(__exit__)
  181. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:471(_val
  182. idate_timestamp_pyc)
  183. 25 0.000 0.000 0.000 0.000 {built-in method _imp.acquire_lock}
  184. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:35(_new_module)
  185. 6 0.000 0.000 0.000 0.000 sre_parse.py:76(__init__)
  186. 7/3 0.000 0.000 0.000 0.000 circuit.py:42(_build_table)
  187. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:147(__enter__)
  188. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:951(path
  189. _stats)
  190. 6 0.000 0.000 0.000 0.000 sre_parse.py:903(fix_flags)
  191. 12 0.000 0.000 0.000 0.000 {method 'extend' of 'list' objects}
  192. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:369(__init__)
  193. 12 0.000 0.000 0.000 0.000 sre_compile.py:65(_combine_flags)
  194. 12 0.000 0.000 0.000 0.000 sre_compile.py:595(isstring)
  195. 3 0.000 0.000 0.000 0.000 circuit.py:60(_table_depth)
  196. 3 0.000 0.000 0.000 0.000 circuit.py:495(<listcomp>)
  197. 13 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:855(__enter__)
  198. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:401(_che
  199. ck_name_wrapper)
  200. 10 0.000 0.000 0.000 0.000 sre_parse.py:168(__setitem__)
  201. 6 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:93(_path
  202. _isfile)
  203. 3 0.000 0.000 0.000 0.000 circuit.py:18(__init__)
  204. 12 0.000 0.000 0.000 0.000 {built-in method nt.fspath}
  205. 2 0.000 0.000 0.000 0.000 {built-in method _imp.is_builtin}
  206. 7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:36(_rela
  207. x_case)
  208. 4 0.000 0.000 0.002 0.001 <frozen importlib._bootstrap_external>:1272(fin
  209. d_spec)
  210. 2 0.000 0.000 0.000 0.000 _collections_abc.py:657(get)
  211. 4 0.000 0.000 0.000 0.000 sre_parse.py:343(_escape)
  212. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:311(__enter__)
  213. 2 0.000 0.000 0.000 0.000 os.py:743(encodekey)
  214. 25 0.000 0.000 0.000 0.000 {built-in method _imp.release_lock}
  215. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:151(__exit__)
  216. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:719(find_spec)
  217. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:884(__in
  218. it__)
  219. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:143(__init__)
  220. 20 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:321(<genexpr>)
  221. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1445(pat
  222. h_hook_for_FileFinder)
  223. 5 0.000 0.000 0.000 0.000 enum.py:907(_power_of_two)
  224. 1 0.000 0.000 0.000 0.000 circuit.py:395(Simulation)
  225. 4 0.000 0.000 0.000 0.000 {built-in method _imp._fix_co_filename}
  226. 2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:194(_lock_unlock_
  227. module)
  228. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:307(__init__)
  229. 23 0.000 0.000 0.000 0.000 enum.py:623(name)
  230. 6 0.000 0.000 0.003 0.000 re.py:232(compile)
  231. 3 0.000 0.000 0.000 0.000 circuit.py:200(add_truth_table)
  232. 14 0.000 0.000 0.000 0.000 {built-in method _thread.get_ident}
  233. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:792(find_spec)
  234. 1 0.000 0.000 0.000 0.000 cp1251.py:22(decode)
  235. 1 0.000 0.000 0.000 0.000 circuit.py:265(Transition)
  236. 4 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
  237. 1 0.000 0.000 0.012 0.012 {built-in method builtins.__import__}
  238. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:433(spec_from_loa
  239. der)
  240. 2 0.000 0.000 0.000 0.000 enum.py:793(_missing_)
  241. 13 0.000 0.000 0.000 0.000 sre_compile.py:453(_get_iscased)
  242. 6 0.000 0.000 0.000 0.000 sre_parse.py:96(closegroup)
  243. 4 0.000 0.000 0.000 0.000 {method 'translate' of 'bytearray' objects}
  244. 4 0.000 0.000 0.000 0.000 {built-in method _imp.is_frozen}
  245. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1433(<se
  246. tcomp>)
  247. 3 0.000 0.000 0.000 0.000 enum.py:855(_high_bit)
  248. 1 0.000 0.000 0.000 0.000 circuit.py:105(Gate)
  249. 3 0.000 0.000 0.000 0.000 {built-in method builtins.setattr}
  250. 1 0.000 0.000 0.000 0.000 circuit.py:187(Circuit)
  251. 1 0.000 0.000 0.000 0.000 encoder.py:73(JSONEncoder)
  252. 6 0.000 0.000 0.000 0.000 {method 'partition' of 'str' objects}
  253. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:232(_requires_bui
  254. ltin_wrapper)
  255. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:740(create_module
  256. )
  257. 2 0.000 0.000 0.000 0.000 os.py:737(check_str)
  258. 1 0.000 0.000 0.000 0.000 circuit.py:398(__init__)
  259. 1 0.000 0.000 0.000 0.000 encoder.py:104(__init__)
  260. 6 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
  261. 2 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
  262. 8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1325(<ge
  263. nexpr>)
  264. 1 0.000 0.000 0.000 0.000 circuit.py:15(TruthTable)
  265. 1 0.000 0.000 0.000 0.000 circuit.py:343(PriorityQueue)
  266. 1 0.000 0.000 0.000 0.000 decoder.py:254(JSONDecoder)
  267. 1 0.000 0.000 0.000 0.000 {built-in method nt.getcwd}
  268. 2 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x62
  269. 791320}
  270. 1 0.000 0.000 0.031 0.031 circuit.py:546(outputs_to_line_list)
  271. 11 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
  272. 17 0.000 0.000 0.000 0.000 {built-in method builtins.ord}
  273. 5 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:424(has_location)
  274.  
  275. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:748(exec_module)
  276. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:98(_path
  277. _isdir)
  278. 1 0.000 0.000 0.000 0.000 circuit.py:68(GateType)
  279. 1 0.000 0.000 0.000 0.000 circuit.py:194(__init__)
  280. 8 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
  281. 4 0.000 0.000 0.000 0.000 {built-in method builtins.max}
  282. 1 0.000 0.000 0.000 0.000 circuit.py:254(add_probe)
  283. 1 0.000 0.000 0.000 0.000 decoder.py:20(JSONDecodeError)
  284. 3 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
  285. 2 0.000 0.000 0.000 0.000 {method 'upper' of 'str' objects}
  286. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:719(crea
  287. te_module)
  288. 4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:909(get_
  289. filename)
  290. 5 0.000 0.000 0.000 0.000 enum.py:628(value)
  291. 1 0.000 0.000 0.000 0.000 circuit.py:345(__init__)
  292. 1 0.000 0.000 0.000 0.000 {built-in method _imp.exec_builtin}
  293. 5 0.000 0.000 0.000 0.000 enum.py:901(<lambda>)
  294. 1 0.000 0.000 0.000 0.000 {method 'insert' of 'list' objects}
  295. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:765(is_package)
  296. 1 0.000 0.000 0.000 0.000 codecs.py:281(getstate)
  297. 1 0.000 0.000 0.000 0.000 circuit.py:135(probe)
  298. 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