Skip to content

Commit

Permalink
Fix performance testing (#512)
Browse files Browse the repository at this point in the history
* Add performance test docker compose

* Add image setup
  • Loading branch information
Davidde94 authored Mar 26, 2021
1 parent 89f9bbf commit 8dde328
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/docker-compose.1804.52.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ services:

shell:
image: swift-nio-imap:18.04-5.2

performance-test:
image: swift-nio-imap:18.04-5.2
3 changes: 3 additions & 0 deletions docker/docker-compose.1804.53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ services:

shell:
image: swift-nio-imap:18.04-5.3

performance-test:
image: swift-nio-imap:18.04-5.3
3 changes: 3 additions & 0 deletions docker/docker-compose.2004.54.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ services:

shell:
image: swift-nio-imap:20.04-5.4

performance-test:
image: swift-nio-imap:20.04-5.4
4 changes: 4 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ services:
test:
<<: *common
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-}"

performance-test:
<<: *common
command: /bin/bash -xcl "swift build -c release -Xswiftc -Xllvm -Xswiftc -align-all-functions=5 -Xswiftc -Xllvm -Xswiftc -align-all-blocks=5 && ./.build/release/NIOIMAPPerformanceTester"

# util

Expand Down

0 comments on commit 8dde328

Please sign in to comment.