Skip to content

Commit

Permalink
Update bench
Browse files Browse the repository at this point in the history
  • Loading branch information
smiasojed committed Apr 25, 2024
1 parent 3eaf8b7 commit b78bea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
for file in ${{ env.BENCHMARK_DIR }}/*/*.csv; do
# Extract contract name
contract_name=$(basename "$file" | sed 's/^.*_\(.*\)\.csv$/\1/')
benchmark_file=${contract_name}_bench.csv
benchmark_file=bench_${contract_name}.csv
if [ ! -f ${{ env.BENCHMARK_DIR }}/${benchmark_file} ]; then
curl -L -o ${{ env.BENCHMARK_DIR }}/${benchmark_file} ${{ env.BENCHMARK_URI }}/${benchmark_file}
fi
Expand All @@ -229,7 +229,7 @@ jobs:
- name: Generate graph
run: |
for file in ${{ env.BENCHMARK_DIR }}/*.csv; do
for file in ${{ env.BENCHMARK_DIR }}/bench_*.csv; do
contract_name=$(basename "$file" | sed 's/^.*_\(.*\)\.csv$/\1/')
pushd stats
./get_graph.sh --panel-id=2 --csv-data=../${file} --output=../${{ env.BENCHMARK_DIR }}/${contract_name}_stps.png
Expand Down

0 comments on commit b78bea0

Please sign in to comment.