(self, stdev=False)
| 285 | self.durations[run] = duration |
| 286 | |
| 287 | def prepare(self, stdev=False): |
| 288 | if len(self.durations) > 1: |
| 289 | self.mean_duration = statistics.mean(self.durations) |
| 290 | self.mean_count = statistics.mean(self.counts) |
| 291 | if stdev: |
| 292 | self.stdev_duration = statistics.stdev(self.durations) |
| 293 | self.stdev_count = statistics.stdev(self.counts) |
| 294 | |
| 295 | def as_list(self): |
| 296 | l = [self.name] |
no test coverage detected