Skip to content

Commit f198863

Browse files
GODRIVER-2898 Standardize performance testing
1 parent 277bceb commit f198863

22 files changed

+1407
-1909
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ debug
99
*.sublime-workspace
1010
driver-test-data.tar.gz
1111
perf
12+
perf.json
13+
perf.suite
1214
**mongocryptd.pid
1315
*.test
1416
.DS_Store

Taskfile.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,10 @@ tasks:
174174
- go test ${BUILD_TAGS} -benchmem -bench=. ./benchmark | test benchmark.suite
175175

176176
driver-benchmark:
177-
deps: [perf-files]
178177
cmds:
179-
- go run ./internal/cmd/benchmark | tee perf.suite
178+
- go test ./internal/cmd/benchmark -v --failOnErr | tee perf.suite
180179

181180
### Internal tasks. ###
182-
perf-files:
183-
internal: true
184-
cmds:
185-
- bash etc/prep-perf.sh
186-
187181
install-lll:
188182
internal: true
189183
cmds:
@@ -194,4 +188,4 @@ tasks:
194188
install-golangci-lint:
195189
internal: true
196190
cmds:
197-
- go install github.com/golangci/golangci-lint/cmd/[email protected]
191+
- go install github.com/golangci/golangci-lint/cmd/[email protected]

etc/prep-perf.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)