Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OSS Performance Tuning Tips

orisano
October 28, 2019

OSS Performance Tuning Tips

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^