Skip to content

Instantly share code, notes, and snippets.

@canimus
Created February 14, 2021 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canimus/b0698bf7964a52dd13f35d39ef483ab6 to your computer and use it in GitHub Desktop.
Save canimus/b0698bf7964a52dd13f35d39ef483ab6 to your computer and use it in GitHub Desktop.
Feature waste
rg ".*I wait for (\d+) secon.*$" -N -r '$1' | rg "\d+" | awk -F: '{s[$1]+=$2}END{for (i in s) print i,s[i]}' | sort -n -k2 | awk '{s+=$2}END{print s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment