Skip to content

Commit

Permalink
add vtbenchstat binary
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Sep 18, 2024
1 parent 801412f commit 40796de
Show file tree
Hide file tree
Showing 6 changed files with 2,633 additions and 89 deletions.
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
.PHONY: all build test tidy clean
.PHONY: all build test tidy clean vitess-tester vtbenchstat

GO := go

default: build

build:
$(GO) build -o vitess-tester ./
build: vitess-tester vtbenchstat

vitess-tester:
$(GO) build -o $@ ./

vtbenchstat:
$(GO) build -o $@ ./src/cmd/vtbenchstat

test: build
$(GO) test -cover ./...
Expand All @@ -16,4 +21,4 @@ tidy:

clean:
$(GO) clean -i ./...
rm -rf vitess-tester
rm -f vitess-tester vtbenchstat
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ require (

require (
github.com/jstemmer/go-junit-report/v2 v2.1.0
github.com/olekukonko/tablewriter v0.0.5
golang.org/x/term v0.22.0
vitess.io/vitess v0.10.3-0.20240709144253-eb29999a3f47
)

Expand All @@ -19,7 +21,6 @@ require (
github.com/DataDog/datadog-agent/pkg/obfuscate v0.54.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.54.0 // indirect
github.com/DataDog/datadog-go/v5 v5.5.0 // indirect
github.com/DataDog/go-libddwaf/v2 v2.4.2 // indirect
github.com/DataDog/go-libddwaf/v3 v3.3.0 // indirect
github.com/DataDog/go-sqllexer v0.0.12 // indirect
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
Expand Down Expand Up @@ -63,6 +64,7 @@ require (
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
Expand All @@ -81,6 +83,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sagikazarmark/locafero v0.6.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.8.0 // indirect
Expand Down
Loading

0 comments on commit 40796de

Please sign in to comment.