Add benchmark result to GitHub PR (#2123)

* Add benchmark result to GitHub PR

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Post benchmark to comments

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Test Stuff

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update using jq.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2018-09-25 15:04:27 -07:00
committed by GitHub
parent 8d4378d712
commit a0396e2673
3 changed files with 15 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ ifeq ($(TEST_TYPE),benchmark)
( cd request; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
( cd core; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
( cd coremain; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
if command -v benchcmp; then benchcmp old new ; fi
if command -v benchcmp; then benchcmp old new > .benchmark.log ; cat .benchmark.log ; fi
git checkout -
endif