benchline.sh 171 B

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