profiling/memory/memory.go (5 lines of code) (raw):

package memory func memory() { InefficientAppend(10_000_000) EfficientAppend(10_000_000) }