Skip to content

Commit

Permalink
merge speed and memory data
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfsn committed Jul 25, 2024
1 parent e03db9f commit d40f079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/run_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ jobs:
cp ../benchmarks-data-result/images.yaml .
./runSpeed.sh -t "tests/" -c "$CLIENT" -r "$REPETITIONS" -o "results-$DATE/speed" -s "$SIZE"
python3 report_metadata.py "$DATE" speed
cp "results-$DATE/speed/reports/speed.html" "../benchmarks-data-result/genesis-init-speed/$DATE.html"
cp "results-$DATE/speed/reports/speed.json" "../benchmarks-data-result/genesis-init-speed/$DATE.json"
cp "results-$DATE/speed/reports/metadata.json" "../benchmarks-data-result/genesis-init-speed/$DATE.metadata.json"
cp "results-$DATE/speed/reports/speed.html" "../benchmarks-data-result/genesis-data/$DATE.speed.html"
cp "results-$DATE/speed/reports/speed.json" "../benchmarks-data-result/genesis-data/$DATE.speed.json"
cp "results-$DATE/speed/reports/metadata.json" "../benchmarks-data-result/genesis-data/$DATE.metadata.json"
set -e
EOF
Expand Down Expand Up @@ -249,9 +249,11 @@ jobs:
cp ../benchmarks-data-result/images.yaml .
./runMemory.sh -t "tests/" -c "$CLIENT" -r "$REPETITIONS" -o "results-$DATE/memory" -s "$SIZE"
python3 report_metadata.py "$DATE" memory
cp "results-$DATE/memory/reports/memory.html" "../benchmarks-data-result/genesis-init-memory/$DATE.html"
cp "results-$DATE/memory/reports/memory.json" "../benchmarks-data-result/genesis-init-memory/$DATE.json"
cp "results-$DATE/memory/reports/metadata.json" "../benchmarks-data-result/genesis-init-memory/$DATE.metadata.json"
cp "results-$DATE/memory/reports/memory.html" "../benchmarks-data-result/genesis-data/$DATE.memory.html"
cp "results-$DATE/memory/reports/memory.json" "../benchmarks-data-result/genesis-data/$DATE.memory.json"
cp "results-$DATE/memory/reports/metadata.json" "../benchmarks-data-result/genesis-data/$DATE.metadata.json"
python3 merge_result.py "$DATE"
cp "results-$DATE/result.json" "../benchmarks-data-result/genesis-data/$DATE.json"
set -e
EOF
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
run-gas-benchmarks:
runs-on: ubuntu-latest
timeout-minutes: 360
needs: generate-matrix
outputs:
matrix: ${{ needs.generate-matrix.outputs.matrix }}
Expand Down

0 comments on commit d40f079

Please sign in to comment.