Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a sortable output mode #2

Closed
Freaky opened this issue Apr 29, 2018 · 2 comments
Closed

Add a sortable output mode #2

Freaky opened this issue Apr 29, 2018 · 2 comments
Assignees

Comments

@Freaky
Copy link
Owner

Freaky commented Apr 29, 2018

It should be possible to filter output through sort and get reasonable results, in order to find the lines that took longest to appear. Ideally this mode will be selected automatically if stdout/stderr isn't a tty.

tcpdump -ttt probably has the right idea: hh:mm:ss.μsμsμs.

A more general approach to formatting would be nice, but beyond the specific scope of this issue.

@Freaky Freaky self-assigned this Apr 29, 2018
Freaky added a commit that referenced this issue May 4, 2018
@Freaky Freaky closed this as completed in 1929cee May 5, 2018
@Freaky
Copy link
Owner Author

Freaky commented May 6, 2018

Reopen this, since it still needs work.

@Freaky Freaky reopened this May 6, 2018
Freaky added a commit that referenced this issue May 6, 2018
Needed for #2 - sortable output.
@Freaky
Copy link
Owner Author

Freaky commented May 14, 2018

Eh, it's close enough.

The exit line could do with a line duration, but that's both awkward with the current implementation and has indeterminate semantics since stdout and stderr have separate timers and exit's not really tied to either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant