diff options
author | Adam Scarr <adam@vektah.net> | 2017-08-13 19:27:41 +1000 |
---|---|---|
committer | Adam Scarr <adam@vektah.net> | 2017-08-13 19:27:41 +1000 |
commit | a4677a5834210c85e050de6dad13911a85297499 (patch) | |
tree | 0e0802a75478a10b4765fced5eb8c5ddd92183cc /scripts/cpuprofile.sh | |
parent | 5716ddb5e7ca3cb4ee445bdd4958c37aeb033baa (diff) |
Clean up autows
Diffstat (limited to 'scripts/cpuprofile.sh')
-rw-r--r-- | scripts/cpuprofile.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cpuprofile.sh b/scripts/cpuprofile.sh new file mode 100644 index 0000000..2f6f18b --- /dev/null +++ b/scripts/cpuprofile.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -eu + +go build ./json/profile/json.go +./json.exe -cpuprofile cpu.out +go tool pprof json.exe cpu.out |