From a1486eec0c693416c306edda42652e1c98736abb Mon Sep 17 00:00:00 2001 From: Vittorio Parrella Date: Tue, 7 May 2024 00:06:17 +0200 Subject: [PATCH] fix results gen. --- .github/workflows/performance.yml | 4 +++- docker/speedtests/speed_test.go | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index c0955e56..40168446 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -83,7 +83,7 @@ jobs: strategy: max-parallel: 1 matrix: - backend: [ 'quic-go', 'quicly-go' ] + backend: [ 'quicly-go' ] cca: [ 'reno' ] slowstart: [ 'search' ] connection_delay_ms: [ 0, 500 ] @@ -129,6 +129,7 @@ jobs: exit 1 fi echo "CURRENT_RUN=${CURRENT_RUN}" >> $GITHUB_ENV + echo "Current run: ${CURRENT_RUN}" gh run download ${CURRENT_RUN} --repo ${{ env.BASE_REPO }} -p client_* gh run download ${CURRENT_RUN} --repo ${{ env.BASE_REPO }} -p server_* @@ -144,6 +145,7 @@ jobs: - name: Delete results artifacts if: success() run: | + echo "Current run: ${CURRENT_RUN}" if [[ "${CURRENT_RUN}" -eq "" ]]; then exit 1 fi diff --git a/docker/speedtests/speed_test.go b/docker/speedtests/speed_test.go index 6493295f..8e85c148 100644 --- a/docker/speedtests/speed_test.go +++ b/docker/speedtests/speed_test.go @@ -148,7 +148,7 @@ func (s *SpeedTestsConfigSuite) TestRun() { var totalBytesInTimeDelta int64 = 0 var start = time.Now() - var buff = make([]byte, 4096) + var buff = make([]byte, 512*1024) ctx, cancel := context.WithCancel(context.Background()) go idlingTimeout(resp.Body, cancel, &flagActivity, &toRead, idleTimeout) @@ -161,7 +161,7 @@ func (s *SpeedTestsConfigSuite) TestRun() { default: } - rd := io.LimitReader(resp.Body, 4096) + rd := io.LimitReader(resp.Body, 512*1024) read, err := rd.Read(buff) if err != nil && err != io.EOF { if nErr, ok := err.(net.Error); ok && nErr.Timeout() {