Skip to content

how to metrics and output execution time for each command #1178

Closed
@futurist

Description

It's useful in CI system to output time duration of each command, like below:

shell.exec('command1')
shell.exec('command2')
  • output:
[100ms] exec command1
[120ms] exec command2

Is there any hooks or configs for this purpose?

Metadata

Assignees

No one assigned

    Labels

    questionQuestion from a user (which may not require code/documentation changes to the project)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions