Merge lp://qastaging/~pfalcon/linaro-android-build-tools/detailed-build-stats into lp://qastaging/linaro-android-build-tools

Proposed by Paul Sokolovsky
Status: Merged
Merged at revision: 412
Proposed branch: lp://qastaging/~pfalcon/linaro-android-build-tools/detailed-build-stats
Merge into: lp://qastaging/linaro-android-build-tools
Diff against target: 0 lines
To merge this branch: bzr merge lp://qastaging/~pfalcon/linaro-android-build-tools/detailed-build-stats
Reviewer Review Type Date Requested Status
Georgy Redkozubov Approve
Linaro Infrastructure Pending
Review via email: mp+92945@code.qastaging.launchpad.net

Description of the change

This captures a tool used to collect data to produce graphs at https://wiki.linaro.org/Platform/Android/SeededBuilds#Benchmarks_and_Statistics .

To post a comment you must log in.
Revision history for this message
Georgy Redkozubov (gesha) wrote :

Looks good.
Two things to mention.
1) By default 'time' command returns elapsed time in format of "minutes"m"seconds.milliseconds"s so you don't need to do a conversion to milliseconds for 'datetime.timedelta' parameter in parse_time_time function, just pass int(m.group(3))
2) Debug print command can be removed

review: Approve
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

1) I guess, you meant float() there. I just wasn't sure if timedelta() constructors accepts floats at all and if does proper normalization (vs just rounding). But it turns out that docs explicitly say yes to both, so simplified.
2) Fixed.

Thanks.

403. By Paul Sokolovsky

Remove debug print.

404. By Paul Sokolovsky

Simplify timedelta parsing.

Preview Diff

Empty

Subscribers

People subscribed via source and target branches