Advertisement
Guest User

Untitled

a guest
Oct 8th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.88 KB | None | 0 0
  1.  
  2.  
  3. 2016/10/09 00:36:41: Profiling write content_updates
  4. 2016/10/09 00:37:08: Stats
  5.  
  6. 1241 function calls in 26.702 seconds
  7.  
  8. Ordered by: internal time
  9.  
  10. ncalls tottime percall cumtime percall filename:lineno(function)
  11. 147 26.282 0.179 26.282 0.179 {method 'execute' of 'sqlite3.Cursor' objects}
  12. 1 0.308 0.308 0.308 0.308 ClientDB.py:8219(<setcomp>)
  13. 42 0.106 0.003 0.106 0.003 {method 'executemany' of 'sqlite3.Cursor' objects}
  14. 24 0.001 0.000 0.015 0.001 ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds)
  15. 1 0.001 0.001 26.291 26.291 ClientDB.py:8168(_UpdateMappings)
  16. 36 0.001 0.000 0.001 0.000 {method 'sub' of '_sre.SRE_Pattern' objects}
  17. 1 0.000 0.000 26.700 26.700 ClientDB.py:5615(_ProcessContentUpdates)
  18. 51 0.000 0.000 0.000 0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
  19. 27 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects}
  20. 2 0.000 0.000 0.045 0.023 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  21. 1 0.000 0.000 0.000 0.000 ClientDB.py:8220(<setcomp>)
  22. 12 0.000 0.000 0.148 0.012 ClientDB.py:2970(_GetHashIds)
  23. 12 0.000 0.000 0.261 0.022 ClientDB.py:4132(_GetNamespaceIdTagId)
  24. 12 0.000 0.000 0.001 0.000 HydrusTags.py:150(CleanTag)
  25. 3 0.000 0.000 0.000 0.000 _core.py:8421(GetApp)
  26. 48 0.000 0.000 0.000 0.000 re.py:230(_compile)
  27. 12 0.000 0.000 0.000 0.000 {binascii.b2a_hex}
  28. 12 0.000 0.000 0.008 0.001 HydrusDB.py:715(__enter__)
  29. 12 0.000 0.000 0.000 0.000 HydrusDB.py:706(__init__)
  30. 12 0.000 0.000 0.000 0.000 {method 'match' of '_sre.SRE_Pattern' objects}
  31. 12 0.000 0.000 0.000 0.000 {method 'encode' of 'str' objects}
  32. 26 0.000 0.000 0.000 0.000 ClientDB.py:1014(GenerateSpecificMappingsCacheTableNames)
  33. 12 0.000 0.000 0.006 0.000 HydrusDB.py:724(__exit__)
  34. 12 0.000 0.000 0.000 0.000 {nt.urandom}
  35. 1 0.000 0.000 0.000 0.000 ClientDB.py:8357(<setcomp>)
  36. 27 0.000 0.000 0.000 0.000 HydrusData.py:945(SplayListForDB)
  37. 36 0.000 0.000 0.001 0.000 re.py:148(sub)
  38. 12 0.000 0.000 0.000 0.000 HydrusTags.py:135(CheckTagNotEmpty)
  39. 1 0.000 0.000 26.702 26.702 HydrusDB.py:451(_ProcessJob)
  40. 12 0.000 0.000 0.000 0.000 hex_codec.py:13(hex_encode)
  41. 12 0.000 0.000 0.000 0.000 HydrusData.py:1028(ToUnicode)
  42. 24 0.000 0.000 0.000 0.000 {method 'replace' of 'unicode' objects}
  43. 31 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
  44. 3 0.000 0.000 0.000 0.000 _core.py:16750(CallAfter)
  45. 2 0.000 0.000 0.000 0.000 collections.py:458(__init__)
  46. 1 0.000 0.000 0.073 0.073 ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate)
  47. 24 0.000 0.000 0.000 0.000 {isinstance}
  48. 80 0.000 0.000 0.000 0.000 HydrusData.py:945(<genexpr>)
  49. 16 0.000 0.000 0.000 0.000 {method 'difference' of 'set' objects}
  50. 24 0.000 0.000 0.000 0.000 HydrusDB.py:317(_GetRowCount)
  51. 68 0.000 0.000 0.000 0.000 {len}
  52. 3 0.000 0.000 0.000 0.000 {wx._core_.PostEvent}
  53. 12 0.000 0.000 0.000 0.000 ClientDB.py:8302(<setcomp>)
  54. 12 0.000 0.000 0.000 0.000 {method 'lower' of 'unicode' objects}
  55. 12 0.000 0.000 0.000 0.000 HydrusData.py:1789(ToTuple)
  56. 1 0.000 0.000 0.000 0.000 ClientDB.py:8358(<setcomp>)
  57. 2 0.000 0.000 0.000 0.000 ClientDB.py:4713(_GetServiceIds)
  58. 3 0.000 0.000 0.000 0.000 HydrusPubSub.py:137(pub)
  59. 36 0.000 0.000 0.000 0.000 HydrusDB.py:719(<genexpr>)
  60. 12 0.000 0.000 0.000 0.000 re.py:138(match)
  61. 36 0.000 0.000 0.000 0.000 ClientDB.py:1748(<genexpr>)
  62. 3 0.000 0.000 0.000 0.000 _core.py:7583(__init__)
  63. 1 0.000 0.000 0.000 0.000 threading.py:288(__exit__)
  64. 13 0.000 0.000 0.000 0.000 ClientDB.py:1502(<genexpr>)
  65. 4 0.000 0.000 0.000 0.000 {method 'split' of 'unicode' objects}
  66. 1 0.000 0.000 26.700 26.700 ClientDB.py:8742(_Write)
  67. 24 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
  68. 1 0.000 0.000 0.000 0.000 threading.py:373(notify)
  69. 1 0.000 0.000 26.702 26.702 <string>:1(<module>)
  70. 3 0.000 0.000 0.000 0.000 HydrusController.py:142(pub)
  71. 13 0.000 0.000 0.000 0.000 ClientDB.py:1504(<genexpr>)
  72. 3 0.000 0.000 0.000 0.000 ClientController.py:705(NotifyPubSubs)
  73. 1 0.000 0.000 0.000 0.000 {method 'remove' of 'list' objects}
  74. 13 0.000 0.000 0.000 0.000 ClientDB.py:8349(<genexpr>)
  75. 3 0.000 0.000 0.000 0.000 {wx._core_.GetApp}
  76. 1 0.000 0.000 0.000 0.000 threading.py:576(set)
  77. 1 0.000 0.000 0.000 0.000 ClientDB.py:4699(_GetServiceId)
  78. 13 0.000 0.000 0.000 0.000 ClientDB.py:1506(<genexpr>)
  79. 1 0.000 0.000 0.000 0.000 threading.py:400(notifyAll)
  80. 1 0.000 0.000 0.000 0.000 {method 'update' of 'set' objects}
  81. 2 0.000 0.000 0.000 0.000 collections.py:528(update)
  82. 3 0.000 0.000 0.000 0.000 {wx._core_.new_PyEvent}
  83. 3 0.000 0.000 0.000 0.000 _core.py:4972(SetEventType)
  84. 2 0.000 0.000 0.000 0.000 ClientDB.py:4114(_GetNamespaceId)
  85. 1 0.000 0.000 0.000 0.000 ClientDB.py:8201(<setcomp>)
  86. 1 0.000 0.000 0.000 0.000 ClientDB.py:8198(<setcomp>)
  87. 24 0.000 0.000 0.000 0.000 collections.py:479(__missing__)
  88. 1 0.000 0.000 0.000 0.000 ClientDB.py:4602(_GetService)
  89. 1 0.000 0.000 0.000 0.000 threading.py:285(__enter__)
  90. 3 0.000 0.000 0.000 0.000 _core.py:8403(PostEvent)
  91. 1 0.000 0.000 0.000 0.000 ClientDB.py:1000(GenerateMappingsTableNames)
  92. 3 0.000 0.000 0.000 0.000 {wx._core_.Event_SetEventType}
  93. 1 0.000 0.000 0.000 0.000 threading.py:300(_is_owned)
  94. 3 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
  95. 3 0.000 0.000 0.000 0.000 _core.py:7590(_SetSelf)
  96. 1 0.000 0.000 0.000 0.000 HydrusData.py:1895(PutResult)
  97. 3 0.000 0.000 0.000 0.000 {wx._core_.PyEvent_swiginit}
  98. 3 0.000 0.000 0.000 0.000 {wx._core_.PyEvent__SetSelf}
  99. 13 0.000 0.000 0.000 0.000 ClientDB.py:8216(<genexpr>)
  100. 1 0.000 0.000 0.000 0.000 HydrusData.py:1857(GetCallableTuple)
  101. 2 0.000 0.000 0.000 0.000 {method 'union' of 'set' objects}
  102. 1 0.000 0.000 0.000 0.000 ClientDB.py:8783(pub_content_updates_after_commit)
  103. 2 0.000 0.000 0.000 0.000 {method 'intersection' of 'set' objects}
  104. 3 0.000 0.000 0.000 0.000 HydrusDB.py:528(pub_after_commit)
  105. 1 0.000 0.000 0.000 0.000 ClientDB.py:996(GenerateCombinedFilesMappingsCacheTableName)
  106. 4 0.000 0.000 0.000 0.000 ClientDB.py:8217(<genexpr>)
  107. 3 0.000 0.000 0.000 0.000 {hasattr}
  108. 1 0.000 0.000 0.000 0.000 HydrusData.py:1888(GetType)
  109. 1 0.000 0.000 0.000 0.000 threading.py:64(_note)
  110. 3 0.000 0.000 0.000 0.000 {callable}
  111. 1 0.000 0.000 0.000 0.000 {method '__enter__' of 'thread.lock' objects}
  112. 2 0.000 0.000 0.000 0.000 ClientData.py:1347(GetServiceType)
  113. 1 0.000 0.000 0.000 0.000 {method '__exit__' of 'thread.lock' objects}
  114. 1 0.000 0.000 0.000 0.000 HydrusData.py:1893(IsSynchronous)
  115. 1 0.000 0.000 0.000 0.000 {method 'acquire' of 'thread.lock' objects}
  116. 1 0.000 0.000 0.000 0.000 {method 'release' of 'thread.lock' objects}
  117. 1 0.000 0.000 0.000 0.000 ClientDB.py:8205(<setcomp>)
  118. 1 0.000 0.000 0.000 0.000 ClientDB.py:8348(<genexpr>)
  119. 1 0.000 0.000 0.000 0.000 ClientDB.py:8208(<setcomp>)
  120. 2 0.000 0.000 0.000 0.000 {built-in method from_iterable}
  121. 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
  122.  
  123.  
  124.  
  125. 2016/10/09 00:37:08: Callers
  126.  
  127. Ordered by: internal time
  128.  
  129. Function was called by...
  130. ncalls tottime cumtime
  131. {method 'execute' of 'sqlite3.Cursor' objects} <- 24 0.014 0.014 ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds)
  132. 24 0.020 0.020 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  133. 24 0.148 0.148 ClientDB.py:2970(_GetHashIds)
  134. 2 0.000 0.000 ClientDB.py:4114(_GetNamespaceId)
  135. 24 0.259 0.259 ClientDB.py:4132(_GetNamespaceIdTagId)
  136. 1 0.000 0.000 ClientDB.py:4699(_GetServiceId)
  137. 2 0.000 0.000 ClientDB.py:4713(_GetServiceIds)
  138. 20 25.829 25.829 ClientDB.py:8168(_UpdateMappings)
  139. 2 0.001 0.001 HydrusDB.py:451(_ProcessJob)
  140. 12 0.006 0.006 HydrusDB.py:715(__enter__)
  141. 12 0.006 0.006 HydrusDB.py:724(__exit__)
  142. ClientDB.py:8219(<setcomp>) <- 1 0.308 0.308 ClientDB.py:8168(_UpdateMappings)
  143. {method 'executemany' of 'sqlite3.Cursor' objects} <- 3 0.073 0.073 ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate)
  144. 12 0.010 0.010 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  145. 15 0.022 0.022 ClientDB.py:8168(_UpdateMappings)
  146. 12 0.001 0.001 HydrusDB.py:715(__enter__)
  147. ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds) <- 24 0.001 0.015 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  148. ClientDB.py:8168(_UpdateMappings) <- 1 0.001 26.291 ClientDB.py:5615(_ProcessContentUpdates)
  149. {method 'sub' of '_sre.SRE_Pattern' objects} <- 36 0.001 0.001 re.py:148(sub)
  150. ClientDB.py:5615(_ProcessContentUpdates) <- 1 0.000 26.700 ClientDB.py:8742(_Write)
  151. {method 'fetchone' of 'sqlite3.Cursor' objects} <- 24 0.000 0.000 ClientDB.py:2970(_GetHashIds)
  152. 2 0.000 0.000 ClientDB.py:4114(_GetNamespaceId)
  153. 24 0.000 0.000 ClientDB.py:4132(_GetNamespaceIdTagId)
  154. 1 0.000 0.000 ClientDB.py:4699(_GetServiceId)
  155. {method 'join' of 'str' objects} <- 27 0.000 0.000 HydrusData.py:945(SplayListForDB)
  156. ClientDB.py:1738(_CacheSpecificMappingsPendMappings) <- 2 0.000 0.045 ClientDB.py:8168(_UpdateMappings)
  157. ClientDB.py:8220(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  158. ClientDB.py:2970(_GetHashIds) <- 12 0.000 0.148 ClientDB.py:5615(_ProcessContentUpdates)
  159. ClientDB.py:4132(_GetNamespaceIdTagId) <- 12 0.000 0.261 ClientDB.py:5615(_ProcessContentUpdates)
  160. HydrusTags.py:150(CleanTag) <- 12 0.000 0.001 ClientDB.py:4132(_GetNamespaceIdTagId)
  161. _core.py:8421(GetApp) <- 3 0.000 0.000 _core.py:16750(CallAfter)
  162. re.py:230(_compile) <- 12 0.000 0.000 re.py:138(match)
  163. 36 0.000 0.000 re.py:148(sub)
  164. {binascii.b2a_hex} <- 12 0.000 0.000 hex_codec.py:13(hex_encode)
  165. HydrusDB.py:715(__enter__) <- 12 0.000 0.008 ClientDB.py:8168(_UpdateMappings)
  166. HydrusDB.py:706(__init__) <- 12 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  167. {method 'match' of '_sre.SRE_Pattern' objects} <- 12 0.000 0.000 re.py:138(match)
  168. {method 'encode' of 'str' objects} <- 12 0.000 0.000 HydrusDB.py:706(__init__)
  169. ClientDB.py:1014(GenerateSpecificMappingsCacheTableNames) <- 24 0.000 0.000 ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds)
  170. 2 0.000 0.000 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  171. HydrusDB.py:724(__exit__) <- 12 0.000 0.006 ClientDB.py:8168(_UpdateMappings)
  172. {nt.urandom} <- 12 0.000 0.000 HydrusDB.py:706(__init__)
  173. ClientDB.py:8357(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  174. HydrusData.py:945(SplayListForDB) <- 24 0.000 0.000 ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds)
  175. 2 0.000 0.000 ClientDB.py:4713(_GetServiceIds)
  176. 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  177. re.py:148(sub) <- 36 0.000 0.001 HydrusTags.py:150(CleanTag)
  178. HydrusTags.py:135(CheckTagNotEmpty) <- 12 0.000 0.000 ClientDB.py:4132(_GetNamespaceIdTagId)
  179. HydrusDB.py:451(_ProcessJob) <- 1 0.000 26.702 <string>:1(<module>)
  180. hex_codec.py:13(hex_encode) <- 12 0.000 0.000 {method 'encode' of 'str' objects}
  181. HydrusData.py:1028(ToUnicode) <- 12 0.000 0.000 HydrusTags.py:150(CleanTag)
  182. {method 'replace' of 'unicode' objects} <- 24 0.000 0.000 HydrusTags.py:150(CleanTag)
  183. {method 'append' of 'list' objects} <- 12 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  184. 13 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  185. 3 0.000 0.000 HydrusDB.py:528(pub_after_commit)
  186. 3 0.000 0.000 HydrusPubSub.py:137(pub)
  187. _core.py:16750(CallAfter) <- 3 0.000 0.000 ClientController.py:705(NotifyPubSubs)
  188. collections.py:458(__init__) <- 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  189. ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate) <- 1 0.000 0.073 ClientDB.py:8168(_UpdateMappings)
  190. {isinstance} <- 24 0.000 0.000 HydrusData.py:1028(ToUnicode)
  191. HydrusData.py:945(<genexpr>) <- 80 0.000 0.000 {method 'join' of 'str' objects}
  192. {method 'difference' of 'set' objects} <- 16 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  193. HydrusDB.py:317(_GetRowCount) <- 12 0.000 0.000 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  194. 12 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  195. {len} <- 24 0.000 0.000 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  196. 12 0.000 0.000 ClientDB.py:2970(_GetHashIds)
  197. 6 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  198. 9 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  199. 2 0.000 0.000 collections.py:458(__init__)
  200. 2 0.000 0.000 collections.py:528(update)
  201. 12 0.000 0.000 hex_codec.py:13(hex_encode)
  202. 1 0.000 0.000 threading.py:400(notifyAll)
  203. {wx._core_.PostEvent} <- 3 0.000 0.000 _core.py:8403(PostEvent)
  204. ClientDB.py:8302(<setcomp>) <- 12 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  205. {method 'lower' of 'unicode' objects} <- 12 0.000 0.000 HydrusTags.py:150(CleanTag)
  206. HydrusData.py:1789(ToTuple) <- 12 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  207. ClientDB.py:8358(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  208. ClientDB.py:4713(_GetServiceIds) <- 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  209. HydrusPubSub.py:137(pub) <- 3 0.000 0.000 HydrusController.py:142(pub)
  210. HydrusDB.py:719(<genexpr>) <- 36 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  211. re.py:138(match) <- 12 0.000 0.000 HydrusTags.py:150(CleanTag)
  212. ClientDB.py:1748(<genexpr>) <- 36 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  213. _core.py:7583(__init__) <- 3 0.000 0.000 _core.py:16750(CallAfter)
  214. threading.py:288(__exit__) <- 1 0.000 0.000 threading.py:576(set)
  215. ClientDB.py:1502(<genexpr>) <- 13 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  216. {method 'split' of 'unicode' objects} <- 2 0.000 0.000 ClientDB.py:4132(_GetNamespaceIdTagId)
  217. 2 0.000 0.000 HydrusTags.py:135(CheckTagNotEmpty)
  218. ClientDB.py:8742(_Write) <- 1 0.000 26.700 HydrusDB.py:451(_ProcessJob)
  219. {method 'add' of 'set' objects} <- 24 0.000 0.000 ClientDB.py:2970(_GetHashIds)
  220. threading.py:373(notify) <- 1 0.000 0.000 threading.py:400(notifyAll)
  221. <string>:1(<module>) <-
  222. HydrusController.py:142(pub) <- 3 0.000 0.000 HydrusDB.py:451(_ProcessJob)
  223. ClientDB.py:1504(<genexpr>) <- 13 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  224. ClientController.py:705(NotifyPubSubs) <- 3 0.000 0.000 HydrusPubSub.py:137(pub)
  225. {method 'remove' of 'list' objects} <- 1 0.000 0.000 threading.py:373(notify)
  226. ClientDB.py:8349(<genexpr>) <- 13 0.000 0.000 {method 'update' of 'set' objects}
  227. {wx._core_.GetApp} <- 3 0.000 0.000 _core.py:8421(GetApp)
  228. threading.py:576(set) <- 1 0.000 0.000 HydrusData.py:1895(PutResult)
  229. ClientDB.py:4699(_GetServiceId) <- 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  230. ClientDB.py:1506(<genexpr>) <- 13 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  231. threading.py:400(notifyAll) <- 1 0.000 0.000 threading.py:576(set)
  232. {method 'update' of 'set' objects} <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  233. collections.py:528(update) <- 2 0.000 0.000 collections.py:458(__init__)
  234. {wx._core_.new_PyEvent} <- 3 0.000 0.000 _core.py:7583(__init__)
  235. _core.py:4972(SetEventType) <- 3 0.000 0.000 _core.py:16750(CallAfter)
  236. ClientDB.py:4114(_GetNamespaceId) <- 2 0.000 0.000 ClientDB.py:4132(_GetNamespaceIdTagId)
  237. ClientDB.py:8201(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  238. ClientDB.py:8198(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  239. collections.py:479(__missing__) <- 24 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  240. ClientDB.py:4602(_GetService) <- 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  241. threading.py:285(__enter__) <- 1 0.000 0.000 threading.py:576(set)
  242. _core.py:8403(PostEvent) <- 3 0.000 0.000 _core.py:16750(CallAfter)
  243. ClientDB.py:1000(GenerateMappingsTableNames) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  244. {wx._core_.Event_SetEventType} <- 3 0.000 0.000 _core.py:4972(SetEventType)
  245. threading.py:300(_is_owned) <- 1 0.000 0.000 threading.py:373(notify)
  246. {method 'items' of 'dict' objects} <- 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  247. 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  248. _core.py:7590(_SetSelf) <- 3 0.000 0.000 _core.py:7583(__init__)
  249. HydrusData.py:1895(PutResult) <- 1 0.000 0.000 HydrusDB.py:451(_ProcessJob)
  250. {wx._core_.PyEvent_swiginit} <- 3 0.000 0.000 _core.py:7583(__init__)
  251. {wx._core_.PyEvent__SetSelf} <- 3 0.000 0.000 _core.py:7590(_SetSelf)
  252. ClientDB.py:8216(<genexpr>) <- 13 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  253. HydrusData.py:1857(GetCallableTuple) <- 1 0.000 0.000 HydrusDB.py:451(_ProcessJob)
  254. {method 'union' of 'set' objects} <- 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  255. ClientDB.py:8783(pub_content_updates_after_commit) <- 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  256. {method 'intersection' of 'set' objects} <- 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  257. HydrusDB.py:528(pub_after_commit) <- 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  258. 2 0.000 0.000 ClientDB.py:8783(pub_content_updates_after_commit)
  259. ClientDB.py:996(GenerateCombinedFilesMappingsCacheTableName) <- 1 0.000 0.000 ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate)
  260. ClientDB.py:8217(<genexpr>) <- 4 0.000 0.000 {method 'executemany' of 'sqlite3.Cursor' objects}
  261. {hasattr} <- 3 0.000 0.000 _core.py:16750(CallAfter)
  262. HydrusData.py:1888(GetType) <- 1 0.000 0.000 HydrusDB.py:451(_ProcessJob)
  263. threading.py:64(_note) <- 1 0.000 0.000 threading.py:373(notify)
  264. {callable} <- 3 0.000 0.000 _core.py:16750(CallAfter)
  265. {method '__enter__' of 'thread.lock' objects} <- 1 0.000 0.000 threading.py:285(__enter__)
  266. ClientData.py:1347(GetServiceType) <- 1 0.000 0.000 ClientDB.py:4602(_GetService)
  267. 1 0.000 0.000 ClientDB.py:5615(_ProcessContentUpdates)
  268. {method '__exit__' of 'thread.lock' objects} <- 1 0.000 0.000 threading.py:288(__exit__)
  269. HydrusData.py:1893(IsSynchronous) <- 1 0.000 0.000 HydrusDB.py:451(_ProcessJob)
  270. {method 'acquire' of 'thread.lock' objects} <- 1 0.000 0.000 threading.py:300(_is_owned)
  271. {method 'release' of 'thread.lock' objects} <- 1 0.000 0.000 threading.py:373(notify)
  272. ClientDB.py:8205(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  273. ClientDB.py:8348(<genexpr>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  274. ClientDB.py:8208(<setcomp>) <- 1 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  275. {built-in method from_iterable} <- 2 0.000 0.000 ClientDB.py:8168(_UpdateMappings)
  276. {method 'disable' of '_lsprof.Profiler' objects} <-
  277.  
  278.  
  279.  
  280. 2016/10/09 00:37:08: Callees
  281.  
  282. Ordered by: internal time
  283.  
  284. Function called...
  285. ncalls tottime cumtime
  286. {method 'execute' of 'sqlite3.Cursor' objects} ->
  287. ClientDB.py:8219(<setcomp>) ->
  288. {method 'executemany' of 'sqlite3.Cursor' objects} -> 13 0.000 0.000 ClientDB.py:1502(<genexpr>)
  289. 13 0.000 0.000 ClientDB.py:1504(<genexpr>)
  290. 13 0.000 0.000 ClientDB.py:1506(<genexpr>)
  291. 36 0.000 0.000 ClientDB.py:1748(<genexpr>)
  292. 13 0.000 0.000 ClientDB.py:8216(<genexpr>)
  293. 4 0.000 0.000 ClientDB.py:8217(<genexpr>)
  294. 36 0.000 0.000 HydrusDB.py:719(<genexpr>)
  295. ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds) -> 24 0.000 0.000 ClientDB.py:1014(GenerateSpecificMappingsCacheTableNames)
  296. 24 0.000 0.000 HydrusData.py:945(SplayListForDB)
  297. 24 0.014 0.014 {method 'execute' of 'sqlite3.Cursor' objects}
  298. ClientDB.py:8168(_UpdateMappings) -> 1 0.000 0.000 ClientDB.py:1000(GenerateMappingsTableNames)
  299. 1 0.000 0.073 ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate)
  300. 2 0.000 0.045 ClientDB.py:1738(_CacheSpecificMappingsPendMappings)
  301. 2 0.000 0.000 ClientDB.py:4713(_GetServiceIds)
  302. 1 0.000 0.000 ClientDB.py:8198(<setcomp>)
  303. 1 0.000 0.000 ClientDB.py:8201(<setcomp>)
  304. 1 0.000 0.000 ClientDB.py:8205(<setcomp>)
  305. 1 0.000 0.000 ClientDB.py:8208(<setcomp>)
  306. 1 0.308 0.308 ClientDB.py:8219(<setcomp>)
  307. 1 0.000 0.000 ClientDB.py:8220(<setcomp>)
  308. 12 0.000 0.000 ClientDB.py:8302(<setcomp>)
  309. 1 0.000 0.000 ClientDB.py:8348(<genexpr>)
  310. 1 0.000 0.000 ClientDB.py:8357(<setcomp>)
  311. 1 0.000 0.000 ClientDB.py:8358(<setcomp>)
  312. 12 0.000 0.000 HydrusDB.py:317(_GetRowCount)
  313. 12 0.000 0.000 HydrusDB.py:706(__init__)
  314. 12 0.000 0.008 HydrusDB.py:715(__enter__)
  315. 12 0.000 0.006 HydrusDB.py:724(__exit__)
  316. 1 0.000 0.000 HydrusData.py:945(SplayListForDB)
  317. 2 0.000 0.000 collections.py:458(__init__)
  318. 24 0.000 0.000 collections.py:479(__missing__)
  319. 2 0.000 0.000 {built-in method from_iterable}
  320. 9 0.000 0.000 {len}
  321. 13 0.000 0.000 {method 'append' of 'list' objects}
  322. 16 0.000 0.000 {method 'difference' of 'set' objects}
  323. 20 25.829 25.829 {method 'execute' of 'sqlite3.Cursor' objects}
  324. 15 0.022 0.022 {method 'executemany' of 'sqlite3.Cursor' objects}
  325. 2 0.000 0.000 {method 'intersection' of 'set' objects}
  326. 2 0.000 0.000 {method 'items' of 'dict' objects}
  327. 2 0.000 0.000 {method 'union' of 'set' objects}
  328. 1 0.000 0.000 {method 'update' of 'set' objects}
  329. {method 'sub' of '_sre.SRE_Pattern' objects} ->
  330. ClientDB.py:5615(_ProcessContentUpdates) -> 12 0.000 0.148 ClientDB.py:2970(_GetHashIds)
  331. 12 0.000 0.261 ClientDB.py:4132(_GetNamespaceIdTagId)
  332. 1 0.000 0.000 ClientDB.py:4602(_GetService)
  333. 1 0.000 0.000 ClientDB.py:4699(_GetServiceId)
  334. 1 0.001 26.291 ClientDB.py:8168(_UpdateMappings)
  335. 1 0.000 0.000 ClientDB.py:8783(pub_content_updates_after_commit)
  336. 1 0.000 0.000 ClientData.py:1347(GetServiceType)
  337. 1 0.000 0.000 HydrusDB.py:528(pub_after_commit)
  338. 12 0.000 0.000 HydrusData.py:1789(ToTuple)
  339. 6 0.000 0.000 {len}
  340. 12 0.000 0.000 {method 'append' of 'list' objects}
  341. 1 0.000 0.000 {method 'items' of 'dict' objects}
  342. {method 'fetchone' of 'sqlite3.Cursor' objects} ->
  343. {method 'join' of 'str' objects} -> 80 0.000 0.000 HydrusData.py:945(<genexpr>)
  344. ClientDB.py:1738(_CacheSpecificMappingsPendMappings) -> 2 0.000 0.000 ClientDB.py:1014(GenerateSpecificMappingsCacheTableNames)
  345. 24 0.001 0.015 ClientDB.py:1695(_CacheSpecificMappingsFilterHashIds)
  346. 12 0.000 0.000 HydrusDB.py:317(_GetRowCount)
  347. 24 0.000 0.000 {len}
  348. 24 0.020 0.020 {method 'execute' of 'sqlite3.Cursor' objects}
  349. 12 0.010 0.010 {method 'executemany' of 'sqlite3.Cursor' objects}
  350. ClientDB.py:8220(<setcomp>) ->
  351. ClientDB.py:2970(_GetHashIds) -> 12 0.000 0.000 {len}
  352. 24 0.000 0.000 {method 'add' of 'set' objects}
  353. 24 0.148 0.148 {method 'execute' of 'sqlite3.Cursor' objects}
  354. 24 0.000 0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
  355. ClientDB.py:4132(_GetNamespaceIdTagId) -> 2 0.000 0.000 ClientDB.py:4114(_GetNamespaceId)
  356. 12 0.000 0.000 HydrusTags.py:135(CheckTagNotEmpty)
  357. 12 0.000 0.001 HydrusTags.py:150(CleanTag)
  358. 24 0.259 0.259 {method 'execute' of 'sqlite3.Cursor' objects}
  359. 24 0.000 0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
  360. 2 0.000 0.000 {method 'split' of 'unicode' objects}
  361. HydrusTags.py:150(CleanTag) -> 12 0.000 0.000 HydrusData.py:1028(ToUnicode)
  362. 12 0.000 0.000 re.py:138(match)
  363. 36 0.000 0.001 re.py:148(sub)
  364. 12 0.000 0.000 {method 'lower' of 'unicode' objects}
  365. 24 0.000 0.000 {method 'replace' of 'unicode' objects}
  366. _core.py:8421(GetApp) -> 3 0.000 0.000 {wx._core_.GetApp}
  367. re.py:230(_compile) ->
  368. {binascii.b2a_hex} ->
  369. HydrusDB.py:715(__enter__) -> 12 0.006 0.006 {method 'execute' of 'sqlite3.Cursor' objects}
  370. 12 0.001 0.001 {method 'executemany' of 'sqlite3.Cursor' objects}
  371. HydrusDB.py:706(__init__) -> 12 0.000 0.000 {method 'encode' of 'str' objects}
  372. 12 0.000 0.000 {nt.urandom}
  373. {method 'match' of '_sre.SRE_Pattern' objects} ->
  374. {method 'encode' of 'str' objects} -> 12 0.000 0.000 hex_codec.py:13(hex_encode)
  375. ClientDB.py:1014(GenerateSpecificMappingsCacheTableNames) ->
  376. HydrusDB.py:724(__exit__) -> 12 0.006 0.006 {method 'execute' of 'sqlite3.Cursor' objects}
  377. {nt.urandom} ->
  378. ClientDB.py:8357(<setcomp>) ->
  379. HydrusData.py:945(SplayListForDB) -> 27 0.000 0.000 {method 'join' of 'str' objects}
  380. re.py:148(sub) -> 36 0.000 0.000 re.py:230(_compile)
  381. 36 0.001 0.001 {method 'sub' of '_sre.SRE_Pattern' objects}
  382. HydrusTags.py:135(CheckTagNotEmpty) -> 2 0.000 0.000 {method 'split' of 'unicode' objects}
  383. HydrusDB.py:451(_ProcessJob) -> 1 0.000 26.700 ClientDB.py:8742(_Write)
  384. 3 0.000 0.000 HydrusController.py:142(pub)
  385. 1 0.000 0.000 HydrusData.py:1857(GetCallableTuple)
  386. 1 0.000 0.000 HydrusData.py:1888(GetType)
  387. 1 0.000 0.000 HydrusData.py:1893(IsSynchronous)
  388. 1 0.000 0.000 HydrusData.py:1895(PutResult)
  389. 2 0.001 0.001 {method 'execute' of 'sqlite3.Cursor' objects}
  390. hex_codec.py:13(hex_encode) -> 12 0.000 0.000 {binascii.b2a_hex}
  391. 12 0.000 0.000 {len}
  392. HydrusData.py:1028(ToUnicode) -> 24 0.000 0.000 {isinstance}
  393. {method 'replace' of 'unicode' objects} ->
  394. {method 'append' of 'list' objects} ->
  395. _core.py:16750(CallAfter) -> 3 0.000 0.000 _core.py:4972(SetEventType)
  396. 3 0.000 0.000 _core.py:7583(__init__)
  397. 3 0.000 0.000 _core.py:8403(PostEvent)
  398. 3 0.000 0.000 _core.py:8421(GetApp)
  399. 3 0.000 0.000 {callable}
  400. 3 0.000 0.000 {hasattr}
  401. collections.py:458(__init__) -> 2 0.000 0.000 collections.py:528(update)
  402. 2 0.000 0.000 {len}
  403. ClientDB.py:1498(_CacheCombinedFilesMappingsUpdate) -> 1 0.000 0.000 ClientDB.py:996(GenerateCombinedFilesMappingsCacheTableName)
  404. 3 0.073 0.073 {method 'executemany' of 'sqlite3.Cursor' objects}
  405. {isinstance} ->
  406. HydrusData.py:945(<genexpr>) ->
  407. {method 'difference' of 'set' objects} ->
  408. HydrusDB.py:317(_GetRowCount) ->
  409. {len} ->
  410. {wx._core_.PostEvent} ->
  411. ClientDB.py:8302(<setcomp>) ->
  412. {method 'lower' of 'unicode' objects} ->
  413. HydrusData.py:1789(ToTuple) ->
  414. ClientDB.py:8358(<setcomp>) ->
  415. ClientDB.py:4713(_GetServiceIds) -> 2 0.000 0.000 HydrusData.py:945(SplayListForDB)
  416. 2 0.000 0.000 {method 'execute' of 'sqlite3.Cursor' objects}
  417. HydrusPubSub.py:137(pub) -> 3 0.000 0.000 ClientController.py:705(NotifyPubSubs)
  418. 3 0.000 0.000 {method 'append' of 'list' objects}
  419. HydrusDB.py:719(<genexpr>) ->
  420. re.py:138(match) -> 12 0.000 0.000 re.py:230(_compile)
  421. 12 0.000 0.000 {method 'match' of '_sre.SRE_Pattern' objects}
  422. ClientDB.py:1748(<genexpr>) ->
  423. _core.py:7583(__init__) -> 3 0.000 0.000 _core.py:7590(_SetSelf)
  424. 3 0.000 0.000 {wx._core_.PyEvent_swiginit}
  425. 3 0.000 0.000 {wx._core_.new_PyEvent}
  426. threading.py:288(__exit__) -> 1 0.000 0.000 {method '__exit__' of 'thread.lock' objects}
  427. ClientDB.py:1502(<genexpr>) ->
  428. {method 'split' of 'unicode' objects} ->
  429. ClientDB.py:8742(_Write) -> 1 0.000 26.700 ClientDB.py:5615(_ProcessContentUpdates)
  430. {method 'add' of 'set' objects} ->
  431. threading.py:373(notify) -> 1 0.000 0.000 threading.py:64(_note)
  432. 1 0.000 0.000 threading.py:300(_is_owned)
  433. 1 0.000 0.000 {method 'release' of 'thread.lock' objects}
  434. 1 0.000 0.000 {method 'remove' of 'list' objects}
  435. <string>:1(<module>) -> 1 0.000 26.702 HydrusDB.py:451(_ProcessJob)
  436. HydrusController.py:142(pub) -> 3 0.000 0.000 HydrusPubSub.py:137(pub)
  437. ClientDB.py:1504(<genexpr>) ->
  438. ClientController.py:705(NotifyPubSubs) -> 3 0.000 0.000 _core.py:16750(CallAfter)
  439. {method 'remove' of 'list' objects} ->
  440. ClientDB.py:8349(<genexpr>) ->
  441. {wx._core_.GetApp} ->
  442. threading.py:576(set) -> 1 0.000 0.000 threading.py:285(__enter__)
  443. 1 0.000 0.000 threading.py:288(__exit__)
  444. 1 0.000 0.000 threading.py:400(notifyAll)
  445. ClientDB.py:4699(_GetServiceId) -> 1 0.000 0.000 {method 'execute' of 'sqlite3.Cursor' objects}
  446. 1 0.000 0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
  447. ClientDB.py:1506(<genexpr>) ->
  448. threading.py:400(notifyAll) -> 1 0.000 0.000 threading.py:373(notify)
  449. 1 0.000 0.000 {len}
  450. {method 'update' of 'set' objects} -> 13 0.000 0.000 ClientDB.py:8349(<genexpr>)
  451. collections.py:528(update) -> 2 0.000 0.000 {len}
  452. {wx._core_.new_PyEvent} ->
  453. _core.py:4972(SetEventType) -> 3 0.000 0.000 {wx._core_.Event_SetEventType}
  454. ClientDB.py:4114(_GetNamespaceId) -> 2 0.000 0.000 {method 'execute' of 'sqlite3.Cursor' objects}
  455. 2 0.000 0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
  456. ClientDB.py:8201(<setcomp>) ->
  457. ClientDB.py:8198(<setcomp>) ->
  458. collections.py:479(__missing__) ->
  459. ClientDB.py:4602(_GetService) -> 1 0.000 0.000 ClientData.py:1347(GetServiceType)
  460. threading.py:285(__enter__) -> 1 0.000 0.000 {method '__enter__' of 'thread.lock' objects}
  461. _core.py:8403(PostEvent) -> 3 0.000 0.000 {wx._core_.PostEvent}
  462. ClientDB.py:1000(GenerateMappingsTableNames) ->
  463. {wx._core_.Event_SetEventType} ->
  464. threading.py:300(_is_owned) -> 1 0.000 0.000 {method 'acquire' of 'thread.lock' objects}
  465. {method 'items' of 'dict' objects} ->
  466. _core.py:7590(_SetSelf) -> 3 0.000 0.000 {wx._core_.PyEvent__SetSelf}
  467. HydrusData.py:1895(PutResult) -> 1 0.000 0.000 threading.py:576(set)
  468. {wx._core_.PyEvent_swiginit} ->
  469. {wx._core_.PyEvent__SetSelf} ->
  470. ClientDB.py:8216(<genexpr>) ->
  471. HydrusData.py:1857(GetCallableTuple) ->
  472. {method 'union' of 'set' objects} ->
  473. ClientDB.py:8783(pub_content_updates_after_commit) -> 2 0.000 0.000 HydrusDB.py:528(pub_after_commit)
  474. {method 'intersection' of 'set' objects} ->
  475. HydrusDB.py:528(pub_after_commit) -> 3 0.000 0.000 {method 'append' of 'list' objects}
  476. ClientDB.py:996(GenerateCombinedFilesMappingsCacheTableName) ->
  477. ClientDB.py:8217(<genexpr>) ->
  478. {hasattr} ->
  479. HydrusData.py:1888(GetType) ->
  480. threading.py:64(_note) ->
  481. {callable} ->
  482. {method '__enter__' of 'thread.lock' objects} ->
  483. ClientData.py:1347(GetServiceType) ->
  484. {method '__exit__' of 'thread.lock' objects} ->
  485. HydrusData.py:1893(IsSynchronous) ->
  486. {method 'acquire' of 'thread.lock' objects} ->
  487. {method 'release' of 'thread.lock' objects} ->
  488. ClientDB.py:8205(<setcomp>) ->
  489. ClientDB.py:8348(<genexpr>) ->
  490. ClientDB.py:8208(<setcomp>) ->
  491. {built-in method from_iterable} ->
  492. {method 'disable' of '_lsprof.Profiler' objects} ->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement