Skip to content

Commit 7e7471a

Browse files
adding notes
1 parent 001e112 commit 7e7471a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

topics/go/profiling/memcpu/stream_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// All material is licensed under the Apache License Version 2.0, January 2004
22
// http://www.apache.org/licenses/LICENSE-2.0
33

4-
// go test -bench . -benchmem -memprofile p.out -gcflags "-newescape=false -m=2"
4+
// go test -bench . -benchmem -memprofile p.out -gcflags -m=2
5+
// go tool pprof -noinlines p.out
56

67
// Tests to see how each algorithm compare.
78
package main

0 commit comments

Comments
 (0)