Last active
June 9, 2018 04:56
-
-
Save ball6847/8c2afea8168d1f87775036afe3711baf to your computer and use it in GitHub Desktop.
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
go build -gcflags "-m -m" | |
go test -gcflags "-m -m" -run none -bench BenchmarkLiteralFunctions -benchmem -memprofile mem.out | |
go tool pprof -alloc_space memcpu.test mem.out | |
go test -run none -bench . -benchtime 3s -benchmem -memprofile mem.out | |
go test -run none -bench AlgorithmOne -benchtime 3s -benchmem -memprofile mem.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment