MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _summary

Method _summary

examples/performance/__init__.py:423–433  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

421 self.report_stats()
422
423 def _summary(self):
424 summary = "%s : %s (%d iterations)" % (
425 self.test.__name__,
426 self.test.__doc__,
427 self.profile.num,
428 )
429 if self.total_time:
430 summary += "; total time %f sec" % self.total_time
431 if self.stats:
432 summary += "; total fn calls %d" % self.stats.total_calls
433 return summary
434
435 def report_stats(self):
436 if self.profile.dump:

Callers 1

reportMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected