Skip to content

Commit 6694282

Browse files
committed
Update Makefile
1 parent a9f8f1e commit 6694282

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
protoc:
22
protoc --gogo_out=. shared/protobuf/*.proto
3+
bench:
4+
CREATE_BENCHDATA=true go test -bench . -benchmem -cover ./...

store/store_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
var benchmarkDB = fmt.Sprintf("benchmark_store_%d.db", time.Now().Unix())
2020

2121
func init() {
22-
if os.Getenv("CREATEBENCHDATA") != "true" {
22+
if os.Getenv("CREATE_BENCHDATA") != "true" {
2323
return
2424
}
2525

0 commit comments

Comments
 (0)