We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f8f1e commit 6694282Copy full SHA for 6694282
Makefile
@@ -1,2 +1,4 @@
1
protoc:
2
protoc --gogo_out=. shared/protobuf/*.proto
3
+bench:
4
+ CREATE_BENCHDATA=true go test -bench . -benchmem -cover ./...
store/store_test.go
@@ -19,7 +19,7 @@ import (
19
var benchmarkDB = fmt.Sprintf("benchmark_store_%d.db", time.Now().Unix())
20
21
func init() {
22
- if os.Getenv("CREATEBENCHDATA") != "true" {
+ if os.Getenv("CREATE_BENCHDATA") != "true" {
23
return
24
}
25
0 commit comments