mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debug WIP: Cleanup & changed used github token
This commit is contained in:
parent
d6c91d7dfc
commit
3d879994af
3 changed files with 4 additions and 4 deletions
2
.github/workflows/benchmark-cachegrind.yml
vendored
2
.github/workflows/benchmark-cachegrind.yml
vendored
|
@ -90,4 +90,4 @@ jobs:
|
|||
fail-on-alert: true
|
||||
comment-on-alert: true
|
||||
comment-always: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
|
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
|
@ -84,4 +84,4 @@ jobs:
|
|||
fail-on-alert: true
|
||||
comment-on-alert: true
|
||||
comment-always: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
|
|
@ -93,10 +93,10 @@ for i in "${!TOTALS_ARRAY[@]}"; do
|
|||
|
||||
if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]]
|
||||
then # $OPS_PER_SEC is integer
|
||||
printf "%s#%s x %.0f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \
|
||||
printf "%s#%s x %.0f %s ±%s (%d runs sampled)(%s)\n" \
|
||||
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION"
|
||||
else # $OPS_PER_SEC is float
|
||||
printf "%s#%s x %.10f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \
|
||||
printf "%s#%s x %.10f %s ±%s (%d runs sampled)(%s)\n" \
|
||||
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue