Skip to content

Commit

Permalink
/usr/bin/time --verbose in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Jul 16, 2023
1 parent 5dc1ba0 commit edc5b54
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 @@ -196,7 +196,7 @@ jobs:
- name: Run performance benchmark
run: |
START_TIME=$(date +%s)
credsweeper --path data --save-json /dev/null
/usr/bin/time --verbose credsweeper --path data --save-json /dev/null
FINISH_TIME=$(date +%s)
RELEASE_TIME=$(( ${FINISH_TIME} - ${START_TIME} ))
if [ 0 -lt ${RELEASE_TIME} ]; then
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
- name: Run performance benchmark
run: |
START_TIME=$(date +%s)
credsweeper --path data --save-json /dev/null
/usr/bin/time --verbose credsweeper --path data --save-json /dev/null
FINISH_TIME=$(date +%s)
HEAD_TIME=$(( ${FINISH_TIME} - ${START_TIME} ))
if [ 0 -lt ${HEAD_TIME} ]; then
Expand Down

0 comments on commit edc5b54

Please sign in to comment.