mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
fix: run chmod +x to make script executable
This commit is contained in:
parent
d9d91bb9b3
commit
910870e2ac
1 changed files with 3 additions and 3 deletions
6
scripts/run-with-cachegrind.sh
Normal file → Executable file
6
scripts/run-with-cachegrind.sh
Normal file → Executable file
|
@ -100,10 +100,10 @@ for i in "${!TOTALS_ARRAY[@]}"; do
|
||||||
if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]]
|
if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]]
|
||||||
then # $OPS_PER_SEC is integer
|
then # $OPS_PER_SEC is integer
|
||||||
printf "%s#%s x %.0f %s ±%s (%d runs sampled)\n" \
|
printf "%s#%s x %.0f %s ±%s (%d runs sampled)\n" \
|
||||||
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
|
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
|
||||||
else # $OPS_PER_SEC is float
|
else # $OPS_PER_SEC is float
|
||||||
printf "%s#%s x %.10f %s ±%s (%d runs sampled)\n" \
|
printf "%s#%s x %.10f %s ±%s (%d runs sampled)\n" \
|
||||||
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
|
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue