benchspin.sh 153 B

123456
  1. #!/bin/bash
  2. go test -bench=BenchmarkSpin -benchmem -memprofile memory.out -cpuprofile cpu.out
  3. echo go tool pprof memory.out
  4. echo go tool pprof cpu.out