Skip to content
Prev Previous commit
Next Next commit
more thresholdes + docker
  • Loading branch information
dkz2 committed Oct 11, 2023
commit c8484af37bc309f7becce8e0050512f1918e4ef8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cpuTotal" : 0,
"mallocCountTotal" : 0,
"peakMemoryResident" : 21987328,
"throughput" : 3534847,
"wallClock" : 387
"peakMemoryResident" : 22409216,
"throughput" : 3391487,
"wallClock" : 535
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cpuTotal" : 0,
"mallocCountTotal" : 0,
"peakMemoryResident" : 22110208,
"throughput" : 2891775,
"wallClock" : 592
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cpuTotal" : 0,
"mallocCountTotal" : 0,
"peakMemoryResident" : 22077440,
"throughput" : 3291135,
"wallClock" : 504
}
Empty file.
41 changes: 41 additions & 0 deletions dev/update-benchmark-thresholds.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
##===----------------------------------------------------------------------===##
##
## This source file is part of the SwiftNIO open source project
##
## Copyright (c) 2023 Apple Inc. and the SwiftNIO project authors
## Licensed under Apache License v2.0
##
## See LICENSE.txt for license information
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
##
## SPDX-License-Identifier: Apache-2.0
##
##===----------------------------------------------------------------------===##
##===----------------------------------------------------------------------===##
##
## This source file is part of the SwiftCertificates open source project
##
## Copyright (c) 2023 Apple Inc. and the SwiftCertificates project authors
## Licensed under Apache License v2.0
##
## See LICENSE.txt for license information
## See CONTRIBUTORS.txt for the list of SwiftCertificates project authors
##
## SPDX-License-Identifier: Apache-2.0
##
##===----------------------------------------------------------------------===##

set -eu
set -o pipefail

here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
target_repo=${2-"$here/.."}

for f in 57 58 59 510 -nightly; do
echo "swift$f"

docker_file=$(if [[ "$f" == "-nightly" ]]; then f=main; fi && ls "$target_repo/docker/docker-compose."*"$f"*".yaml")

docker-compose -f docker/docker-compose.yaml -f $docker_file run update-benchmark-baseline
done
5 changes: 5 additions & 0 deletions docker/docker-compose.2204.58.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ services:

shell:
image: swift-memcache-gsoc:22.04-5.8

update-benchmark-baseline:
image: swift-memcache-gsoc:22.04-5.8
environment:
- SWIFT_VERSION=5.8
5 changes: 5 additions & 0 deletions docker/docker-compose.2204.59.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ services:

shell:
image: swift-memcache-gsoc:22.04-5.9

update-benchmark-baseline:
image: swift-memcache-gsoc:22.04-5.9
environment:
- SWIFT_VERSION=5.9
5 changes: 5 additions & 0 deletions docker/docker-compose.2204.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ services:

shell:
image: swift-memcache-gsoc:22.04-main

update-benchmark-baseline:
image: swift-memcache-gsoc:22.04-main
environment:
- SWIFT_VERSION=main