From 2ab83626152e3b0d07e3b8a201e27b2e60e9a9f7 Mon Sep 17 00:00:00 2001 From: Naoki MATSUMOTO Date: Tue, 19 Mar 2024 22:49:33 +0900 Subject: [PATCH] tmp --- .github/workflows/test.yaml | 3 +-- tests/bench-log.py | 2 +- tests/bench.sh | 12 ++++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fc70086..f8e9694 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -134,7 +134,7 @@ jobs: benchmark-all: runs-on: ubuntu-22.04 needs: sync - timeout-minutes: 20 + timeout-minutes: 40 steps: - uses: actions/checkout@v4 - name: setup lxd @@ -252,7 +252,6 @@ jobs: libjs-* \ libllvm* \ nano \ - python3-* \ podman \ buildah \ skopeo \ diff --git a/tests/bench-log.py b/tests/bench-log.py index 8ba4201..32aa737 100644 --- a/tests/bench-log.py +++ b/tests/bench-log.py @@ -9,7 +9,7 @@ pull_csv = csv.writer(open("pull_log.csv", "w")) pull_download_csv = csv.writer(open("pull_download_log.csv", "w")) -images=["apach-root", "mysql-root", "nginx-root", "postgres-root", "redis-root"] +images=["apache", "mysql", "nginx", "postgres", "redis"] for image in images: with open("{}-{}.log".format(image, sys.argv[1])) as f: reader = csv.reader(f) diff --git a/tests/bench.sh b/tests/bench.sh index d19e3ac..874fefd 100755 --- a/tests/bench.sh +++ b/tests/bench.sh @@ -27,9 +27,9 @@ do done cd $RESULT_DIR -python ../bench-log.py benchmark -python ../bench-agg-di3fs.py di3fs_log.csv > di3fs.csv -python ../bench-agg-patch.py patch_log.csv > patch.csv -python ../bench-agg-merge.py merge_log.csv > merge.csv -python ../bench-agg-diff.py diff_binary_log.csv > diff_binary.csv -python ../bench-agg-diff.py diff_file_log.csv > diff_file.csv +python3 ../bench-log.py benchmark +python3 ../bench-agg-di3fs.py di3fs_log.csv > di3fs.csv +python3 ../bench-agg-patch.py patch_log.csv > patch.csv +python3 ../bench-agg-merge.py merge_log.csv > merge.csv +python3 ../bench-agg-diff.py diff_binary_log.csv > diff_binary.csv +python3 ../bench-agg-diff.py diff_file_log.csv > diff_file.csv