Skip to content

(Verbose mode) update execution time color depending on the returned time #680

@fraxken

Description

@fraxken
Image

Current execution time is always blue, the idea is to introduce a palette of colors:

  • 1s or lower: green
  • 1s to 5s: blue
  • 5s to 30s: orange
  • 30s or higher: red

Like that it would be simpler to spot slow operations

Original commit that setup verbose log here: 1d4e04f

The file to be updated is ./src/commands/scanner.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    newcomerGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions