Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Oct 4, 2024
1 parent f1fcb2d commit 9271b38
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
workflow_dispatch:
branches:
- "**"
#TODO REMOVE PR EXECUTION
push:
branches: [develop, main]
pull_request:
branches:
- "**"
Expand Down Expand Up @@ -40,18 +37,13 @@ jobs:
path: ./
if_no_artifact_found: ignore

- name: Initialise the results file if necessary
run: |
ls -la ./
cat ./proving_benchmark_results.txt
printf ' TIME \n' > ./proving_benchmark_results.txt
- name: Run the script
# TODO - run the benchmark with 20 blocks file
run: |
echo "Benchmarking proving with $BENCHMARK_WITNESS"
./scripts/benchmark_input.sh $BENCHMARK_WITNESS | tee benchmark_output.log
MEASURED_PROVING_TIME_SEC=`cat benchmark_output.log | grep 'Proving duration:' | tail -1 | awk '{ print int($3)}'`
printf 'TIME PROVING LENGTH(s) CPU CYCLES\n' > proving_benchmark_results.txt
printf '%s sec: %10s %s\n' `date --utc +%y-%m-%d-%H:%M:%S` $MEASURED_PROVING_TIME_SEC $BENCHMARK_WITNESS >> proving_benchmark_results.txt
- name: Upload new results
Expand Down

0 comments on commit 9271b38

Please sign in to comment.