mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 02:15:11 -05:00
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:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user