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