HomePhabricator

Format duration in step_success message to be human readable

Authored by Sashank Thupukari <s@thupukari.com> on Jul 25 2019, 5:07 PM.

Description

Format duration in step_success message to be human readable

Summary: In the step_success message, instead of displaying just milliseconds, display a human readable duration string such as 533ms, 2.1s, 4m52s, 34m12s, 1h4m

Test Plan: pytest -k test_format_duration

Reviewers: #ft, schrockn

Reviewed By: #ft, schrockn

Subscribers: schrockn

Differential Revision: https://dagster.phacility.com/D698

Details

Committed
Sashank Thupukari <s@thupukari.com>Jul 25 2019, 6:28 PM
Reviewer
Restricted Project
Differential Revision
D698: Format duration in step_success message to be human readable
Parents
R1:7201da47280a: [arc] disable black linter
Branches
Unknown
Tags
Unknown