summaryrefslogtreecommitdiff
path: root/json/profile/cpuprofile.bat
diff options
context:
space:
mode:
Diffstat (limited to 'json/profile/cpuprofile.bat')
-rw-r--r--json/profile/cpuprofile.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/json/profile/cpuprofile.bat b/json/profile/cpuprofile.bat
new file mode 100644
index 0000000..2899eb3
--- /dev/null
+++ b/json/profile/cpuprofile.bat
@@ -0,0 +1,3 @@
+go build
+profile.exe -cpuprofile cpu.out
+go tool pprof --inuse_objects profile.exe cpu.out