paypal/gnomon

Hide Insignificant Times

deckar01 opened this issue · 0 comments

It would be nice to have a flag that prevents the output of insignificant times.

Docs:

--low=seconds
-l seconds

  Lower threshold. Works just like quiet, but only hides timestamps that are
  lower than this value in seconds.

Example:

> ./test.sh | gnomon
   0.0072s █ Building javascript bundles...
   2.2550s █  * Bundling eiLib.js...
   4.2045s █  * Bundling qq.entry.js...
   0.0023s █ Done!
           █ 
     Total █ 6.4696s
> ./test.sh | gnomon --low=0.05
           █ Building javascript bundles...
   2.2550s █  * Bundling eiLib.js...
   4.2045s █  * Bundling qq.entry.js...
           █ Done!
           █ 
     Total █ 6.4696s