@desmos/tuptimes

1.0.3 • Public • Published

tuptimes

Parse tup logs and augment them with timing statistics

Usage

tup | tuptimes

Group commands for getting timing subtotals using a .tuptimesrc file like:

{
  "groups": [
    {
      "name": "tsc",
      "pattern": "tsc"
    },
    {
      "name": "extract strings",
      "pattern": "extract-translation-strings"
    }
  ]
}

Where name is a display name, and pattern is a regular expression executed on the command line string that appears in the tup log.

Example output:

Tup build finished
Total time: 967.3229999999992s (754 commands)
  ‣extract strings: 3.477s (1 commands)
  ‣tsc: 431.3720000000002s (257 commands)
  ‣uncategorized: 532.4740000000004s (496 commands)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @desmos/tuptimes

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

18.2 kB

Total Files

15

Last publish

Collaborators

  • chrisdesmos
  • timstallmann
  • nschulzke-amplify
  • anandthakker