Skip to content

Commit

Permalink
add -benchmem flag for bench in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chengshiwen committed Aug 14, 2024
1 parent 6a3da52 commit e89d1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test:
go test -v github.com/chengshiwen/influx-proxy/backend

bench:
go test -bench=. -run=none github.com/chengshiwen/influx-proxy/backend
go test -bench=. -benchmem -run=none github.com/chengshiwen/influx-proxy/backend

run:
go run main.go
Expand Down

0 comments on commit e89d1ce

Please sign in to comment.