log time required to start to investigate the problem

This commit is contained in:
Arseniy Fomchenko 2017-04-11 17:20:20 +03:00
parent bdabb70008
commit f18f3e9a48
2 changed files with 3 additions and 3 deletions

View File

@ -281,7 +281,10 @@ class TankCore(object):
self.publish("core", "stage", "start")
for plugin in self.plugins.values():
logger.debug("Starting %s", plugin)
start_time = time.time()
plugin.start_test()
logger.info("Plugin {0:s} required {1:d} seconds to start".format(plugin,
time.time()-start_time))
if self.flush_config_to:
self.config.flush(self.flush_config_to)

View File

@ -592,6 +592,3 @@ class OverloadClient(APIClient):
def unlock_target(self, *args, **kwargs):
return
def unlock_target(self, *args, **kwargs):
return