mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 14:24:16 +02:00
removing profiling code
This commit is contained in:
@@ -296,7 +296,6 @@ class GenericApplicationManager(ApplicationManager):
|
|||||||
suggestions.extend(man.list_suggestions(6))
|
suggestions.extend(man.list_suggestions(6))
|
||||||
|
|
||||||
def list_suggestions(self, limit: int) -> List[Application]:
|
def list_suggestions(self, limit: int) -> List[Application]:
|
||||||
ti = time.time()
|
|
||||||
if self.managers:
|
if self.managers:
|
||||||
suggestions, threads = [], []
|
suggestions, threads = [], []
|
||||||
for man in self.managers:
|
for man in self.managers:
|
||||||
@@ -307,6 +306,4 @@ class GenericApplicationManager(ApplicationManager):
|
|||||||
for t in threads:
|
for t in threads:
|
||||||
t.join()
|
t.join()
|
||||||
|
|
||||||
tf = time.time() - ti
|
|
||||||
print(tf)
|
|
||||||
return suggestions
|
return suggestions
|
||||||
|
|||||||
Reference in New Issue
Block a user