$30 off During Our Annual Pro Sale. View Details »

OSS Performance Tuning Tips

Avatar for orisano orisano
October 28, 2019

OSS Performance Tuning Tips

Avatar for orisano

orisano

October 28, 2019
Tweet

More Decks by orisano

Other Decks in Programming

Transcript

  1. git add . git commit -m “$2” REV=$(git rev-parse HEAD)

    go test -bench $1 -benchmem -cpuprofile cpu.${REV}.pb.gz -memprofile mem.$ {REV}.pb.gz | tee ${REV}.txt rm ./${REV}.* && git reset HEAD^