Created
April 12, 2021 13:57
-
-
Save sitano/13e7ffcbed2aea9d7fde53c3239f6658 to your computer and use it in GitHub Desktop.
extract total build times per file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for name in $(fd '.*.json$' build/dev/); do cat $name | rg -o 'Total ExecuteCompiler.{50}' | rg -o 'ms":[0-9]*' | tr -d 'ms":' | awk "{print \$1 \" \" \"$name\"}"; done | sort -h > /tmp/dev_$(git rev-parse HEAD)_master.build_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment