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

OSS Performance Tuning Tips

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
Avatar for orisano orisano
October 28, 2019

OSS Performance Tuning Tips

Avatar for orisano

orisano

October 28, 2019

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^