Skip to content

Commit

Permalink
GODRIVER-2898 Standardized performance testing (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez authored Oct 8, 2024
1 parent 27c2b66 commit 6057c7d
Show file tree
Hide file tree
Showing 23 changed files with 1,268 additions and 1,894 deletions.
5 changes: 3 additions & 2 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,11 @@ tasks:
commands:
- func: bootstrap-mongo-orchestration
vars:
VERSION: "v6.0-perf"
TOPOLOGY: "server"
AUTH: "noauth"
SSL: "nossl"
SKIP_LEGACY_SHELL: "true"
- func: run-task
vars:
targets: driver-benchmark
Expand Down Expand Up @@ -2172,8 +2174,7 @@ buildvariants:

- name: perf
display_name: "Performance"
run_on:
- rhel8.7-large
run_on: rhel90-dbx-perf-large
expansions:
GO_DIST: "/opt/golang/go1.22"
tasks:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ debug
*.sublime-workspace
driver-test-data.tar.gz
perf
perf.json
perf.suite
**mongocryptd.pid
*.test
.DS_Store
Expand Down
8 changes: 1 addition & 7 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,10 @@ tasks:
- go test ${BUILD_TAGS} -benchmem -bench=. ./benchmark | test benchmark.suite

driver-benchmark:
deps: [perf-files]
cmds:
- go run ./internal/cmd/benchmark | tee perf.suite
- go test ./internal/cmd/benchmark -v --fullRun | tee perf.suite

### Internal tasks. ###
perf-files:
internal: true
cmds:
- bash etc/prep-perf.sh

install-lll:
internal: true
cmds:
Expand Down
16 changes: 0 additions & 16 deletions etc/prep-perf.sh

This file was deleted.

Loading

0 comments on commit 6057c7d

Please sign in to comment.