Go 1 · Testing and profiling

Run benchmarks

Run benchmarks and report memory allocations. Tests are skipped.

go test -bench=. -benchmem -run=^$ ./...

Official Go 1 documentation

More testing and profiling commands

All testing and profiling commands · Go 1 cheatsheet

Was this page helpful?