~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to generate_perfscale_results.py

Touch up and tests for logbreakdown

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
    strf_format = '%F %H:%M:%S'
44
44
 
 
45
    # Log breakdown uses the start/end too. Perhaps have a property for string
 
46
    # rep and a ds for the datetime.
45
47
    def __init__(self, start, end):
46
48
        self.start = start.strftime(self.strf_format)
47
49
        self.end = end.strftime(self.strf_format)