Skip to content

Commit

Permalink
Merge pull request objectionary#202 from h1alexbel/198
Browse files Browse the repository at this point in the history
fix(objectionary#198): lint timings sorted by ms
  • Loading branch information
yegor256 authored Jan 3, 2025
2 parents 3e1a672 + c98b769 commit 0b812a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ jobs:
header=false
continue
fi
printf "%s (%s ms)\n" "$(echo "$id" | tr -d '"')" "$(echo "$ms" | tr -d '"')"
printf "%s,%s\n" "$(echo "$id" | tr -d '"')" "$(echo "$ms" | tr -d '"')"
fi
done < target/timings.csv
printf "\n\n"
done < target/timings.csv | sort -t, -k2 -n -r | while IFS=, read -r id ms; do
printf "%s (%s ms)\n" "$id" "$ms"
done
printf "\`\`\`\n\n"
echo "The results were calculated in [this GHA job][benchmark-gha]"
echo "on $(date +'%Y-%m-%d') at $(date +'%H:%M'),"
Expand Down

0 comments on commit 0b812a4

Please sign in to comment.